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 labelMcl = [cms.InputTag(
"ticlMultiClustersFromTracksters"+iteration)
for iteration
in ticlIterLabelsMerge]
14 labelMcl.extend([
"ticlMultiClustersFromSimTracksters"])
15 lcInputMask = [cms.InputTag(
"ticlTracksters"+iteration)
for iteration
in ticlIterLabels]
16 lcInputMask.extend([
"ticlSimTracksters"])
22 CaloParticleSelectionForEfficiency,
26 label_lcl = layerClusterCaloParticleAssociation.label_lc,
27 label_mcl = cms.VInputTag(labelMcl),
29 associator = cms.untracked.InputTag(
"layerClusterCaloParticleAssociationProducer"),
31 associatorSim = cms.untracked.InputTag(
"layerClusterSimClusterAssociationProducer"),
34 SaveGeneralInfo = cms.untracked.bool(
True),
36 doCaloParticlePlots = cms.untracked.bool(
True),
38 doCaloParticleSelection = cms.untracked.bool(
True),
40 doSimClustersPlots = cms.untracked.bool(
True),
42 doLayerClustersPlots = cms.untracked.bool(
True),
44 doMultiClustersPlots = cms.untracked.bool(
True),
49 cummatbudinxo = cms.FileInPath(
'Validation/HGCalValidation/data/D41.cumulative.xo'),
52 label_cp_effic = layerClusterCaloParticleAssociation.label_cp,
53 label_cp_fake = cms.InputTag(
"mix",
"MergedCaloTruth"),
55 label_scl = layerClusterSimClusterAssociation.label_scl,
57 simVertices = cms.InputTag(
"g4SimHits"),
59 LayerClustersInputMask = cms.VInputTag(lcInputMask),
63 totallayers_to_monitor = cms.int32(52),
65 thicknesses_to_monitor = cms.vint32(120,200,300,-1),
68 histoProducerAlgoBlock = HGVHistoProducerAlgoBlock,
71 dirName = cms.string(
'HGCAL/HGCalValidator/')
75 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
76 premix_stage2.toModify(hgcalValidator,
77 label_cp_fake =
"mixData:MergedCaloTruth"
80 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
81 phase2_hgcalV10.toModify(hgcalValidator, totallayers_to_monitor = cms.int32(50))