CMS 3D CMS Logo

hgcalSimValid_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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
8 
14 
15 from Validation.HGCalValidation.HGCalValidator_cfi import hgcalValidator
16 from Validation.RecoParticleFlow.PFJetValidation_cff import pfJetValidation1 as _hgcalPFJetValidation
17 
18 from Validation.HGCalValidation.ticlPFValidation_cfi import ticlPFValidation
19 hgcalTiclPFValidation = cms.Sequence(ticlPFValidation)
20 
21 from Validation.HGCalValidation.ticlTrackstersEdgesValidation_cfi import ticlTrackstersEdgesValidation
22 hgcalTiclTrackstersEdgesValidationSequence = cms.Sequence(ticlTrackstersEdgesValidation)
23 
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))
28 
29 hgcalAssociators = cms.Task(lcAssocByEnergyScoreProducer, layerClusterCaloParticleAssociationProducer,
30  scAssocByEnergyScoreProducer, layerClusterSimClusterAssociationProducer,
31  )
32 
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
45  #Currently commented out until trackster edges are saved
46 # + hgcalTiclTrackstersEdgesValidationSequence
47  + hgcalPFJetValidation)
48 
49 _hfnose_hgcalAssociatorsTask = hgcalAssociators.copy()
50 _hfnose_hgcalAssociatorsTask.add(layerClusterCaloParticleAssociationProducerHFNose, layerClusterSimClusterAssociationProducerHFNose)
PFJetValidation_cff
rechitValidation_cff
simhitValidation_cff
HGCalValidator_cfi
digiValidation_cff
SimTracksters_cff
hgcalHitValidation_cff