CMS 3D CMS Logo

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