1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
9 eff_layers = [
"effic_eta_layer{:02d} 'LayerCluster Efficiency vs #eta Layer{:02d} in z-' Num_CaloParticle_Eta_perlayer{:02d} Denom_CaloParticle_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "effic_eta_layer{:02d} 'LayerCluster Efficiency vs #eta Layer{:02d} in z+' Num_CaloParticle_Eta_perlayer{:02d} Denom_CaloParticle_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ]
10 eff_layers.extend([
"effic_phi_layer{:02d} 'LayerCluster Efficiency vs #phi Layer{:02d} in z-' Num_CaloParticle_Phi_perlayer{:02d} Denom_CaloParticle_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "effic_phi_layer{:02d} 'LayerCluster Efficiency vs #phi Layer{:02d} in z+' Num_CaloParticle_Phi_perlayer{:02d} Denom_CaloParticle_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
11 eff_layers.extend([
"duplicate_eta_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #eta Layer{:02d} in z-' NumDup_CaloParticle_Eta_perlayer{:02d} Denom_CaloParticle_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "duplicate_eta_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #eta Layer{:02d} in z+' NumDup_CaloParticle_Eta_perlayer{:02d} Denom_CaloParticle_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
12 eff_layers.extend([
"duplicate_phi_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #phi Layer{:02d} in z-' NumDup_CaloParticle_Phi_perlayer{:02d} Denom_CaloParticle_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "duplicate_phi_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #phi Layer{:02d} in z+' NumDup_CaloParticle_Phi_perlayer{:02d} Denom_CaloParticle_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
13 eff_layers.extend([
"fake_eta_layer{:02d} 'LayerCluster Fake Rate vs #eta Layer{:02d} in z-' Num_LayerCluster_Eta_perlayer{:02d} Denom_LayerCluster_Eta_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "fake_eta_layer{:02d} 'LayerCluster Fake Rate vs #eta Layer{:02d} in z+' Num_LayerCluster_Eta_perlayer{:02d} Denom_LayerCluster_Eta_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
14 eff_layers.extend([
"fake_phi_layer{:02d} 'LayerCluster Fake Rate vs #phi Layer{:02d} in z-' Num_LayerCluster_Phi_perlayer{:02d} Denom_LayerCluster_Phi_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "fake_phi_layer{:02d} 'LayerCluster Fake Rate vs #phi Layer{:02d} in z+' Num_LayerCluster_Phi_perlayer{:02d} Denom_LayerCluster_Phi_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
15 eff_layers.extend([
"merge_eta_layer{:02d} 'LayerCluster Merge Rate vs #eta Layer{:02d} in z-' NumMerge_LayerCluster_Eta_perlayer{:02d} Denom_LayerCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "merge_eta_layer{:02d} 'LayerCluster Merge Rate vs #eta Layer{:02d} in z+' NumMerge_LayerCluster_Eta_perlayer{:02d} Denom_LayerCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
16 eff_layers.extend([
"merge_phi_layer{:02d} 'LayerCluster Merge Rate vs #phi Layer{:02d} in z-' NumMerge_LayerCluster_Phi_perlayer{:02d} Denom_LayerCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "merge_phi_layer{:02d} 'LayerCluster Merge Rate vs #phi Layer{:02d} in z+' NumMerge_LayerCluster_Phi_perlayer{:02d} Denom_LayerCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
19 subDirs = cms.untracked.vstring(
'HGCAL/HGCalValidator/hgcalLayerClusters/LCtoCP_association'),
20 efficiency = cms.vstring(eff_layers),
21 resolution = cms.vstring(),
22 cumulativeDists = cms.untracked.vstring(),
23 noFlowDists = cms.untracked.vstring(),
24 outputFileName = cms.untracked.string(
""),
25 verbose = cms.untracked.uint32(4))
28 eff_simclusters = [
"effic_eta_layer{:02d} 'LayerCluster Efficiency vs #eta Layer{:02d} in z-' Num_SimCluster_Eta_perlayer{:02d} Denom_SimCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "effic_eta_layer{:02d} 'LayerCluster Efficiency vs #eta Layer{:02d} in z+' Num_SimCluster_Eta_perlayer{:02d} Denom_SimCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ]
29 eff_simclusters.extend([
"effic_phi_layer{:02d} 'LayerCluster Efficiency vs #phi Layer{:02d} in z-' Num_SimCluster_Phi_perlayer{:02d} Denom_SimCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "effic_phi_layer{:02d} 'LayerCluster Efficiency vs #phi Layer{:02d} in z+' Num_SimCluster_Phi_perlayer{:02d} Denom_SimCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
30 eff_simclusters.extend([
"duplicate_eta_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #eta Layer{:02d} in z-' NumDup_SimCluster_Eta_perlayer{:02d} Denom_SimCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "duplicate_eta_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #eta Layer{:02d} in z+' NumDup_SimCluster_Eta_perlayer{:02d} Denom_SimCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
31 eff_simclusters.extend([
"duplicate_phi_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #phi Layer{:02d} in z-' NumDup_SimCluster_Phi_perlayer{:02d} Denom_SimCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "duplicate_phi_layer{:02d} 'LayerCluster Duplicate(Split) Rate vs #phi Layer{:02d} in z+' NumDup_SimCluster_Phi_perlayer{:02d} Denom_SimCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
32 eff_simclusters.extend([
"fake_eta_layer{:02d} 'LayerCluster Fake Rate vs #eta Layer{:02d} in z-' Num_LayerCluster_in_SimCluster_Eta_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Eta_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "fake_eta_layer{:02d} 'LayerCluster Fake Rate vs #eta Layer{:02d} in z+' Num_LayerCluster_in_SimCluster_Eta_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Eta_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
33 eff_simclusters.extend([
"fake_phi_layer{:02d} 'LayerCluster Fake Rate vs #phi Layer{:02d} in z-' Num_LayerCluster_in_SimCluster_Phi_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Phi_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "fake_phi_layer{:02d} 'LayerCluster Fake Rate vs #phi Layer{:02d} in z+' Num_LayerCluster_in_SimCluster_Phi_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Phi_perlayer{:02d} fake".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
34 eff_simclusters.extend([
"merge_eta_layer{:02d} 'LayerCluster Merge Rate vs #eta Layer{:02d} in z-' NumMerge_LayerCluster_in_SimCluster_Eta_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "merge_eta_layer{:02d} 'LayerCluster Merge Rate vs #eta Layer{:02d} in z+' NumMerge_LayerCluster_in_SimCluster_Eta_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Eta_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
35 eff_simclusters.extend([
"merge_phi_layer{:02d} 'LayerCluster Merge Rate vs #phi Layer{:02d} in z-' NumMerge_LayerCluster_in_SimCluster_Phi_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
if (i<maxlayerzm)
else "merge_phi_layer{:02d} 'LayerCluster Merge Rate vs #phi Layer{:02d} in z+' NumMerge_LayerCluster_in_SimCluster_Phi_perlayer{:02d} Denom_LayerCluster_in_SimCluster_Phi_perlayer{:02d}".
format(i, i%maxlayerzm+1, i, i)
for i
in range(maxlayerzp) ])
37 subdirsSim = [
'HGCAL/HGCalValidator/simClusters/ticlTracksters'+iteration+
'/' for iteration
in ticlIterLabelsMerge]
38 subdirsSim.extend([
'HGCAL/HGCalValidator/simClusters/ticlSimTracksters'])
40 subDirs = cms.untracked.vstring(subdirsSim),
41 efficiency = cms.vstring(eff_simclusters),
42 resolution = cms.vstring(),
43 cumulativeDists = cms.untracked.vstring(),
44 noFlowDists = cms.untracked.vstring(),
45 outputFileName = cms.untracked.string(
""),
46 verbose = cms.untracked.uint32(4))
48 eff_multiclusters = [
"effic_eta 'MultiCluster Efficiency vs #eta' Num_CaloParticle_Eta Denom_CaloParticle_Eta"]
49 eff_multiclusters.extend([
"effic_phi 'MultiCluster Efficiency vs #phi' Num_CaloParticle_Phi Denom_CaloParticle_Phi"])
50 eff_multiclusters.extend([
"duplicate_eta 'MultiCluster Duplicate(Split) Rate vs #eta' NumDup_MultiCluster_Eta Denom_MultiCluster_Eta"])
51 eff_multiclusters.extend([
"duplicate_phi 'MultiCluster Duplicate(Split) Rate vs #phi' NumDup_MultiCluster_Phi Denom_MultiCluster_Phi"])
52 eff_multiclusters.extend([
"fake_eta 'MultiCluster Fake Rate vs #eta' Num_MultiCluster_Eta Denom_MultiCluster_Eta fake"])
53 eff_multiclusters.extend([
"fake_phi 'MultiCluster Fake Rate vs #phi' Num_MultiCluster_Phi Denom_MultiCluster_Phi fake"])
54 eff_multiclusters.extend([
"merge_eta 'MultiCluster Merge Rate vs #eta' NumMerge_MultiCluster_Eta Denom_MultiCluster_Eta"])
55 eff_multiclusters.extend([
"merge_phi 'MultiCluster Merge Rate vs #phi' NumMerge_MultiCluster_Phi Denom_MultiCluster_Phi"])
57 subdirsMult = [
'HGCAL/HGCalValidator/hgcalMultiClusters/',
'HGCAL/HGCalValidator/ticlMultiClustersFromSimTracksters/']
58 subdirsMult.extend(
'HGCAL/HGCalValidator/ticlMultiClustersFromTracksters'+iteration+
'/' for iteration
in ticlIterLabelsMerge)
61 subDirs = cms.untracked.vstring(subdirsMult),
62 efficiency = cms.vstring(eff_multiclusters),
63 resolution = cms.vstring(),
64 cumulativeDists = cms.untracked.vstring(),
65 noFlowDists = cms.untracked.vstring(),
66 outputFileName = cms.untracked.string(
""),
67 verbose = cms.untracked.uint32(4)