CMS 3D CMS Logo

NoBPTXMonitor.cc
Go to the documentation of this file.
2 
3 // -----------------------------
4 // constructors and destructor
5 // -----------------------------
6 
8  folderName_ ( iConfig.getParameter<std::string>("FolderName") )
9  , jetToken_ ( consumes<reco::CaloJetCollection> (iConfig.getParameter<edm::InputTag>("jets") ) )
10  , muonToken_ ( consumes<reco::TrackCollection> (iConfig.getParameter<edm::InputTag>("muons") ) )
11  , jetE_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetEBinning") )
12  , jetE_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("jetEPSet") ) )
13  , jetEta_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("jetEtaPSet") ) )
14  , jetPhi_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("jetPhiPSet") ) )
15  , muonPt_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muonPtBinning") )
16  , muonPt_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("muonPtPSet") ) )
17  , muonEta_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("muonEtaPSet") ) )
18  , muonPhi_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("muonPhiPSet") ) )
19  , ls_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("lsPSet") ) )
20  , bx_binning_ ( getHistoLSPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("bxPSet") ) )
21  , num_genTriggerEventFlag_(new GenericTriggerEventFlag(iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"),consumesCollector(), *this))
22  , den_genTriggerEventFlag_(new GenericTriggerEventFlag(iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"),consumesCollector(), *this))
23  , jetSelection_ ( iConfig.getParameter<std::string>("jetSelection") )
24  , muonSelection_ ( iConfig.getParameter<std::string>("muonSelection") )
25  , njets_ ( iConfig.getParameter<unsigned int>("njets" ) )
26  , nmuons_ ( iConfig.getParameter<unsigned int>("nmuons" ) )
27 {
28 
29  jetENoBPTX_.numerator = nullptr;
30  jetENoBPTX_.denominator = nullptr;
33  jetEVsLS_.numerator = nullptr;
34  jetEVsLS_.denominator = nullptr;
35  jetEVsBX_.numerator = nullptr;
36  jetEtaNoBPTX_.numerator = nullptr;
37  jetEtaNoBPTX_.denominator = nullptr;
38  jetEtaVsLS_.numerator = nullptr;
39  jetEtaVsBX_.numerator = nullptr;
40  jetPhiNoBPTX_.numerator = nullptr;
41  jetPhiNoBPTX_.denominator = nullptr;
42  jetPhiVsLS_.numerator = nullptr;
43  jetPhiVsBX_.numerator = nullptr;
44 
45  muonPtNoBPTX_.numerator = nullptr;
46  muonPtNoBPTX_.denominator = nullptr;
49  muonPtVsLS_.numerator = nullptr;
50  muonPtVsBX_.numerator = nullptr;
51  muonEtaNoBPTX_.numerator = nullptr;
52  muonEtaNoBPTX_.denominator = nullptr;
53  muonEtaVsLS_.numerator = nullptr;
54  muonEtaVsBX_.numerator = nullptr;
55  muonPhiNoBPTX_.numerator = nullptr;
56  muonPhiNoBPTX_.denominator = nullptr;
57  muonPhiVsLS_.numerator = nullptr;
58  muonPhiVsBX_.numerator = nullptr;
59 
60 }
61 
63 
65 {
66  return NoBPTXbinning{
67  pset.getParameter<unsigned int>("nbins"),
68  pset.getParameter<double>("xmin"),
69  pset.getParameter<double>("xmax"),
70  };
71 }
72 
74 {
75  return NoBPTXbinning{
76  pset.getParameter<unsigned int>("nbins"),
77  0.,
78  double(pset.getParameter<unsigned int>("nbins"))
79  };
80 }
81 
82 void NoBPTXMonitor::setNoBPTXTitle(NoBPTXME& me, const std::string& titleX, const std::string& titleY, bool bookDen)
83 {
84  me.numerator->setAxisTitle(titleX,1);
85  me.numerator->setAxisTitle(titleY,2);
86  if(bookDen) {
87  me.denominator->setAxisTitle(titleX,1);
88  me.denominator->setAxisTitle(titleY,2);
89  }
90 
91 }
92 
93 void NoBPTXMonitor::bookNoBPTX(DQMStore::IBooker &ibooker, NoBPTXME& me, const std::string& histname, const std::string& histtitle, int nbins, double min, double max)
94 {
95  me.numerator = ibooker.book1D(histname+"_numerator", histtitle+" (numerator)", nbins, min, max);
96  me.denominator = ibooker.book1D(histname+"_denominator", histtitle+" (denominator)", nbins, min, max);
97 }
98 void NoBPTXMonitor::bookNoBPTX(DQMStore::IBooker &ibooker, NoBPTXME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binning)
99 {
100  int nbins = binning.size()-1;
101  std::vector<float> fbinning(binning.begin(),binning.end());
102  float* arr = &fbinning[0];
103  me.numerator = ibooker.book1D(histname+"_numerator", histtitle+" (numerator)", nbins, arr);
104  me.denominator = ibooker.book1D(histname+"_denominator", histtitle+" (denominator)", nbins, arr);
105 }
106 void NoBPTXMonitor::bookNoBPTX(DQMStore::IBooker &ibooker, NoBPTXME& me, const std::string& histname, const std::string& histtitle, int nbinsX, double xmin, double xmax, double ymin, double ymax, bool bookDen)
107 {
108  me.numerator = ibooker.bookProfile(histname+"_numerator", histtitle+" (numerator)", nbinsX, xmin, xmax, ymin, ymax);
109  if(bookDen) me.denominator = ibooker.bookProfile(histname+"_denominator", histtitle+" (denominator)", nbinsX, xmin, xmax, ymin, ymax);
110 }
111 void NoBPTXMonitor::bookNoBPTX(DQMStore::IBooker &ibooker, NoBPTXME& me, const std::string& histname, const std::string& histtitle, int nbinsX, double xmin, double xmax, int nbinsY, double ymin, double ymax)
112 {
113  me.numerator = ibooker.book2D(histname+"_numerator", histtitle+" (numerator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
114  me.denominator = ibooker.book2D(histname+"_denominator", histtitle+" (denominator)", nbinsX, xmin, xmax, nbinsY, ymin, ymax);
115 }
116 void NoBPTXMonitor::bookNoBPTX(DQMStore::IBooker &ibooker, NoBPTXME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX, const std::vector<double>& binningY)
117 {
118  int nbinsX = binningX.size()-1;
119  std::vector<float> fbinningX(binningX.begin(),binningX.end());
120  float* arrX = &fbinningX[0];
121  int nbinsY = binningY.size()-1;
122  std::vector<float> fbinningY(binningY.begin(),binningY.end());
123  float* arrY = &fbinningY[0];
124 
125  me.numerator = ibooker.book2D(histname+"_numerator", histtitle+" (numerator)", nbinsX, arrX, nbinsY, arrY);
126  me.denominator = ibooker.book2D(histname+"_denominator", histtitle+" (denominator)", nbinsX, arrX, nbinsY, arrY);
127 }
128 
130  edm::Run const & iRun,
131  edm::EventSetup const & iSetup)
132 {
133 
134  std::string histname, histtitle;
135  bool bookDen;
136 
137  std::string currentFolder = folderName_ ;
138  ibooker.setCurrentFolder(currentFolder);
139 
140  histname = "jetE"; histtitle = "jetE";
141  bookDen = true;
143  setNoBPTXTitle(jetENoBPTX_,"Jet E [GeV]","Events / [GeV]", bookDen);
144 
145  histname = "jetE_variable"; histtitle = "jetE";
146  bookDen = true;
148  setNoBPTXTitle(jetENoBPTX_variableBinning_,"Jet E [GeV]","Events / [GeV]", bookDen);
149 
150  histname = "jetEVsLS"; histtitle = "jetE vs LS";
151  bookDen = true;
153  setNoBPTXTitle(jetEVsLS_,"LS","Jet E [GeV]", bookDen);
154 
155  histname = "jetEVsBX"; histtitle = "jetE vs BX";
156  bookDen = false;
158  setNoBPTXTitle(jetEVsBX_,"BX","Jet E [GeV]", bookDen);
159 
160  histname = "jetEta"; histtitle = "jetEta";
161  bookDen = true;
163  setNoBPTXTitle(jetEtaNoBPTX_,"Jet #eta","Events", bookDen);
164 
165  histname = "jetEtaVsLS"; histtitle = "jetEta vs LS";
166  bookDen = false;
168  setNoBPTXTitle(jetEtaVsLS_,"LS","Jet #eta", bookDen);
169 
170  histname = "jetEtaVsBX"; histtitle = "jetEta vs BX";
171  bookDen = false;
173  setNoBPTXTitle(jetEtaVsBX_,"BX","Jet #eta", bookDen);
174 
175  histname = "jetPhi"; histtitle = "jetPhi";
176  bookDen = true;
178  setNoBPTXTitle(jetPhiNoBPTX_,"Jet #phi","Events", bookDen);
179 
180  histname = "jetPhiVsLS"; histtitle = "jetPhi vs LS";
181  bookDen = false;
183  setNoBPTXTitle(jetPhiVsLS_,"LS","Jet #phi", bookDen);
184 
185  histname = "jetPhiVsBX"; histtitle = "jetPhi vs BX";
186  bookDen = false;
188  setNoBPTXTitle(jetPhiVsBX_,"BX","Jet #phi", bookDen);
189 
190  histname = "muonPt"; histtitle = "muonPt";
191  bookDen = true;
193  setNoBPTXTitle(muonPtNoBPTX_,"DisplacedStandAlone Muon p_{T} [GeV]","Events / [GeV]", bookDen);
194 
195  histname = "muonPt_variable"; histtitle = "muonPt";
196  bookDen = true;
198  setNoBPTXTitle(muonPtNoBPTX_variableBinning_,"DisplacedStandAlone Muon p_{T} [GeV]","Events / [GeV]", bookDen);
199 
200  histname = "muonPtVsLS"; histtitle = "muonPt vs LS";
201  bookDen = false;
203  setNoBPTXTitle(muonPtVsLS_,"LS","DisplacedStandAlone Muon p_{T} [GeV]", bookDen);
204 
205  histname = "muonPtVsBX"; histtitle = "muonPt vs BX";
206  bookDen = false;
208  setNoBPTXTitle(muonPtVsBX_,"BX","DisplacedStandAlone Muon p_{T} [GeV]", bookDen);
209 
210  histname = "muonEta"; histtitle = "muonEta";
211  bookDen = true;
213  setNoBPTXTitle(muonEtaNoBPTX_,"DisplacedStandAlone Muon #eta","Events", bookDen);
214 
215  histname = "muonEtaVsLS"; histtitle = "muonEta vs LS";
216  bookDen = false;
218  setNoBPTXTitle(muonEtaVsLS_,"LS","DisplacedStandAlone Muon #eta", bookDen);
219 
220  histname = "muonEtaVsBX"; histtitle = "muonEta vs BX";
221  bookDen = false;
223  setNoBPTXTitle(muonEtaVsBX_,"BX","DisplacedStandAlone Muon #eta", bookDen);
224 
225  histname = "muonPhi"; histtitle = "muonPhi";
226  bookDen = true;
228  setNoBPTXTitle(muonPhiNoBPTX_,"DisplacedStandAlone Muon #phi","Events", bookDen);
229 
230  histname = "muonPhiVsLS"; histtitle = "muonPhi vs LS";
231  bookDen = false;
233  setNoBPTXTitle(muonPhiVsLS_,"LS","DisplacedStandAlone Muon #phi", bookDen);
234 
235  histname = "muonPhiVsBX"; histtitle = "muonPhi vs BX";
236  bookDen = false;
238  setNoBPTXTitle(muonPhiVsBX_,"BX","DisplacedStandAlone Muon #phi", bookDen);
239 
240  // Initialize the GenericTriggerEventFlag
241  if ( num_genTriggerEventFlag_ && num_genTriggerEventFlag_->on() ) num_genTriggerEventFlag_->initRun( iRun, iSetup );
242  if ( den_genTriggerEventFlag_ && den_genTriggerEventFlag_->on() ) den_genTriggerEventFlag_->initRun( iRun, iSetup );
243 
244 }
245 
247 
248  // Filter out events if Trigger Filtering is requested
249  if (den_genTriggerEventFlag_->on() && ! den_genTriggerEventFlag_->accept( iEvent, iSetup) ) return;
250 
251  int ls = iEvent.id().luminosityBlock();
252  int bx = iEvent.bunchCrossing();
253 
255  iEvent.getByToken( jetToken_, jetHandle );
256  std::vector<reco::CaloJet> jets;
257  if ((unsigned int)(jetHandle->size()) < njets_ ) return;
258  for ( auto const & j : *jetHandle ) {
259  if ( jetSelection_( j ) ) jets.push_back(j);
260  }
261  if ((unsigned int)(jets.size()) < njets_ ) return;
262  double jetE = -999;
263  double jetEta = -999;
264  double jetPhi = -999;
265  if(!jets.empty()){
266  jetE = jets[0].energy();
267  jetEta = jets[0].eta();
268  jetPhi = jets[0].phi();
269  }
270 
272  iEvent.getByToken( muonToken_, DSAHandle );
273  if ((unsigned int)(DSAHandle->size()) < nmuons_ ) return;
274  std::vector<reco::Track> muons;
275  for ( auto const & m : *DSAHandle ) {
276  if ( muonSelection_( m ) ) muons.push_back(m);
277  }
278  if ((unsigned int)(muons.size()) < nmuons_ ) return;
279  double muonPt = -999;
280  double muonEta = -999;
281  double muonPhi = -999;
282  if(!muons.empty()){
283  muonPt = muons[0].pt();
284  muonEta = muons[0].eta();
285  muonPhi = muons[0].phi();
286  }
287 
288  // filling histograms (denominator)
289  jetENoBPTX_.denominator -> Fill(jetE);
291  jetEVsLS_.denominator -> Fill(ls, jetE);
292  jetEtaNoBPTX_.denominator -> Fill(jetEta);
293  jetPhiNoBPTX_.denominator -> Fill(jetPhi);
294  muonPtNoBPTX_.denominator -> Fill(muonPt);
296  muonEtaNoBPTX_.denominator -> Fill(muonEta);
297  muonPhiNoBPTX_.denominator -> Fill(muonPhi);
298 
299  // filling histograms (numerator)
300  if (num_genTriggerEventFlag_->on() && ! num_genTriggerEventFlag_->accept( iEvent, iSetup) ) return;
301  jetENoBPTX_.numerator -> Fill(jetE);
303  jetEVsLS_.numerator -> Fill(ls, jetE);
304  jetEVsBX_.numerator -> Fill(bx, jetE);
305  jetEtaNoBPTX_.numerator -> Fill(jetEta);
306  jetEtaVsLS_.numerator -> Fill(ls, jetEta);
307  jetEtaVsBX_.numerator -> Fill(bx, jetEta);
308  jetPhiNoBPTX_.numerator -> Fill(jetPhi);
309  jetPhiVsLS_.numerator -> Fill(ls, jetPhi);
310  jetPhiVsBX_.numerator -> Fill(bx, jetPhi);
311  muonPtNoBPTX_.numerator -> Fill(muonPt);
313  muonPtVsLS_.numerator -> Fill(ls, muonPt);
314  muonPtVsBX_.numerator -> Fill(bx, muonPt);
315  muonEtaNoBPTX_.numerator -> Fill(muonEta);
316  muonEtaVsLS_.numerator -> Fill(ls, muonEta);
317  muonEtaVsBX_.numerator -> Fill(bx, muonEta);
318  muonPhiNoBPTX_.numerator -> Fill(muonPhi);
319  muonPhiVsLS_.numerator -> Fill(ls, muonPhi);
320  muonPhiVsBX_.numerator -> Fill(bx, muonPhi);
321 
322 }
323 
325 {
326  pset.add<unsigned int> ( "nbins", 200);
327  pset.add<double>( "xmin", -0.5 );
328  pset.add<double>( "xmax", 19999.5 );
329 }
330 
332 {
333  pset.add<unsigned int> ( "nbins", 2000);
334 }
335 
337 {
339  desc.add<std::string> ( "FolderName", "HLT/NoBPTX" );
340 
341  desc.add<edm::InputTag>( "jets", edm::InputTag("ak4CaloJets") );
342  desc.add<edm::InputTag>( "muons", edm::InputTag("displacedStandAloneMuons") );
343  desc.add<std::string>("jetSelection", "pt > 0");
344  desc.add<std::string>("muonSelection", "pt > 0");
345  desc.add<unsigned int>("njets", 0);
346  desc.add<unsigned int>("nmuons", 0);
347 
348  edm::ParameterSetDescription genericTriggerEventPSet;
349  genericTriggerEventPSet.add<bool>("andOr");
350  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi") );
351  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions",{});
352  genericTriggerEventPSet.add<bool>("andOrDcs", false);
353  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
354  genericTriggerEventPSet.add<std::string>("dbLabel","");
355  genericTriggerEventPSet.add<bool>("andOrHlt", true);
356  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT") );
357  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths",{});
358  genericTriggerEventPSet.add<std::string>("hltDBKey","");
359  genericTriggerEventPSet.add<bool>("errorReplyHlt",false);
360  genericTriggerEventPSet.add<unsigned int>("verbosityLevel",1);
361 
362  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
363  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
364 
367  edm::ParameterSetDescription jetEtaPSet;
368  edm::ParameterSetDescription jetPhiPSet;
369  edm::ParameterSetDescription muonPtPSet;
370  edm::ParameterSetDescription muonEtaPSet;
371  edm::ParameterSetDescription muonPhiPSet;
374  fillHistoPSetDescription(jetEPSet);
375  fillHistoPSetDescription(jetEtaPSet);
376  fillHistoPSetDescription(jetPhiPSet);
377  fillHistoPSetDescription(muonPtPSet);
378  fillHistoPSetDescription(muonEtaPSet);
379  fillHistoPSetDescription(muonPhiPSet);
380  fillHistoPSetDescription(lsPSet);
382  histoPSet.add<edm::ParameterSetDescription>("jetEPSet", jetEPSet);
383  histoPSet.add<edm::ParameterSetDescription>("jetEtaPSet", jetEtaPSet);
384  histoPSet.add<edm::ParameterSetDescription>("jetPhiPSet", jetPhiPSet);
385  histoPSet.add<edm::ParameterSetDescription>("muonPtPSet", muonPtPSet);
386  histoPSet.add<edm::ParameterSetDescription>("muonEtaPSet", muonEtaPSet);
387  histoPSet.add<edm::ParameterSetDescription>("muonPhiPSet", muonPhiPSet);
388  histoPSet.add<edm::ParameterSetDescription>("lsPSet", lsPSet);
389  histoPSet.add<edm::ParameterSetDescription>("bxPSet", bxPSet);
390  std::vector<double> bins = {0.,20.,40.,60.,80.,90.,100.,110.,120.,130.,140.,150.,160.,170.,180.,190.,200.,220.,240.,260.,280.,300.,350.,400.,450.,1000.};
391  histoPSet.add<std::vector<double> >("jetEBinning", bins);
392  histoPSet.add<std::vector<double> >("muonPtBinning", bins);
393 
394  desc.add<edm::ParameterSetDescription>("histoPSet",histoPSet);
395 
396  descriptions.add("NoBPTXMonitoring", desc);
397 }
398 
399 // Define this as a plug-in
static NoBPTXbinning getHistoPSet(const edm::ParameterSet &pset)
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > muonToken_
Definition: NoBPTXMonitor.h:82
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
NoBPTXME muonPtVsBX_
NoBPTXME jetEVsLS_
Definition: NoBPTXMonitor.h:97
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
std::string folderName_
Definition: NoBPTXMonitor.h:78
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:113
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:517
NoBPTXbinning jetE_binning_
Definition: NoBPTXMonitor.h:85
NoBPTXME jetPhiVsLS_
NoBPTXME muonEtaVsBX_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:15
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
Definition: NoBPTXMonitor.h:81
int bunchCrossing() const
Definition: EventBase.h:64
StringCutObjectSelector< reco::CaloJet, true > jetSelection_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
~NoBPTXMonitor() override
std::vector< double > jetE_variable_binning_
Definition: NoBPTXMonitor.h:84
MonitorElement * denominator
Definition: NoBPTXMonitor.h:53
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:40
NoBPTXbinning muonPt_binning_
Definition: NoBPTXMonitor.h:89
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void bookNoBPTX(DQMStore::IBooker &, NoBPTXME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax)
NoBPTXME muonEtaVsLS_
NoBPTXbinning bx_binning_
Definition: NoBPTXMonitor.h:93
StringCutObjectSelector< reco::Track, true > muonSelection_
NoBPTXME muonPtNoBPTX_variableBinning_
int iEvent
Definition: GenABIO.cc:224
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * numerator
Definition: NoBPTXMonitor.h:52
NoBPTXME jetEtaNoBPTX_
Definition: NoBPTXMonitor.h:99
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
vector< PseudoJet > jets
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
NoBPTXME jetEtaVsBX_
NoBPTXME muonPtNoBPTX_
NoBPTXME jetENoBPTX_
Definition: NoBPTXMonitor.h:95
T min(T a, T b)
Definition: MathUtil.h:58
NoBPTXME jetEVsBX_
Definition: NoBPTXMonitor.h:98
ParameterDescriptionBase * add(U const &iLabel, T const &value)
unsigned int njets_
NoBPTXME jetPhiVsBX_
NoBPTXME muonPhiVsBX_
unsigned int nmuons_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
NoBPTXbinning jetEta_binning_
Definition: NoBPTXMonitor.h:86
def ls(path, rec=False)
Definition: eostools.py:349
NoBPTXME jetENoBPTX_variableBinning_
Definition: NoBPTXMonitor.h:96
static NoBPTXbinning getHistoLSPSet(const edm::ParameterSet &pset)
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:109
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
NoBPTXbinning muonPhi_binning_
Definition: NoBPTXMonitor.h:91
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EventID id() const
Definition: EventBase.h:59
NoBPTXME muonEtaNoBPTX_
fixed size matrix
NoBPTXbinning muonEta_binning_
Definition: NoBPTXMonitor.h:90
HLT enums.
NoBPTXME jetEtaVsLS_
NoBPTXbinning jetPhi_binning_
Definition: NoBPTXMonitor.h:87
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
NoBPTXME jetPhiNoBPTX_
NoBPTXbinning ls_binning_
Definition: NoBPTXMonitor.h:92
NoBPTXMonitor(const edm::ParameterSet &)
Definition: NoBPTXMonitor.cc:7
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
NoBPTXME muonPhiVsLS_
void setNoBPTXTitle(NoBPTXME &me, const std::string &titleX, const std::string &titleY, bool bookDen)
std::vector< double > muonPt_variable_binning_
Definition: NoBPTXMonitor.h:88
NoBPTXME muonPtVsLS_
Definition: Run.h:45
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
NoBPTXME muonPhiNoBPTX_