CMS 3D CMS Logo

V0Monitor.h
Go to the documentation of this file.
1 #ifndef LUMIMONITOR_H
2 #define LUMIMONITOR_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
16 
21 
24 
27 
29 
30 struct MEbinning {
31  int nbins;
32  double xmin;
33  double xmax;
34 };
35 
36 //
37 // class declaration
38 //
39 
40 class V0Monitor : public DQMEDAnalyzer {
41 public:
44 
46  ~V0Monitor() override;
47 
48 protected:
49  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
55  MEbinning binning);
61  MEbinning xbinning,
62  MEbinning ybinning);
68  MEbinning xbinning,
69  MEbinning ybinning);
70  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
71 
72 private:
73  void getHistoPSet(edm::ParameterSet pset, MEbinning& mebinning);
74 
76 
82 
83  const bool forceSCAL_;
84 
85  int pvNDOF_;
86 
88 
103 
107 
113 
119 
125 
128 
129  MEbinning mass_binning_;
130  MEbinning pt_binning_;
131  MEbinning eta_binning_;
132  MEbinning Lxy_binning_;
133  MEbinning chi2oNDF_binning_;
134  MEbinning lumi_binning_;
135  MEbinning pu_binning_;
136  MEbinning ls_binning_;
137 };
138 
139 #endif // LUMIMONITOR_H
V0Monitor::folderName_
std::string folderName_
Definition: V0Monitor.h:75
V0Monitor::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: V0Monitor.h:42
LumiScalers.h
V0Monitor::v0_N_vs_PU_
MonitorElement * v0_N_vs_PU_
Definition: V0Monitor.h:121
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
V0Monitor::getHistoPSet
void getHistoPSet(edm::ParameterSet pset, MEbinning &mebinning)
Definition: V0Monitor.cc:82
V0Monitor::v0_Lxy_vs_pt_
MonitorElement * v0_Lxy_vs_pt_
Definition: V0Monitor.h:105
V0Monitor::analyze
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
Definition: V0Monitor.cc:228
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection >
V0Monitor::v0_deltaMass_vs_PU_
MonitorElement * v0_deltaMass_vs_PU_
Definition: V0Monitor.h:124
V0Monitor::chi2oNDF_binning_
MEbinning chi2oNDF_binning_
Definition: V0Monitor.h:133
V0Candidate.h
V0Monitor::Lxy_binning_
MEbinning Lxy_binning_
Definition: V0Monitor.h:132
V0Monitor::genTriggerEventFlag_
GenericTriggerEventFlag * genTriggerEventFlag_
Definition: V0Monitor.h:87
V0Monitor::v0_phi_
MonitorElement * v0_phi_
Definition: V0Monitor.h:93
DQMStore.h
V0Monitor::v0_mass_vs_p_
MonitorElement * v0_mass_vs_p_
Definition: V0Monitor.h:97
V0Monitor::lumiscalersToken_
edm::EDGetTokenT< LumiScalersCollection > lumiscalersToken_
Definition: V0Monitor.h:80
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
V0Monitor::bookHisto2D
MonitorElement * bookHisto2D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
Definition: V0Monitor.cc:97
TimingClient_cfi.yaxis
yaxis
Definition: TimingClient_cfi.py:52
MEbinning::xmin
double xmin
Definition: V0Monitor.h:32
V0Monitor::v0_eta_
MonitorElement * v0_eta_
Definition: V0Monitor.h:92
V0Monitor::bookHisto1D
MonitorElement * bookHisto1D(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning binning)
Definition: V0Monitor.cc:88
MEbinning::xmax
double xmax
Definition: V0Monitor.h:33
V0Monitor::n_vs_LS_
MonitorElement * n_vs_LS_
Definition: V0Monitor.h:126
V0Monitor::v0_chi2oNDF_
MonitorElement * v0_chi2oNDF_
Definition: V0Monitor.h:96
V0Monitor::v0_deltaMass_
MonitorElement * v0_deltaMass_
Definition: V0Monitor.h:100
MakerMacros.h
V0Monitor::v0_N_vs_LS_
MonitorElement * v0_N_vs_LS_
Definition: V0Monitor.h:127
V0Monitor::v0_mass_vs_eta_
MonitorElement * v0_mass_vs_eta_
Definition: V0Monitor.h:99
dqm::legacy::DQMStore
Definition: DQMStore.h:727
VertexCompositeCandidate.h
V0Monitor::n_vs_lumi_
MonitorElement * n_vs_lumi_
Definition: V0Monitor.h:114
Service.h
V0Monitor::v0_Lxy_vs_eta_
MonitorElement * v0_Lxy_vs_eta_
Definition: V0Monitor.h:106
V0Monitor::~V0Monitor
~V0Monitor() override
Definition: V0Monitor.cc:77
V0Monitor::v0_Lxy_wrtBS_
MonitorElement * v0_Lxy_wrtBS_
Definition: V0Monitor.h:95
V0Monitor::bsToken_
edm::EDGetTokenT< reco::BeamSpot > bsToken_
Definition: V0Monitor.h:78
V0Monitor::n_vs_BX_
MonitorElement * n_vs_BX_
Definition: V0Monitor.h:108
V0Monitor::v0_N_vs_lumi_
MonitorElement * v0_N_vs_lumi_
Definition: V0Monitor.h:115
V0Monitor::V0Monitor
V0Monitor(const edm::ParameterSet &)
Definition: V0Monitor.cc:15
EDGetToken.h
V0Monitor::n_vs_PU_
MonitorElement * n_vs_PU_
Definition: V0Monitor.h:120
V0Monitor::v0_deltaMass_vs_pt_
MonitorElement * v0_deltaMass_vs_pt_
Definition: V0Monitor.h:101
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
V0Monitor::pu_binning_
MEbinning pu_binning_
Definition: V0Monitor.h:135
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
V0Monitor::v0_mass_vs_PU_
MonitorElement * v0_mass_vs_PU_
Definition: V0Monitor.h:122
edm::ParameterSet
Definition: ParameterSet.h:47
V0Monitor::v0_mass_vs_lumi_
MonitorElement * v0_mass_vs_lumi_
Definition: V0Monitor.h:116
Event.h
listHistos.binning
binning
Definition: listHistos.py:43
GenericTriggerEventFlag
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
Definition: GenericTriggerEventFlag.h:42
V0Monitor::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: V0Monitor.cc:120
V0Monitor::pvNDOF_
int pvNDOF_
Definition: V0Monitor.h:85
V0Monitor::pt_binning_
MEbinning pt_binning_
Definition: V0Monitor.h:130
V0Monitor::mass_binning_
MEbinning mass_binning_
Definition: V0Monitor.h:129
V0Monitor::v0_N_vs_BX_
MonitorElement * v0_N_vs_BX_
Definition: V0Monitor.h:109
V0Monitor::metaDataToken_
edm::EDGetTokenT< OnlineLuminosityRecord > metaDataToken_
Definition: V0Monitor.h:81
iEvent
int iEvent
Definition: GenABIO.cc:224
V0Monitor::pvToken_
edm::EDGetTokenT< reco::VertexCollection > pvToken_
Definition: V0Monitor.h:79
V0Monitor::v0_Lxy_vs_lumi_
MonitorElement * v0_Lxy_vs_lumi_
Definition: V0Monitor.h:117
edm::EventSetup
Definition: EventSetup.h:58
V0Monitor::v0_Lxy_vs_deltaMass_
MonitorElement * v0_Lxy_vs_deltaMass_
Definition: V0Monitor.h:104
V0Monitor::v0_Lxy_
MonitorElement * v0_Lxy_
Definition: V0Monitor.h:94
V0Monitor::lumi_binning_
MEbinning lumi_binning_
Definition: V0Monitor.h:134
V0Monitor::v0_deltaMass_vs_BX_
MonitorElement * v0_deltaMass_vs_BX_
Definition: V0Monitor.h:112
OnlineLuminosityRecord.h
VertexFwd.h
V0Monitor::v0_deltaMass_vs_eta_
MonitorElement * v0_deltaMass_vs_eta_
Definition: V0Monitor.h:102
V0Monitor::v0_mass_vs_pt_
MonitorElement * v0_mass_vs_pt_
Definition: V0Monitor.h:98
V0Monitor::v0_Lxy_vs_PU_
MonitorElement * v0_Lxy_vs_PU_
Definition: V0Monitor.h:123
V0Monitor::v0_deltaMass_vs_lumi_
MonitorElement * v0_deltaMass_vs_lumi_
Definition: V0Monitor.h:118
V0Monitor::v0_N_
MonitorElement * v0_N_
Definition: V0Monitor.h:89
MEbinning::nbins
int nbins
Definition: V0Monitor.h:31
RecoChargedCandidate.h
V0Monitor::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: V0Monitor.h:43
Frameworkfwd.h
V0Monitor
Definition: V0Monitor.h:40
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
dqm::implementation::IBooker
Definition: DQMStore.h:43
V0Monitor::v0_mass_vs_BX_
MonitorElement * v0_mass_vs_BX_
Definition: V0Monitor.h:110
V0Monitor::bookProfile
MonitorElement * bookProfile(DQMStore::IBooker &ibooker, std::string name, std::string title, std::string xaxis, std::string yaxis, MEbinning xbinning, MEbinning ybinning)
Definition: V0Monitor.cc:108
V0Monitor::v0_mass_
MonitorElement * v0_mass_
Definition: V0Monitor.h:90
Candidate.h
LaserClient_cfi.xaxis
xaxis
Definition: LaserClient_cfi.py:49
ParameterSet.h
V0Monitor::v0_pt_
MonitorElement * v0_pt_
Definition: V0Monitor.h:91
edm::Event
Definition: Event.h:73
V0Monitor::v0Token_
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > v0Token_
Definition: V0Monitor.h:77
V0Monitor::eta_binning_
MEbinning eta_binning_
Definition: V0Monitor.h:131
V0Monitor::v0_Lxy_vs_BX_
MonitorElement * v0_Lxy_vs_BX_
Definition: V0Monitor.h:111
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
V0Monitor::ls_binning_
MEbinning ls_binning_
Definition: V0Monitor.h:136
V0Monitor::forceSCAL_
const bool forceSCAL_
Definition: V0Monitor.h:83