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([
"ticlSimTracksters"])
15 lcInputMask = [cms.InputTag(
"ticlTracksters"+iteration)
for iteration
in ticlIterLabels]
16 lcInputMask.extend([
"ticlSimTracksters"])
22 CaloParticleSelectionForEfficiency,
26 label_lcl = layerClusterCaloParticleAssociation.label_lc,
27 label_tst = cms.VInputTag(labelTst),
28 label_simTSFromCP = cms.InputTag(
"ticlSimTracksters",
"fromCPs"),
30 associator = cms.untracked.InputTag(
"layerClusterCaloParticleAssociationProducer"),
32 associatorSim = cms.untracked.InputTag(
"layerClusterSimClusterAssociationProducer"),
35 SaveGeneralInfo = cms.untracked.bool(
True),
37 doCaloParticlePlots = cms.untracked.bool(
True),
39 doCaloParticleSelection = cms.untracked.bool(
True),
41 doSimClustersPlots = cms.untracked.bool(
True),
42 label_SimClusters = cms.InputTag(
"SimClusters"),
43 label_SimClustersLevel = cms.InputTag(
"ClusterLevel"),
45 doLayerClustersPlots = cms.untracked.bool(
True),
46 label_layerClusterPlots = cms.InputTag(
"hgcalLayerClusters"),
47 label_LCToCPLinking = cms.InputTag(
"LCToCP_association"),
49 doTrackstersPlots = cms.untracked.bool(
True),
50 label_TSToCPLinking = cms.InputTag(
"TSToCP_linking"),
55 cummatbudinxo = cms.FileInPath(
'Validation/HGCalValidation/data/D41.cumulative.xo'),
58 label_cp_effic = layerClusterCaloParticleAssociation.label_cp,
59 label_cp_fake = cms.InputTag(
"mix",
"MergedCaloTruth"),
61 label_scl = layerClusterSimClusterAssociation.label_scl,
63 simVertices = cms.InputTag(
"g4SimHits"),
65 LayerClustersInputMask = cms.VInputTag(lcInputMask),
69 totallayers_to_monitor = cms.int32(52),
71 thicknesses_to_monitor = cms.vint32(120,200,300,-1),
74 histoProducerAlgoBlock = HGVHistoProducerAlgoBlock,
77 dirName = cms.string(
'HGCAL/HGCalValidator/')
81 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
82 premix_stage2.toModify(hgcalValidator,
83 label_cp_fake =
"mixData:MergedCaloTruth"
86 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
87 phase2_hgcalV10.toModify(hgcalValidator, totallayers_to_monitor = cms.int32(50))