1 import FWCore.ParameterSet.Config
as cms
3 from SimCalorimetry.HGCalSimProducers.hgcHitAssociation_cfi
import lcAssocByEnergyScoreProducer, scAssocByEnergyScoreProducer
4 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi
import layerClusterCaloParticleAssociation
as layerClusterCaloParticleAssociationProducer
5 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi
import layerClusterSimClusterAssociation
as layerClusterSimClusterAssociationProducer
6 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi
import layerClusterCaloParticleAssociationHFNose
as layerClusterCaloParticleAssociationProducerHFNose
7 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi
import layerClusterSimClusterAssociationHFNose
as layerClusterSimClusterAssociationProducerHFNose
18 from Validation.HGCalValidation.ticlPFValidation_cfi
import ticlPFValidation
19 hgcalTiclPFValidation = cms.Sequence(ticlPFValidation)
21 from Validation.HGCalValidation.ticlTrackstersEdgesValidation_cfi
import ticlTrackstersEdgesValidation
22 hgcalTiclTrackstersEdgesValidationSequence = cms.Sequence(ticlTrackstersEdgesValidation)
24 hgcalValidatorSequence = cms.Sequence(hgcalValidator)
25 hgcalPFJetValidation = _hgcalPFJetValidation.clone(BenchmarkLabel =
'PFJetValidation/HGCAlCompWithGenJet',
26 VariablePtBins=[10., 30., 80., 120., 250., 600.],
27 DeltaPtOvPtHistoParameter = dict(EROn=
True,EREtaMax=3.0, EREtaMin=1.6, slicingOn=
True))
29 hgcalAssociators = cms.Task(lcAssocByEnergyScoreProducer, layerClusterCaloParticleAssociationProducer,
30 scAssocByEnergyScoreProducer, layerClusterSimClusterAssociationProducer,
33 hgcalValidation = cms.Sequence(hgcalSimHitValidationEE
34 + hgcalSimHitValidationHEF
35 + hgcalSimHitValidationHEB
36 + hgcalDigiValidationEE
37 + hgcalDigiValidationHEF
38 + hgcalDigiValidationHEB
39 + hgcalRecHitValidationEE
40 + hgcalRecHitValidationHEF
41 + hgcalRecHitValidationHEB
42 + hgcalHitValidationSequence
43 + hgcalValidatorSequence
44 + hgcalTiclPFValidation
47 + hgcalPFJetValidation)
49 _hfnose_hgcalAssociatorsTask = hgcalAssociators.copy()
50 _hfnose_hgcalAssociatorsTask.add(layerClusterCaloParticleAssociationProducerHFNose, layerClusterSimClusterAssociationProducerHFNose)