Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-05-05 03:16:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from SimCalorimetry.HGCalSimProducers.hgcHitAssociation_cfi import lcAssocByEnergyScoreProducer, scAssocByEnergyScoreProducer
0004 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi import layerClusterCaloParticleAssociation as layerClusterCaloParticleAssociationProducer
0005 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi import layerClusterSimClusterAssociation as layerClusterSimClusterAssociationProducer
0006 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi import layerClusterCaloParticleAssociationHFNose as layerClusterCaloParticleAssociationProducerHFNose
0007 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi import layerClusterSimClusterAssociationHFNose as layerClusterSimClusterAssociationProducerHFNose
0008 
0009 from Validation.HGCalValidation.simhitValidation_cff    import *
0010 from Validation.HGCalValidation.digiValidation_cff      import *
0011 from Validation.HGCalValidation.rechitValidation_cff    import *
0012 from Validation.HGCalValidation.hgcalHitValidation_cff  import *
0013 from RecoHGCal.TICL.SimTracksters_cff import *
0014 
0015 from Validation.HGCalValidation.HGCalValidator_cfi import hgcalValidator
0016 from Validation.RecoParticleFlow.PFJetValidation_cff import pfJetValidation1 as _hgcalPFJetValidation
0017 
0018 from Validation.HGCalValidation.ticlPFValidation_cfi import ticlPFValidation
0019 hgcalTiclPFValidation = cms.Sequence(ticlPFValidation)
0020 
0021 from Validation.HGCalValidation.ticlTrackstersEdgesValidation_cfi import ticlTrackstersEdgesValidation
0022 hgcalTiclTrackstersEdgesValidationSequence = cms.Sequence(ticlTrackstersEdgesValidation)
0023 
0024 hgcalValidatorSequence = cms.Sequence(hgcalValidator)
0025 hgcalPFJetValidation = _hgcalPFJetValidation.clone(BenchmarkLabel = 'PFJetValidation/HGCAlCompWithGenJet',
0026     VariablePtBins=[10., 30., 80., 120., 250., 600.],
0027     DeltaPtOvPtHistoParameter = dict(EROn=True,EREtaMax=3.0, EREtaMin=1.6, slicingOn=True))
0028 
0029 hgcalAssociators = cms.Task(lcAssocByEnergyScoreProducer, layerClusterCaloParticleAssociationProducer,
0030                             scAssocByEnergyScoreProducer, layerClusterSimClusterAssociationProducer,
0031                             )
0032 
0033 hgcalValidation = cms.Sequence(hgcalSimHitValidationEE
0034                                + hgcalSimHitValidationHEF
0035                                + hgcalSimHitValidationHEB
0036                                + hgcalDigiValidationEE
0037                                + hgcalDigiValidationHEF
0038                                + hgcalDigiValidationHEB
0039                                + hgcalRecHitValidationEE
0040                                + hgcalRecHitValidationHEF
0041                                + hgcalRecHitValidationHEB
0042                                + hgcalHitValidationSequence
0043                                + hgcalValidatorSequence
0044                                + hgcalTiclPFValidation
0045                                #Currently commented out until trackster edges are saved
0046 #                               + hgcalTiclTrackstersEdgesValidationSequence
0047                                + hgcalPFJetValidation)
0048 
0049 _hfnose_hgcalAssociatorsTask = hgcalAssociators.copy()
0050 _hfnose_hgcalAssociatorsTask.add(layerClusterCaloParticleAssociationProducerHFNose, layerClusterSimClusterAssociationProducerHFNose)