1 import FWCore.ParameterSet.Config
as cms
3 from SimCalorimetry.HGCalSimProducers.hgcHitAssociation_cfi
import lcAssocByEnergyScoreProducer, scAssocByEnergyScoreProducer
4 from SimCalorimetry.HGCalAssociatorProducers.simTracksterAssociatorByEnergyScore_cfi
import simTracksterAssociatorByEnergyScore
as simTsAssocByEnergyScoreProducer
5 from SimCalorimetry.HGCalAssociatorProducers.layerClusterSimTracksterAssociatorByEnergyScore_cfi
import layerClusterSimTracksterAssociatorByEnergyScore
as lcSimTSAssocByEnergyScoreProducer
6 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi
import layerClusterCaloParticleAssociation
as layerClusterCaloParticleAssociationProducer
7 from SimCalorimetry.HGCalAssociatorProducers.simTracksterHitLCAssociatorByEnergyScore_cfi
import simTracksterHitLCAssociatorByEnergyScore
as simTracksterHitLCAssociatorByEnergyScoreProducer
8 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi
import layerClusterSimClusterAssociation
as layerClusterSimClusterAssociationProducer
9 from SimCalorimetry.HGCalAssociatorProducers.LCToSimTSAssociation_cfi
import layerClusterSimTracksterAssociation
as layerClusterSimTracksterAssociationProducer
10 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi
import layerClusterCaloParticleAssociationHFNose
as layerClusterCaloParticleAssociationProducerHFNose
11 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi
import layerClusterSimClusterAssociationHFNose
as layerClusterSimClusterAssociationProducerHFNose
12 from SimCalorimetry.HGCalAssociatorProducers.TSToSimTSAssociation_cfi
import tracksterSimTracksterAssociationLinking, tracksterSimTracksterAssociationPR,tracksterSimTracksterAssociationLinkingbyCLUE3D, tracksterSimTracksterAssociationPRbyCLUE3D, tracksterSimTracksterAssociationLinkingPU, tracksterSimTracksterAssociationPRPU
25 from Validation.HGCalValidation.ticlPFValidation_cfi
import ticlPFValidation
26 hgcalTiclPFValidation = cms.Sequence(ticlPFValidation)
28 from Validation.HGCalValidation.ticlTrackstersEdgesValidation_cfi
import ticlTrackstersEdgesValidation
29 hgcalTiclTrackstersEdgesValidationSequence = cms.Sequence(ticlTrackstersEdgesValidation)
31 hgcalValidatorSequence = cms.Sequence(hgcalValidator)
32 hgcalPFJetValidation = _hgcalPFJetValidation.clone(BenchmarkLabel =
'PFJetValidation/HGCAlCompWithGenJet',
33 VariablePtBins=[10., 30., 80., 120., 250., 600.],
34 DeltaPtOvPtHistoParameter = dict(EROn=
True,EREtaMax=3.0, EREtaMin=1.6, slicingOn=
True))
36 hgcalAssociators = cms.Task(lcAssocByEnergyScoreProducer, layerClusterCaloParticleAssociationProducer,
37 scAssocByEnergyScoreProducer, layerClusterSimClusterAssociationProducer,
38 lcSimTSAssocByEnergyScoreProducer, layerClusterSimTracksterAssociationProducer,
39 simTsAssocByEnergyScoreProducer, simTracksterHitLCAssociatorByEnergyScoreProducer,
40 tracksterSimTracksterAssociationLinking, tracksterSimTracksterAssociationPR,
41 tracksterSimTracksterAssociationLinkingbyCLUE3D, tracksterSimTracksterAssociationPRbyCLUE3D,
42 tracksterSimTracksterAssociationLinkingPU, tracksterSimTracksterAssociationPRPU,
46 hgcalValidation = cms.Sequence(hgcalSimHitValidationEE
47 + hgcalSimHitValidationHEF
48 + hgcalSimHitValidationHEB
49 + hgcalDigiValidationEE
50 + hgcalDigiValidationHEF
51 + hgcalDigiValidationHEB
52 + hgcalRecHitValidationEE
53 + hgcalRecHitValidationHEF
54 + hgcalRecHitValidationHEB
55 + hgcalHitValidationSequence
56 + hgcalValidatorSequence
57 + hgcalTiclPFValidation
60 + hgcalPFJetValidation)
62 _hfnose_hgcalAssociatorsTask = hgcalAssociators.copy()
63 _hfnose_hgcalAssociatorsTask.add(layerClusterCaloParticleAssociationProducerHFNose, layerClusterSimClusterAssociationProducerHFNose)