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
9 from RecoHGCal.TICL.mergedTrackstersProducer_cfi
import mergedTrackstersProducer
as _mergedTrackstersProducer
14 from SimCalorimetry.HGCalAssociatorProducers.LCToTSAssociator_cfi
import allLayerClusterToTracksterAssociations
16 from SimCalorimetry.HGCalAssociatorProducers.TSToSimTSAssociation_cfi
import allTrackstersToSimTrackstersAssociationsByLCs
17 from SimCalorimetry.HGCalAssociatorProducers.TSToSimTSAssociationByHits_cfi
import allTrackstersToSimTrackstersAssociationsByHits
18 from SimCalorimetry.HGCalAssociatorProducers.hitToSimClusterCaloParticleAssociator_cfi
import hitToSimClusterCaloParticleAssociator
19 from SimCalorimetry.HGCalAssociatorProducers.SimClusterToCaloParticleAssociation_cfi
import SimClusterToCaloParticleAssociation
32 from Validation.HGCalValidation.ticlPFValidation_cfi
import ticlPFValidation
33 hgcalTiclPFValidation = cms.Sequence(ticlPFValidation)
35 from Validation.HGCalValidation.ticlTrackstersEdgesValidation_cfi
import ticlTrackstersEdgesValidation
36 hgcalTiclTrackstersEdgesValidationSequence = cms.Sequence(ticlTrackstersEdgesValidation)
38 hgcalValidatorSequence = cms.Sequence(hgcalValidator)
39 hgcalPFJetValidation = _hgcalPFJetValidation.clone(BenchmarkLabel =
'PFJetValidation/HGCAlCompWithGenJet',
40 VariablePtBins=[10., 30., 80., 120., 250., 600.],
41 DeltaPtOvPtHistoParameter = dict(EROn=
True,EREtaMax=3.0, EREtaMin=1.6, slicingOn=
True))
43 hgcalAssociators = cms.Task(lcAssocByEnergyScoreProducer, layerClusterCaloParticleAssociationProducer,
44 scAssocByEnergyScoreProducer, layerClusterSimClusterAssociationProducer,
49 allLayerClusterToTracksterAssociations, allHitToTracksterAssociations, allTrackstersToSimTrackstersAssociationsByLCs, allTrackstersToSimTrackstersAssociationsByHits,
52 hitToSimClusterCaloParticleAssociator,
53 SimClusterToCaloParticleAssociation,
56 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
57 from Configuration.ProcessModifiers.ticl_superclustering_mustache_pf_cff
import ticl_superclustering_mustache_pf
60 hgcalValidation = cms.Sequence(hgcalSimHitValidationEE
61 + hgcalSimHitValidationHEF
62 + hgcalSimHitValidationHEB
63 + hgcalDigiValidationEE
64 + hgcalDigiValidationHEF
65 + hgcalDigiValidationHEB
66 + hgcalRecHitValidationEE
67 + hgcalRecHitValidationHEF
68 + hgcalRecHitValidationHEB
69 + hgcalHitValidationSequence
70 + hgcalValidatorSequence
71 + hgcalTiclPFValidation
74 + hgcalPFJetValidation)
76 _hfnose_hgcalAssociatorsTask = hgcalAssociators.copy()
77 _hfnose_hgcalAssociatorsTask.add(layerClusterCaloParticleAssociationProducerHFNose, layerClusterSimClusterAssociationProducerHFNose)