CMS 3D CMS Logo

postValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
3 
5 
6 rpcRecHitSimRecoClient = DQMEDHarvester("RPCRecHitValidClient",
7  subDir = cms.string("RPC/RPCRecHitV/SimVsReco"),
8 )
9 
10 rpcRecHitPostValidation = DQMEDHarvester("DQMGenericClient",
11  subDirs = cms.untracked.vstring("RPC/RPCRecHitV/SimVsReco",),
12  #subDirs = cms.untracked.vstring("RPC/RPCRecHitV/SimVsReco",
13  # "RPC/RPCRecHitV/SimVsDTExt",
14  # "RPC/RPCRecHitV/SimVsCSCExt"),
15  efficiency = cms.vstring(),
16  resolution = cms.vstring(),
17  efficiencyProfileSets = cms.untracked.VPSet(
18  efficSet("Efficiency/Effic_wheel", "Barrel SimHit to RecHit matching efficiency;Wheel",
19  "Occupancy/MatchBarrelOccupancy_wheel", "Occupancy/RefHitBarrelOccupancy_wheel"),
20  efficSet("Efficiency/Effic_station", "Barrel SimHit to RecHit matching efficiency;Station",
21  "Occupancy/MatchBarrelOccupancy_station", "Occupancy/RefHitBarrelOccupancy_station"),
22  efficSet("Efficiency/Effic_disk", "Endcap SimHit to RecHit matching efficiency;Disk",
23  "Occupancy/MatchEndcapOccupancy_disk", "Occupancy/RefHitEndcapOccupancy_disk"),
24  ),
25  resolutionSets = cms.untracked.VPSet(
26  cms.PSet(
27  namePrefix = cms.untracked.string("Resolution/Res_wheel"),
28  titlePrefix = cms.untracked.string("Wheel residual"),
29  srcName = cms.untracked.string("Residual/Res_wheel_res")
30  ),
31  cms.PSet(
32  namePrefix = cms.untracked.string("Resolution/Res_station"),
33  titlePrefix = cms.untracked.string("Station residual"),
34  srcName = cms.untracked.string("Residual/Res_station_res")
35  ),
36  cms.PSet(
37  namePrefix = cms.untracked.string("Resolution/Res_disk"),
38  titlePrefix = cms.untracked.string("Disk residual"),
39  srcName = cms.untracked.string("Residual/Res_disk_res")
40  ),
41  cms.PSet(
42  namePrefix = cms.untracked.string("Resolution/Pull_wheel"),
43  titlePrefix = cms.untracked.string("Wheel pull"),
44  srcName = cms.untracked.string("Residual/Pull_wheel_pull")
45  ),
46  cms.PSet(
47  namePrefix = cms.untracked.string("Resolution/Pull_station"),
48  titlePrefix = cms.untracked.string("Station pull"),
49  srcName = cms.untracked.string("Residual/Pull_station_pull")
50  ),
51  cms.PSet(
52  namePrefix = cms.untracked.string("Resolution/Pull_disk"),
53  titlePrefix = cms.untracked.string("Disk pull"),
54  srcName = cms.untracked.string("Residual/Pull_disk_pull")
55  ),
56  ),
57  outputFileName = cms.untracked.string("")
58 )
59 
60 rpcPointVsRecHitPostValidation = DQMEDHarvester("DQMGenericClient",
61  subDirs = cms.untracked.vstring("RPC/RPCRecHitV/DTVsReco",
62  "RPC/RPCRecHitV/CSCVsReco"),
63 # "RPC/RPCRecHitV/TrackVsReco"),
64  efficiency = cms.vstring(),
65  resolution = cms.vstring(),
66  efficiencyProfileSets = cms.untracked.VPSet(
67  efficSet("Efficiency/Effic_wheel", "Barrel RPCPoint to RecHit matching efficiency;Wheel",
68  "Occupancy/MatchBarrelOccupancy_wheel", "Occupancy/RefHitBarrelOccupancy_wheel"),
69  efficSet("Efficiency/Effic_station", "Barrel RPCPoint to RecHit matching efficiency;Station",
70  "Occupancy/MatchBarrelOccupancy_station", "Occupancy/RefHitBarrelOccupancy_station"),
71  efficSet("Efficiency/Effic_disk", "Endcap RPCPoint to RecHit matching efficiency;Disk",
72  "Occupancy/MatchEndcapOccupancy_disk", "Occupancy/RefHitEndcapOccupancy_disk"),
73  ),
74  resolutionSets = cms.untracked.VPSet(
75  cms.PSet(
76  namePrefix = cms.untracked.string("Resolution/Res_wheel"),
77  titlePrefix = cms.untracked.string("Wheel residual"),
78  srcName = cms.untracked.string("Residual/Res_wheel_res")
79  ),
80  cms.PSet(
81  namePrefix = cms.untracked.string("Resolution/Res_station"),
82  titlePrefix = cms.untracked.string("Station residual"),
83  srcName = cms.untracked.string("Residual/Res_station_res")
84  ),
85  cms.PSet(
86  namePrefix = cms.untracked.string("Resolution/Res_disk"),
87  titlePrefix = cms.untracked.string("Disk residual"),
88  srcName = cms.untracked.string("Residual/Res_disk_res")
89  ),
90  cms.PSet(
91  namePrefix = cms.untracked.string("Resolution/Pull_wheel"),
92  titlePrefix = cms.untracked.string("Wheel pull"),
93  srcName = cms.untracked.string("Residual/Pull_wheel_pull")
94  ),
95  cms.PSet(
96  namePrefix = cms.untracked.string("Resolution/Pull_station"),
97  titlePrefix = cms.untracked.string("Station pull"),
98  srcName = cms.untracked.string("Residual/Pull_station_pull")
99  ),
100  cms.PSet(
101  namePrefix = cms.untracked.string("Resolution/Pull_disk"),
102  titlePrefix = cms.untracked.string("Disk pull"),
103  srcName = cms.untracked.string("Residual/Pull_disk_pull")
104  ),
105  ),
106  outputFileName = cms.untracked.string("")
107 )
108 
109 rpcRecHitPostValidation_step = cms.Sequence(rpcRecHitPostValidation+rpcRecHitSimRecoClient)
110 rpcPointVsRecHitPostValidation_step = cms.Sequence(rpcPointVsRecHitPostValidation)
def efficSet(nameIn, titleIn, numeratorIn, denominatorIn, typeIn="eff")