CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  efficSet("Efficiency/Noise_wheel", "Barrel un-matched RecHit to SimHit efficiency;Wheel",
24  "Occupancy/UmBarrelOccupancy_wheel","Occupancy/RecHitBarrelOccupancy_wheel"),
25  efficSet("Efficiency/Noise_station", "Barrel un-matched RecHit to SimHit efficiency;Station",
26  "Occupancy/UmBarrelOccupancy_station","Occupancy/RecHitBarrelOccupancy_station"),
27  efficSet("Efficiency/Noise_disk", "Endcap un-matched RecHit to SimHit efficiency;Disk",
28  "Occupancy/UmEndcapOccupancy_disk", "Occupancy/RecHitEndcapOccupancy_disk"),
29  #efficSet("Efficiency/Lost_wheel", "Barrel un-matched SimHit to RecHit efficiency;Wheel",
30  # "Occupancy/NUnMatchedRefHit_wheel", "Occupancy/RefHitBarrelOccupancy_wheel"),
31  #efficSet("Efficiency/Lost_disk", "Endcap un-matched SimHit to RecHit efficiency;Disk",
32  # "Occupancy/NUnMatchedRefHit_disk", "Occupancy/RefHitEndcapOccupancy_disk"),
33  ),
34  resolutionSets = cms.untracked.VPSet(
35  cms.PSet(
36  namePrefix = cms.untracked.string("Resolution/Res_wheel"),
37  titlePrefix = cms.untracked.string("Wheel residual"),
38  srcName = cms.untracked.string("Residual/Res_wheel_res")
39  ),
40  cms.PSet(
41  namePrefix = cms.untracked.string("Resolution/Res_station"),
42  titlePrefix = cms.untracked.string("Station residual"),
43  srcName = cms.untracked.string("Residual/Res_station_res")
44  ),
45  cms.PSet(
46  namePrefix = cms.untracked.string("Resolution/Res_disk"),
47  titlePrefix = cms.untracked.string("Disk residual"),
48  srcName = cms.untracked.string("Residual/Res_disk_res")
49  ),
50  cms.PSet(
51  namePrefix = cms.untracked.string("Resolution/Pull_wheel"),
52  titlePrefix = cms.untracked.string("Wheel pull"),
53  srcName = cms.untracked.string("Residual/Pull_wheel_pull")
54  ),
55  cms.PSet(
56  namePrefix = cms.untracked.string("Resolution/Pull_station"),
57  titlePrefix = cms.untracked.string("Station pull"),
58  srcName = cms.untracked.string("Residual/Pull_station_pull")
59  ),
60  cms.PSet(
61  namePrefix = cms.untracked.string("Resolution/Pull_disk"),
62  titlePrefix = cms.untracked.string("Disk pull"),
63  srcName = cms.untracked.string("Residual/Pull_disk_pull")
64  ),
65  ),
66  outputFileName = cms.untracked.string("")
67 )
68 
69 rpcPointVsRecHitPostValidation = cms.EDAnalyzer("DQMGenericClient",
70  subDirs = cms.untracked.vstring("RPC/RPCRecHitV/DTVsReco",
71  "RPC/RPCRecHitV/CSCVsReco"),
72 # "RPC/RPCRecHitV/TrackVsReco"),
73  efficiency = cms.vstring(),
74  resolution = cms.vstring(),
75  efficiencyProfileSets = cms.untracked.VPSet(
76  efficSet("Efficiency/Effic_wheel", "Barrel RPCPoint to RecHit matching efficiency;Wheel",
77  "Occupancy/MatchBarrelOccupancy_wheel", "Occupancy/RefHitBarrelOccupancy_wheel"),
78  efficSet("Efficiency/Effic_station", "Barrel RPCPoint to RecHit matching efficiency;Station",
79  "Occupancy/MatchBarrelOccupancy_station", "Occupancy/RefHitBarrelOccupancy_station"),
80  efficSet("Efficiency/Effic_disk", "Endcap RPCPoint to RecHit matching efficiency;Disk",
81  "Occupancy/MatchEndcapOccupancy_disk", "Occupancy/RefHitEndcapOccupancy_disk"),
82  efficSet("Efficiency/Noise_wheel", "Barrel un-matched RecHit to RPCPoint efficiency;Wheel",
83  "Occupancy/UmBarrelOccupancy_wheel","Occupancy/RecHitBarrelOccupancy_wheel"),
84  efficSet("Efficiency/Noise_station", "Barrel un-matched RecHit to RPCPoint efficiency;Station",
85  "Occupancy/UmBarrelOccupancy_station","Occupancy/RecHitBarrelOccupancy_station"),
86  efficSet("Efficiency/Noise_disk", "Endcap un-matched RecHit to RPCPoint efficiency;Disk",
87  "Occupancy/UmEndcapOccupancy_disk", "Occupancy/RecHitEndcapOccupancy_disk"),
88  #efficSet("Efficiency/Lost_wheel", "Barrel un-matched RPCPoint to RecHit efficiency;Wheel",
89  # "Occupancy/NUnMatchedRefHit_wheel", "Occupancy/RefHitBarrelOccupancy_wheel"),
90  #efficSet("Efficiency/Lost_disk", "Endcap un-matched RPCPoint to RecHit efficiency;Disk",
91  # "Occupancy/NUnMatchedRefHit_disk", "Occupancy/RefHitEndcapOccupancy_disk"),
92  ),
93  resolutionSets = cms.untracked.VPSet(
94  cms.PSet(
95  namePrefix = cms.untracked.string("Resolution/Res_wheel"),
96  titlePrefix = cms.untracked.string("Wheel residual"),
97  srcName = cms.untracked.string("Residual/Res_wheel_res")
98  ),
99  cms.PSet(
100  namePrefix = cms.untracked.string("Resolution/Res_station"),
101  titlePrefix = cms.untracked.string("Station residual"),
102  srcName = cms.untracked.string("Residual/Res_station_res")
103  ),
104  cms.PSet(
105  namePrefix = cms.untracked.string("Resolution/Res_disk"),
106  titlePrefix = cms.untracked.string("Disk residual"),
107  srcName = cms.untracked.string("Residual/Res_disk_res")
108  ),
109  cms.PSet(
110  namePrefix = cms.untracked.string("Resolution/Pull_wheel"),
111  titlePrefix = cms.untracked.string("Wheel pull"),
112  srcName = cms.untracked.string("Residual/Pull_wheel_pull")
113  ),
114  cms.PSet(
115  namePrefix = cms.untracked.string("Resolution/Pull_station"),
116  titlePrefix = cms.untracked.string("Station pull"),
117  srcName = cms.untracked.string("Residual/Pull_station_pull")
118  ),
119  cms.PSet(
120  namePrefix = cms.untracked.string("Resolution/Pull_disk"),
121  titlePrefix = cms.untracked.string("Disk pull"),
122  srcName = cms.untracked.string("Residual/Pull_disk_pull")
123  ),
124  ),
125  outputFileName = cms.untracked.string("")
126 )
127 
128 rpcRecHitPostValidation_step = cms.Sequence(rpcRecHitPostValidation+rpcRecHitSimRecoClient)
129 rpcPointVsRecHitPostValidation_step = cms.Sequence(rpcPointVsRecHitPostValidation)