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
24 from Validation.HGCalValidation.ticlPFValidation_cfi
import ticlPFValidation
25 hgcalTiclPFValidation = cms.Sequence(ticlPFValidation)
27 from Validation.HGCalValidation.ticlTrackstersEdgesValidation_cfi
import ticlTrackstersEdgesValidation
28 hgcalTiclTrackstersEdgesValidationSequence = cms.Sequence(ticlTrackstersEdgesValidation)
30 hgcalValidatorSequence = cms.Sequence(hgcalValidator)
31 hgcalPFJetValidation = _hgcalPFJetValidation.clone(BenchmarkLabel =
'PFJetValidation/HGCAlCompWithGenJet',
32 VariablePtBins=[10., 30., 80., 120., 250., 600.],
33 DeltaPtOvPtHistoParameter = dict(EROn=
True,EREtaMax=3.0, EREtaMin=1.6, slicingOn=
True))
35 hgcalAssociators = cms.Task(lcAssocByEnergyScoreProducer, layerClusterCaloParticleAssociationProducer,
36 scAssocByEnergyScoreProducer, layerClusterSimClusterAssociationProducer,
37 lcSimTSAssocByEnergyScoreProducer, layerClusterSimTracksterAssociationProducer,
38 simTsAssocByEnergyScoreProducer, simTracksterHitLCAssociatorByEnergyScoreProducer,
39 tracksterSimTracksterAssociationLinking, tracksterSimTracksterAssociationPR,
40 tracksterSimTracksterAssociationLinkingbyCLUE3D, tracksterSimTracksterAssociationPRbyCLUE3D,
41 tracksterSimTracksterAssociationLinkingPU, tracksterSimTracksterAssociationPRPU
44 hgcalValidation = cms.Sequence(hgcalSimHitValidationEE
45 + hgcalSimHitValidationHEF
46 + hgcalSimHitValidationHEB
47 + hgcalDigiValidationEE
48 + hgcalDigiValidationHEF
49 + hgcalDigiValidationHEB
50 + hgcalRecHitValidationEE
51 + hgcalRecHitValidationHEF
52 + hgcalRecHitValidationHEB
53 + hgcalHitValidationSequence
54 + hgcalValidatorSequence
55 + hgcalTiclPFValidation
58 + hgcalPFJetValidation)
60 _hfnose_hgcalAssociatorsTask = hgcalAssociators.copy()
61 _hfnose_hgcalAssociatorsTask.add(layerClusterCaloParticleAssociationProducerHFNose, layerClusterSimClusterAssociationProducerHFNose)