1 import FWCore.ParameterSet.Config
as cms
6 from SimCalorimetry.HGCalAssociatorProducers.LCToCPAssociation_cfi
import layerClusterCaloParticleAssociation
7 from SimCalorimetry.HGCalAssociatorProducers.LCToSCAssociation_cfi
import layerClusterSimClusterAssociation
9 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
13 labelTst = [cms.InputTag(
"ticlTracksters"+iteration)
for iteration
in ticlIterLabelsMerge]
14 labelTst.extend([cms.InputTag(
"ticlSimTracksters",
"fromCPs"), cms.InputTag(
"ticlSimTracksters")])
15 lcInputMask = [cms.InputTag(
"ticlTracksters"+iteration)
for iteration
in ticlIterLabels]
16 lcInputMask.extend([cms.InputTag(
"ticlSimTracksters",
"fromCPs"), cms.InputTag(
"ticlSimTracksters")])
22 CaloParticleSelectionForEfficiency,
26 label_lcl = layerClusterCaloParticleAssociation.label_lc,
27 label_tst = cms.VInputTag(labelTst),
28 label_simTS = cms.InputTag(
"ticlSimTracksters"),
29 label_simTSFromCP = cms.InputTag(
"ticlSimTracksters",
"fromCPs"),
31 associator = cms.untracked.InputTag(
"layerClusterCaloParticleAssociationProducer"),
33 associatorSim = cms.untracked.InputTag(
"layerClusterSimClusterAssociationProducer"),
36 SaveGeneralInfo = cms.untracked.bool(
True),
38 doCaloParticlePlots = cms.untracked.bool(
True),
40 doCaloParticleSelection = cms.untracked.bool(
True),
42 doSimClustersPlots = cms.untracked.bool(
True),
43 label_SimClusters = cms.InputTag(
"SimClusters"),
44 label_SimClustersLevel = cms.InputTag(
"ClusterLevel"),
46 doLayerClustersPlots = cms.untracked.bool(
True),
47 label_layerClusterPlots = cms.InputTag(
"hgcalLayerClusters"),
48 label_LCToCPLinking = cms.InputTag(
"LCToCP_association"),
50 doTrackstersPlots = cms.untracked.bool(
True),
51 label_TS = cms.string(
"Morphology"),
52 label_TSToCPLinking = cms.string(
"TSToCP_linking"),
53 label_TSToSTSPR = cms.string(
"TSToSTS_patternRecognition"),
58 cummatbudinxo = cms.FileInPath(
'Validation/HGCalValidation/data/D41.cumulative.xo'),
61 label_cp_effic = layerClusterCaloParticleAssociation.label_cp,
62 label_cp_fake = cms.InputTag(
"mix",
"MergedCaloTruth"),
64 label_scl = layerClusterSimClusterAssociation.label_scl,
66 simVertices = cms.InputTag(
"g4SimHits"),
68 LayerClustersInputMask = cms.VInputTag(lcInputMask),
72 totallayers_to_monitor = cms.int32(52),
74 thicknesses_to_monitor = cms.vint32(120,200,300,-1),
77 histoProducerAlgoBlock = HGVHistoProducerAlgoBlock,
80 dirName = cms.string(
'HGCAL/HGCalValidator/')
84 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
85 premix_stage2.toModify(hgcalValidator,
86 label_cp_fake =
"mixData:MergedCaloTruth" 89 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
90 phase2_hgcalV10.toModify(hgcalValidator, totallayers_to_monitor = cms.int32(50))
92 from Configuration.Eras.Modifier_phase2_hgcalV16_cff
import phase2_hgcalV16
93 phase2_hgcalV16.toModify(hgcalValidator, totallayers_to_monitor = cms.int32(47))