1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
4 def _layers(suffix, quant, histoPostfix):
6 "effic_vs_{0}_PXB1 'PXB Layer1 Efficiency vs {1}' Hits{2}_valid_PXB_Subdet1 Hits{2}_total_PXB_Subdet1" .
format(suffix, quant, histoPostfix),
7 "effic_vs_{0}_PXB2 'PXB Layer2 Efficiency vs {1}' Hits{2}_valid_PXB_Subdet2 Hits{2}_total_PXB_Subdet2" .
format(suffix, quant, histoPostfix),
8 "effic_vs_{0}_PXB3 'PXB Layer3 Efficiency vs {1}' Hits{2}_valid_PXB_Subdet3 Hits{2}_total_PXB_Subdet3" .
format(suffix, quant, histoPostfix),
9 "effic_vs_{0}_PXB4 'PXB Layer4 Efficiency vs {1}' Hits{2}_valid_PXB_Subdet4 Hits{2}_total_PXB_Subdet4" .
format(suffix, quant, histoPostfix),
10 "effic_vs_{0}_PXF1 'PXF Layer1 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet1 Hits{2}_total_PXF_Subdet1" .
format(suffix, quant, histoPostfix),
11 "effic_vs_{0}_PXF2 'PXF Layer2 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet2 Hits{2}_total_PXF_Subdet2" .
format(suffix, quant, histoPostfix),
12 "effic_vs_{0}_PXF3 'PXF Layer3 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet3 Hits{2}_total_PXF_Subdet3" .
format(suffix, quant, histoPostfix),
13 "effic_vs_{0}_PXF4 'PXF Layer4 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet4 Hits{2}_total_PXF_Subdet4" .
format(suffix, quant, histoPostfix),
14 "effic_vs_{0}_PXF5 'PXF Layer5 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet5 Hits{2}_total_PXF_Subdet5" .
format(suffix, quant, histoPostfix),
15 "effic_vs_{0}_PXF6 'PXF Layer6 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet6 Hits{2}_total_PXF_Subdet6" .
format(suffix, quant, histoPostfix),
16 "effic_vs_{0}_PXF7 'PXF Layer7 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet7 Hits{2}_total_PXF_Subdet7" .
format(suffix, quant, histoPostfix),
17 "effic_vs_{0}_PXF8 'PXF Layer8 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet8 Hits{2}_total_PXF_Subdet8" .
format(suffix, quant, histoPostfix),
18 "effic_vs_{0}_PXF9 'PXF Layer9 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet9 Hits{2}_total_PXF_Subdet9" .
format(suffix, quant, histoPostfix),
19 "effic_vs_{0}_PXF10 'PXF Layer10 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet10 Hits{2}_total_PXF_Subdet10".
format(suffix, quant, histoPostfix),
20 "effic_vs_{0}_PXF11 'PXF Layer11 Efficiency vs {1}' Hits{2}_valid_PXF_Subdet11 Hits{2}_total_PXF_Subdet11".
format(suffix, quant, histoPostfix),
24 subDirs = cms.untracked.vstring(
"Tracking/PixelTrackParameters/pixelTracks/HitEffFromHitPattern*",
25 "Tracking/PixelTrackParameters/dzPV0p1/HitEffFromHitPattern*",
26 "Tracking/PixelTrackParameters/pt_0to1/HitEffFromHitPattern*",
27 "Tracking/PixelTrackParameters/pt_1/HitEffFromHitPattern*"),
28 efficiency = cms.vstring(
29 _layers(
"PU",
"GoodNumVertices",
"") +
31 _layers(
"LUMI",
"LUMI",
"VsLUMI")
33 resolution = cms.vstring(),
34 verbose = cms.untracked.uint32(5),
35 outputFileName = cms.untracked.string(
""),
def _layers(suffix, quant, histoPostfix)