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),
21 "effic_vs_{0}_TIB1 'TIB Layer1 Efficiency vs {1}' Hits{2}_valid_TIB_Subdet1 Hits{2}_total_TIB_Subdet1" .
format(suffix, quant, histoPostfix),
22 "effic_vs_{0}_TIB2 'TIB Layer2 Efficiency vs {1}' Hits{2}_valid_TIB_Subdet2 Hits{2}_total_TIB_Subdet2" .
format(suffix, quant, histoPostfix),
23 "effic_vs_{0}_TIB3 'TIB Layer3 Efficiency vs {1}' Hits{2}_valid_TIB_Subdet3 Hits{2}_total_TIB_Subdet3" .
format(suffix, quant, histoPostfix),
24 "effic_vs_{0}_TIB4 'TIB Layer4 Efficiency vs {1}' Hits{2}_valid_TIB_Subdet4 Hits{2}_total_TIB_Subdet4" .
format(suffix, quant, histoPostfix),
25 "effic_vs_{0}_TOB1 'TOB Layer1 Efficiency vs {1}' Hits{2}_valid_TOB_Subdet1 Hits{2}_total_TOB_Subdet1" .
format(suffix, quant, histoPostfix),
26 "effic_vs_{0}_TOB2 'TOB Layer2 Efficiency vs {1}' Hits{2}_valid_TOB_Subdet2 Hits{2}_total_TOB_Subdet2" .
format(suffix, quant, histoPostfix),
27 "effic_vs_{0}_TOB3 'TOB Layer3 Efficiency vs {1}' Hits{2}_valid_TOB_Subdet3 Hits{2}_total_TOB_Subdet3" .
format(suffix, quant, histoPostfix),
28 "effic_vs_{0}_TOB4 'TOB Layer4 Efficiency vs {1}' Hits{2}_valid_TOB_Subdet4 Hits{2}_total_TOB_Subdet4" .
format(suffix, quant, histoPostfix),
29 "effic_vs_{0}_TOB5 'TOB Layer5 Efficiency vs {1}' Hits{2}_valid_TOB_Subdet5 Hits{2}_total_TOB_Subdet5" .
format(suffix, quant, histoPostfix),
30 "effic_vs_{0}_TOB6 'TOB Layer6 Efficiency vs {1}' Hits{2}_valid_TOB_Subdet6 Hits{2}_total_TOB_Subdet6" .
format(suffix, quant, histoPostfix),
31 "effic_vs_{0}_TID1 'TID Layer1 Efficiency vs {1}' Hits{2}_valid_TID_Subdet1 Hits{2}_total_TID_Subdet1" .
format(suffix, quant, histoPostfix),
32 "effic_vs_{0}_TID2 'TID Layer2 Efficiency vs {1}' Hits{2}_valid_TID_Subdet2 Hits{2}_total_TID_Subdet2" .
format(suffix, quant, histoPostfix),
33 "effic_vs_{0}_TID3 'TID Layer3 Efficiency vs {1}' Hits{2}_valid_TID_Subdet3 Hits{2}_total_TID_Subdet3" .
format(suffix, quant, histoPostfix),
34 "effic_vs_{0}_TID4 'TID Layer3 Efficiency vs {1}' Hits{2}_valid_TID_Subdet4 Hits{2}_total_TID_Subdet4" .
format(suffix, quant, histoPostfix),
35 "effic_vs_{0}_TID5 'TID Layer3 Efficiency vs {1}' Hits{2}_valid_TID_Subdet5 Hits{2}_total_TID_Subdet5" .
format(suffix, quant, histoPostfix),
36 "effic_vs_{0}_TEC1 'TEC Layer1 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet1 Hits{2}_total_TEC_Subdet1" .
format(suffix, quant, histoPostfix),
37 "effic_vs_{0}_TEC2 'TEC Layer2 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet2 Hits{2}_total_TEC_Subdet2" .
format(suffix, quant, histoPostfix),
38 "effic_vs_{0}_TEC3 'TEC Layer3 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet3 Hits{2}_total_TEC_Subdet3" .
format(suffix, quant, histoPostfix),
39 "effic_vs_{0}_TEC4 'TEC Layer4 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet4 Hits{2}_total_TEC_Subdet4" .
format(suffix, quant, histoPostfix),
40 "effic_vs_{0}_TEC5 'TEC Layer5 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet5 Hits{2}_total_TEC_Subdet5" .
format(suffix, quant, histoPostfix),
41 "effic_vs_{0}_TEC6 'TEC Layer6 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet6 Hits{2}_total_TEC_Subdet6" .
format(suffix, quant, histoPostfix),
42 "effic_vs_{0}_TEC7 'TEC Layer7 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet7 Hits{2}_total_TEC_Subdet7" .
format(suffix, quant, histoPostfix),
43 "effic_vs_{0}_TEC8 'TEC Layer8 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet8 Hits{2}_total_TEC_Subdet8" .
format(suffix, quant, histoPostfix),
44 "effic_vs_{0}_TEC9 'TEC Layer9 Efficiency vs {1}' Hits{2}_valid_TEC_Subdet9 Hits{2}_total_TEC_Subdet9" .
format(suffix, quant, histoPostfix),
48 subDirs = cms.untracked.vstring(
49 "Tracking/TrackParameters/generalTracks/HitEffFromHitPattern*",
50 "Tracking/TrackParameters/highPurityTracks/pt_1/HitEffFromHitPattern*",
51 "Tracking/TrackParameters/highPurityTracks/dzPV0p1/HitEffFromHitPattern*",
53 efficiency = cms.vstring(
54 _layers(
"PU",
"GoodNumVertices",
"") +
56 _layers(
"LUMI",
"LUMI",
"VsLumi")
58 resolution = cms.vstring(),
59 verbose = cms.untracked.uint32(5),
60 outputFileName = cms.untracked.string(
""),
def _layers(suffix, quant, histoPostfix)