1 import FWCore.ParameterSet.Config
as cms
5 rpcRecHitSimRecoClient = cms.EDAnalyzer(
"RPCRecHitValidClient",
6 subDir = cms.string(
"RPC/RPCRecHitV/SimVsReco"),
9 rpcRecHitPostValidation = cms.EDAnalyzer(
"DQMGenericClient",
10 subDirs = cms.untracked.vstring(
"RPC/RPCRecHitV/SimVsReco",),
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"),
24 resolutionSets = cms.untracked.VPSet(
26 namePrefix = cms.untracked.string(
"Resolution/Res_wheel"),
27 titlePrefix = cms.untracked.string(
"Wheel residual"),
28 srcName = cms.untracked.string(
"Residual/Res_wheel_res")
31 namePrefix = cms.untracked.string(
"Resolution/Res_station"),
32 titlePrefix = cms.untracked.string(
"Station residual"),
33 srcName = cms.untracked.string(
"Residual/Res_station_res")
36 namePrefix = cms.untracked.string(
"Resolution/Res_disk"),
37 titlePrefix = cms.untracked.string(
"Disk residual"),
38 srcName = cms.untracked.string(
"Residual/Res_disk_res")
41 namePrefix = cms.untracked.string(
"Resolution/Pull_wheel"),
42 titlePrefix = cms.untracked.string(
"Wheel pull"),
43 srcName = cms.untracked.string(
"Residual/Pull_wheel_pull")
46 namePrefix = cms.untracked.string(
"Resolution/Pull_station"),
47 titlePrefix = cms.untracked.string(
"Station pull"),
48 srcName = cms.untracked.string(
"Residual/Pull_station_pull")
51 namePrefix = cms.untracked.string(
"Resolution/Pull_disk"),
52 titlePrefix = cms.untracked.string(
"Disk pull"),
53 srcName = cms.untracked.string(
"Residual/Pull_disk_pull")
56 outputFileName = cms.untracked.string(
"")
59 rpcPointVsRecHitPostValidation = cms.EDAnalyzer(
"DQMGenericClient",
60 subDirs = cms.untracked.vstring(
"RPC/RPCRecHitV/DTVsReco",
61 "RPC/RPCRecHitV/CSCVsReco"),
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"),
73 resolutionSets = cms.untracked.VPSet(
75 namePrefix = cms.untracked.string(
"Resolution/Res_wheel"),
76 titlePrefix = cms.untracked.string(
"Wheel residual"),
77 srcName = cms.untracked.string(
"Residual/Res_wheel_res")
80 namePrefix = cms.untracked.string(
"Resolution/Res_station"),
81 titlePrefix = cms.untracked.string(
"Station residual"),
82 srcName = cms.untracked.string(
"Residual/Res_station_res")
85 namePrefix = cms.untracked.string(
"Resolution/Res_disk"),
86 titlePrefix = cms.untracked.string(
"Disk residual"),
87 srcName = cms.untracked.string(
"Residual/Res_disk_res")
90 namePrefix = cms.untracked.string(
"Resolution/Pull_wheel"),
91 titlePrefix = cms.untracked.string(
"Wheel pull"),
92 srcName = cms.untracked.string(
"Residual/Pull_wheel_pull")
95 namePrefix = cms.untracked.string(
"Resolution/Pull_station"),
96 titlePrefix = cms.untracked.string(
"Station pull"),
97 srcName = cms.untracked.string(
"Residual/Pull_station_pull")
100 namePrefix = cms.untracked.string(
"Resolution/Pull_disk"),
101 titlePrefix = cms.untracked.string(
"Disk pull"),
102 srcName = cms.untracked.string(
"Residual/Pull_disk_pull")
105 outputFileName = cms.untracked.string(
"")
108 rpcRecHitPostValidation_step = cms.Sequence(rpcRecHitPostValidation+rpcRecHitSimRecoClient)
109 rpcPointVsRecHitPostValidation_step = cms.Sequence(rpcPointVsRecHitPostValidation)
def efficSet(nameIn, titleIn, numeratorIn, denominatorIn, typeIn="eff")