1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
4 def efficSet(nameIn, titleIn, numeratorIn, denominatorIn, typeIn="eff"):
5 pset = cms.PSet(name=cms.untracked.string(nameIn),
6 title=cms.untracked.string(titleIn),
7 numerator=cms.untracked.string(numeratorIn),
8 denominator=cms.untracked.string(denominatorIn),
9 type=cms.untracked.string(typeIn))
13 subDir = cms.string(
"RPC/RPCRecHitV/SimVsReco"),
17 subDirs = cms.untracked.vstring(
"RPC/RPCRecHitV/SimVsReco",),
21 efficiency = cms.vstring(),
22 resolution = cms.vstring(),
23 efficiencyProfileSets = cms.untracked.VPSet(
24 efficSet(
"Efficiency/Effic_wheel",
"Barrel SimHit to RecHit matching efficiency;Wheel",
25 "Occupancy/MatchBarrelOccupancy_wheel",
"Occupancy/RefHitBarrelOccupancy_wheel"),
26 efficSet(
"Efficiency/Effic_station",
"Barrel SimHit to RecHit matching efficiency;Station",
27 "Occupancy/MatchBarrelOccupancy_station",
"Occupancy/RefHitBarrelOccupancy_station"),
28 efficSet(
"Efficiency/Effic_disk",
"Endcap SimHit to RecHit matching efficiency;Disk",
29 "Occupancy/MatchEndcapOccupancy_disk",
"Occupancy/RefHitEndcapOccupancy_disk"),
31 resolutionSets = cms.untracked.VPSet(
33 namePrefix = cms.untracked.string(
"Resolution/Res_wheel"),
34 titlePrefix = cms.untracked.string(
"Wheel residual"),
35 srcName = cms.untracked.string(
"Residual/Res_wheel_res")
38 namePrefix = cms.untracked.string(
"Resolution/Res_station"),
39 titlePrefix = cms.untracked.string(
"Station residual"),
40 srcName = cms.untracked.string(
"Residual/Res_station_res")
43 namePrefix = cms.untracked.string(
"Resolution/Res_disk"),
44 titlePrefix = cms.untracked.string(
"Disk residual"),
45 srcName = cms.untracked.string(
"Residual/Res_disk_res")
48 namePrefix = cms.untracked.string(
"Resolution/Pull_wheel"),
49 titlePrefix = cms.untracked.string(
"Wheel pull"),
50 srcName = cms.untracked.string(
"Residual/Pull_wheel_pull")
53 namePrefix = cms.untracked.string(
"Resolution/Pull_station"),
54 titlePrefix = cms.untracked.string(
"Station pull"),
55 srcName = cms.untracked.string(
"Residual/Pull_station_pull")
58 namePrefix = cms.untracked.string(
"Resolution/Pull_disk"),
59 titlePrefix = cms.untracked.string(
"Disk pull"),
60 srcName = cms.untracked.string(
"Residual/Pull_disk_pull")
63 outputFileName = cms.untracked.string(
"")
67 subDirs = cms.untracked.vstring(
"RPC/RPCRecHitV/DTVsReco",
68 "RPC/RPCRecHitV/CSCVsReco"),
70 efficiency = cms.vstring(),
71 resolution = cms.vstring(),
72 efficiencyProfileSets = cms.untracked.VPSet(
73 efficSet(
"Efficiency/Effic_wheel",
"Barrel RPCPoint to RecHit matching efficiency;Wheel",
74 "Occupancy/MatchBarrelOccupancy_wheel",
"Occupancy/RefHitBarrelOccupancy_wheel"),
75 efficSet(
"Efficiency/Effic_station",
"Barrel RPCPoint to RecHit matching efficiency;Station",
76 "Occupancy/MatchBarrelOccupancy_station",
"Occupancy/RefHitBarrelOccupancy_station"),
77 efficSet(
"Efficiency/Effic_disk",
"Endcap RPCPoint to RecHit matching efficiency;Disk",
78 "Occupancy/MatchEndcapOccupancy_disk",
"Occupancy/RefHitEndcapOccupancy_disk"),
80 resolutionSets = cms.untracked.VPSet(
82 namePrefix = cms.untracked.string(
"Resolution/Res_wheel"),
83 titlePrefix = cms.untracked.string(
"Wheel residual"),
84 srcName = cms.untracked.string(
"Residual/Res_wheel_res")
87 namePrefix = cms.untracked.string(
"Resolution/Res_station"),
88 titlePrefix = cms.untracked.string(
"Station residual"),
89 srcName = cms.untracked.string(
"Residual/Res_station_res")
92 namePrefix = cms.untracked.string(
"Resolution/Res_disk"),
93 titlePrefix = cms.untracked.string(
"Disk residual"),
94 srcName = cms.untracked.string(
"Residual/Res_disk_res")
97 namePrefix = cms.untracked.string(
"Resolution/Pull_wheel"),
98 titlePrefix = cms.untracked.string(
"Wheel pull"),
99 srcName = cms.untracked.string(
"Residual/Pull_wheel_pull")
102 namePrefix = cms.untracked.string(
"Resolution/Pull_station"),
103 titlePrefix = cms.untracked.string(
"Station pull"),
104 srcName = cms.untracked.string(
"Residual/Pull_station_pull")
107 namePrefix = cms.untracked.string(
"Resolution/Pull_disk"),
108 titlePrefix = cms.untracked.string(
"Disk pull"),
109 srcName = cms.untracked.string(
"Residual/Pull_disk_pull")
112 outputFileName = cms.untracked.string(
"")
115 rpcRecHitPostValidation_step = cms.Sequence(rpcRecHitPostValidation+rpcRecHitSimRecoClient)
116 rpcPointVsRecHitPostValidation_step = cms.Sequence(rpcPointVsRecHitPostValidation)
def efficSet(nameIn, titleIn, numeratorIn, denominatorIn, typeIn="eff")