CMS 3D CMS Logo

NewPostProcessor_cff.py
Go to the documentation of this file.
1 # post-processors for reco Muon track validation in FullSim and FastSim
2 #
3 import FWCore.ParameterSet.Config as cms
4 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
5 
7 
8 NEWpostProcessorMuonTrack = DQMEDHarvester("DQMGenericClient",
9  subDirs = cms.untracked.vstring("Muons/RecoMuonV/MuonTrack/*"),
10  efficiency = cms.vstring(
11  "effic_vs_eta 'Efficiency vs #eta' num_assoSimToReco_eta num_simul_eta",
12  "effic_vs_pt 'Efficiency vs p_{T}' num_assoSimToReco_pT num_simul_pT",
13  "effic_vs_hit 'Efficiency vs number of Hits' num_assoSimToReco_hit num_simul_hit",
14  "effic_vs_phi 'Efficiency vs #phi' num_assoSimToReco_phi num_simul_phi",
15  "effic_vs_dxy 'Efficiency vs dxy' num_assoSimToReco_dxy num_simul_dxy",
16  "effic_vs_dz 'Efficiency vs dz' num_assoSimToReco_dz num_simul_dz",
17  "effic_vs_pu 'Efficiency vs number of pile-up interactions' num_assoSimToReco_pu num_simul_pu",
18  "effic_vs_Rpos 'Efficiency vs production Radius' num_assoSimToReco_Rpos num_simul_Rpos",
19  "effic_vs_Zpos 'Efficiency vs production Z position' num_assoSimToReco_Zpos num_simul_Zpos",
20 
21  "fakerate_vs_eta 'Fake rate vs #eta' num_assoRecoToSim_eta num_reco_eta fake",
22  "fakerate_vs_pt 'Fake rate vs p_{T}' num_assoRecoToSim_pT num_reco_pT fake",
23  "fakerate_vs_hit 'Fake rate vs number of Hits' num_assoRecoToSim_hit num_reco_hit fake",
24  "fakerate_vs_phi 'Fake rate vs #phi' num_assoRecoToSim_phi num_reco_phi fake",
25  "fakerate_vs_dxy 'Fake rate vs dxy' num_assoRecoToSim_dxy num_reco_dxy fake",
26  "fakerate_vs_dz 'Fake rate vs dz' num_assoRecoToSim_dz num_reco_dz fake",
27  "fakerate_vs_pu 'Fake rate vs number of pile-up interactions' num_assoRecoToSim_pu num_reco_pu fake",
28 
29  "chargeMisId_vs_eta 'Charge MisID rate vs #eta' num_chargemisid_eta num_assoSimToReco_eta",
30  "chargeMisId_vs_pt 'Charge MisID rate vs p_{T}' num_chargemisid_pT num_assoSimToReco_pT",
31  "chargeMisId_vs_phi 'Charge MisID rate vs #phi' num_chargemisid_phi num_assoSimToReco_phi",
32  "chargeMisId_vs_dxy 'Charge MisID rate vs dxy' num_chargemisid_dxy num_assoSimToReco_dxy",
33  "chargeMisId_vs_dz 'Charge MisID rate vs dz' num_chargemisid_dz num_assoSimToReco_dz",
34  "chargeMisId_vs_pu 'Charge MisID rate vs number of pile-up interactions' num_chargemisid_pu num_assoSimToReco_pu",
35  # charge MisId determined vs number of RecHits
36  "chargeMisId_vs_hit 'Charge MisID rate vs number of RecHits' num_chargemisid_hit num_assoRecoToSim_hit"
37  ),
38  profile = cms.untracked.vstring(
39  "chi2_vs_eta_prof 'mean #chi^{2} vs #eta' chi2_vs_eta",
40  "chi2_vs_phi_prof 'mean #chi^{2} vs #phi' chi2_vs_phi",
41  "chi2_vs_nhits_prof 'mean #chi^{2} vs number of Hits' chi2_vs_nhits",
42  "nhits_vs_eta_prof 'mean number of Hits vs #eta' nhits_vs_eta",
43  "nhits_vs_phi_prof 'mean number of Hits vs #phi' nhits_vs_phi",
44  "nDThits_vs_eta_prof 'mean number of DT hits vs #eta' nDThits_vs_eta",
45  "nCSChits_vs_eta_prof 'mean number of CSC hits vs #eta' nCSChits_vs_eta",
46  "nRPChits_vs_eta_prof 'mean number of RPC hits vs #eta' nRPChits_vs_eta",
47  "nTRK_LayersWithMeas_vs_eta_prof 'mean # TRK Layers With Meas vs #eta' nTRK_LayersWithMeas_vs_eta",
48  "nPixel_LayersWithMeas_vs_eta_prof 'mean # Pixel layers With Meas vs #eta' nPixel_LayersWithMeas_vs_eta",
49  "nlosthits_vs_eta_prof 'mean number of lost hits vs #eta' nlosthits_vs_eta",
50  "nhits_vs_phi_prof 'mean #hits vs #phi' nhits_vs_phi"
51  ),
52  resolutionLimitedFit = cms.untracked.bool(False),
53  resolution = cms.vstring(
54  "dxypull_vs_eta 'dxy Pull vs #eta' dxypull_vs_eta",
55  "dxyres_vs_eta 'dxy Residual vs #eta' dxyres_vs_eta",
56  "dxyres_vs_pt 'dxy Residual vs p_{T}' dxyres_vs_pt",
57  "dzpull_vs_eta 'dz Pull vs #eta' dzpull_vs_eta",
58  "dzres_vs_eta 'dz Residual vs #eta' dzres_vs_eta",
59  "dzres_vs_pt 'dz Residual vs p_{T}' dzres_vs_pt",
60  "phipull_vs_eta '#phi Pull vs #eta' phipull_vs_eta",
61  "phipull_vs_phi '#phi Pull vs #phi' phipull_vs_phi",
62  "phires_vs_eta '#phi Residual vs #eta' phires_vs_eta",
63  "phires_vs_phi '#phi Residual vs #phi' phires_vs_phi",
64  "phires_vs_pt '#phi Residual vs p_{T}' phires_vs_pt",
65  "thetapull_vs_eta '#theta Pull vs #eta' thetapull_vs_eta",
66  "thetapull_vs_phi '#theta Pull vs #phi' thetapull_vs_phi",
67  "thetaCotres_vs_eta 'cot(#theta) Residual vs #eta' thetaCotres_vs_eta",
68  "thetaCotres_vs_pt 'cot(#theta)) Residual vs p_{T}' thetaCotres_vs_pt",
69  "ptpull_vs_eta 'p_{T} Pull vs #eta' ptpull_vs_eta",
70  "ptpull_vs_phi 'p_{T} Pull vs #phi' ptpull_vs_phi",
71  "ptres_vs_eta 'p_{T} Relative Residual vs #eta' ptres_vs_eta",
72  "ptres_vs_phi 'p_{T} Relative Residual vs #phi' ptres_vs_phi",
73  "ptres_vs_pt 'p_{T} Relative Residual vs p_{T}' ptres_vs_pt",
74  "etares_vs_eta '#eta Residual vs #eta' etares_vs_eta"
75  ),
76  outputFileName = cms.untracked.string("")
77 )
78 
79 
80 NEWpostProcessorMuonTrackComp = DQMEDHarvester("DQMGenericClient",
81  subDirs = cms.untracked.vstring("Muons/RecoMuonV/MuonTrack/"),
82  efficiency = cms.vstring(
83  "Eff_GlbTk_Eta_mabh 'Eff_{GLB,TK} vs #eta' globalMuons/effic_vs_eta probeTrks/effic_vs_eta",
84  "Eff_GlbTk_Pt_mabh 'Eff_{GLB,TK} vs p_{T}' globalMuons/effic_vs_pt probeTrks/effic_vs_pt",
85  "Eff_GlbTk_Hit_mabh 'Eff_{GLB,TK} vs n Hits' globalMuons/effic_vs_hit probeTrks/effic_vs_hit",
86  "Eff_GlbSta_Eta_mabh 'Eff_{GLB,STA} vs #eta' globalMuons/effic_vs_eta standAloneMuons_UpdAtVtx/effic_vs_eta",
87  "Eff_GlbSta_Pt_mabh 'Eff_{GLB,STA} vs p_{T}' globalMuons/effic_vs_pt standAloneMuons_UpdAtVtx/effic_vs_pt",
88  "Eff_GlbSta_Hit_mabh 'Eff_{GLB,STA} vs n Hits' globalMuons/effic_vs_hit standAloneMuons_UpdAtVtx/effic_vs_hit",
89  ),
90  resolution = cms.vstring(""),
91  outputFileName = cms.untracked.string("")
92 )
93 
94 NEWrecoMuonPostProcessors = cms.Sequence( NEWpostProcessorMuonTrack
95  * NEWpostProcessorMuonTrackComp
96  * NEWpostProcessorsRecoMuonValidator_seq )