CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QcdUeDQM.h
Go to the documentation of this file.
1 
2 /*
3  This is the DQM code for UE physics plots
4  11/12/2009 Sunil Bansal
5 */
6 
7 #ifndef QcdUeDQM_H
8 #define QcdUeDQM_H
9 
32 #include <TMath.h>
33 #include <vector>
34 #define PI 3.141592654
35 class DQMStore;
36 class MonitorElement;
37 class TrackerGeometry;
38 class TH1F;
39 class TH2F;
40 class TH3F;
41 class TProfile;
42 
43 class PtSorter {
44  public:
45  template <class T>
46  bool operator()(const T &a, const T &b) {
47  return (a.pt() > b.pt());
48  }
49 };
50 
51 class QcdUeDQM : public edm::EDAnalyzer {
52  public:
54  virtual ~QcdUeDQM();
55 
56  void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup);
57  void beginJob(void);
59  const edm::EventSetup &iSetup);
60  void beginRun(const edm::Run &r, const edm::EventSetup &iSetup);
61  void endJob(void);
62  void endRun(const edm::Run &r, const edm::EventSetup &iSetup);
64  const edm::EventSetup &iSetup);
65 
66  private:
67  bool isHltConfigSuccessful_; // to prevent processing in case of problems
68 
69  void book1D(std::vector<MonitorElement *> &mes, const std::string &name,
70  const std::string &title, int nx, double x1, double x2,
71  bool sumw2 = 1, bool sbox = 1);
72  void book2D(std::vector<MonitorElement *> &mes, const std::string &name,
73  const std::string &title, int nx, double x1, double x2, int ny,
74  double y1, double y2, bool sumw2 = 1, bool sbox = 1);
75  void bookProfile(std::vector<MonitorElement *> &mes, const std::string &name,
76  const std::string &title, int nx, double x1, double x2,
77  double y1, double y2, bool sumw2 = 1, bool sbox = 1);
78  void create1D(std::vector<TH1F *> &mes, const std::string &name,
79  const std::string &title, int nx, double x1, double x2,
80  bool sumw2 = 1, bool sbox = 1);
81  void create2D(std::vector<TH2F *> &mes, const std::string &name,
82  const std::string &title, int nx, double x1, double x2, int ny,
83  double y1, double y2, bool sumw2 = 1, bool sbox = 1);
84  void createProfile(std::vector<TProfile *> &mes, const std::string &name,
85  const std::string &title, int nx, double x1, double x2,
86  double y1, double y2, bool sumw2 = 1, bool sbox = 1);
87  void createHistos();
88  void fill1D(std::vector<TH1F *> &hs, double val, double w = 1.);
89  void fill1D(std::vector<MonitorElement *> &mes, double val, double w = 1.);
90  void fill2D(std::vector<TH2F *> &hs, double valx, double valy, double w = 1.);
91  void fill2D(std::vector<MonitorElement *> &mes, double valx, double valy,
92  double w = 1.);
93  void fillProfile(std::vector<TProfile *> &hs, double valx, double valy,
94  double w = 1.);
95  void fillProfile(std::vector<MonitorElement *> &mes, double valx, double valy,
96  double w = 1.);
97  void fill3D(std::vector<TH3F *> &hs, int gbin, double w = 1.);
98  void setLabel1D(std::vector<MonitorElement *> &mes);
99 
100  bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs,
101  const reco::Vertex &vtx, int sizevtx);
102  void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup);
103 
104  bool fillVtxPlots(const reco::BeamSpot *bs,
106  void fillpTMaxRelated(const std::vector<const reco::Track *> &track);
107 
109  const edm::Handle<reco::TrackJetCollection> trackJets);
110 
111  // void fillCaloJetSpectra(const
112  // edm::Handle<reco::CaloJetCollection> caloJets);
113 
115  const std::vector<const reco::Track *> &track,
116  const edm::Handle<reco::TrackJetCollection> &trackJets);
117  // void fillUE_with_CaloJets(const std::vector<const
118  // reco::Track *> &track, const edm::Handle<reco::CaloJetCollection>
119  // &caloJets);
120  void fillUE_with_MaxpTtrack(const std::vector<const reco::Track *> &track);
121 
122  template <typename TYPE>
124  const edm::Event &event) const;
125  template <typename TYPE>
127  const edm::Event &event) const;
128 
130 
131  std::string hltResName_; // HLT trigger results name
132  std::vector<std::string> hltProcNames_; // HLT process name(s)
133  std::vector<std::string> hltTrgNames_; // HLT trigger name(s)
134 
135  std::vector<int> hltTrgBits_; // HLT trigger bit(s)
136  std::vector<bool> hltTrgDeci_; // HLT trigger descision(s)
137  std::vector<std::string> hltTrgUsedNames_; // HLT used trigger name(s)
138  std::string hltUsedResName_; // used HLT trigger results name
139  int verbose_; // verbosity (0=debug,1=warn,2=error,3=throw)
140  const TrackerGeometry *tgeo_; // tracker geometry
141  DQMStore *theDbe_; // dqm store
142  MonitorElement *repSumMap_; // report summary map
143  MonitorElement *repSummary_; // report summary
144  MonitorElement *h2TrigCorr_; // trigger correlation plot
145 
146  std::vector<MonitorElement *> hNevts_;
147  std::vector<MonitorElement *> hNtrackerLayer_;
148  std::vector<MonitorElement *> hNtrackerPixelLayer_;
149  std::vector<MonitorElement *> hNtrackerStripPixelLayer_;
150  std::vector<MonitorElement *> hRatioPtErrorPt_;
151  std::vector<MonitorElement *> hTrkPt_;
152  std::vector<MonitorElement *> hTrkEta_;
153  std::vector<MonitorElement *> hTrkPhi_;
154  std::vector<MonitorElement *> hNgoodTrk_;
155  std::vector<MonitorElement *> hGoodTrkPt500_;
156  std::vector<MonitorElement *> hGoodTrkEta500_;
157  std::vector<MonitorElement *> hGoodTrkPhi500_;
158  std::vector<MonitorElement *> hGoodTrkPt900_;
159  std::vector<MonitorElement *> hGoodTrkEta900_;
160  std::vector<MonitorElement *> hGoodTrkPhi900_;
161  std::vector<MonitorElement *> hRatioDxySigmaDxyBS_;
162  std::vector<MonitorElement *> hRatioDxySigmaDxyPV_;
163  std::vector<MonitorElement *> hRatioDzSigmaDzBS_;
164  std::vector<MonitorElement *> hRatioDzSigmaDzPV_;
165  std::vector<MonitorElement *> hTrkChi2_;
166  std::vector<MonitorElement *> hTrkNdof_;
167 
168  std::vector<MonitorElement *> hNvertices_; // Number of vertices
169  std::vector<MonitorElement *> hVertex_z_; // z-position of vertex
170  std::vector<MonitorElement *> hVertex_y_;
171  std::vector<MonitorElement *> hVertex_x_;
172  std::vector<MonitorElement *> hVertex_ndof_;
173  std::vector<MonitorElement *> hVertex_rho_;
174  std::vector<MonitorElement *> hVertex_z_bs_;
175 
176  std::vector<MonitorElement *> hBeamSpot_z_; // z-position of vertex
177  std::vector<MonitorElement *> hBeamSpot_y_;
178  std::vector<MonitorElement *> hBeamSpot_x_;
179 
180  std::vector<MonitorElement *> hLeadingTrack_pTSpectrum_; // pt spectrum of
181  // leading track
182  std::vector<MonitorElement *> hLeadingTrack_etaSpectrum_; // eta spectrum of
183  // leading track
184  std::vector<MonitorElement *> hLeadingTrack_phiSpectrum_; // phi spectrum of
185  // leading track
186 
187  std::vector<MonitorElement *> hChargedJetMulti_; // Number of charged jets
188  std::vector<MonitorElement *> hChargedJetConstituent_; // Number of
189  // constituent of
190  // charged jets
191  std::vector<MonitorElement *> hLeadingChargedJet_pTSpectrum_; // pT spectrum
192  // of charged
193  // jets
194 
195  /*std::vector<MonitorElement*> hCaloJetMulti_; // Number of calo
196  jets
197  std::vector<MonitorElement*> hCaloJetConstituent_; // Number of
198  constituent of calo jets
199  std::vector<MonitorElement*> hLeadingCaloJet_pTSpectrum_; // pT
200  spectrum of calo jets
201  std::vector<MonitorElement*> hLeadingCaloJet_etaSpectrum_; //eta
202  spectrum of leading calo jet
203  std::vector<MonitorElement*> hLeadingCaloJet_phiSpectrum_; //phi
204  spectrum of leading calo jet
205  */
206  std::vector<MonitorElement *> hdPhi_maxpTTrack_tracks_; // delta phi between
207  // leading track and
208  // tracks
209  // std::vector<MonitorElement*> hdPhi_caloJet_tracks_; // delta phi between
210  // leading calo jet and tracks
211  std::vector<MonitorElement *> hdPhi_chargedJet_tracks_; // delta phi between
212  // leading charged
213  // jet and tracks
214 
215  std::vector<MonitorElement *> hLeadingChargedJet_etaSpectrum_; // eta
216  // spectrum of
217  // leading
218  // charged jet
219  std::vector<MonitorElement *> hLeadingChargedJet_phiSpectrum_; // phi
220  // spectrum of
221  // leading
222  // charged jet
223 
224  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Toward500_; // number of
225  // tracks in
226  // toward region
227  // of leadin
228  // track (pT >
229  // 500 MeV)
230  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Transverse500_; // number of
231  // tracks in
232  // transverse
233  // region of
234  // leadin
235  // track (pT
236  // > 500 MeV)
237  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Away500_; // number of tracks
238  // in away region
239  // of leadin track
240  // (pT > 500 MeV)
241  /* std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Toward500_; // number
242  of tracks in toward region of leadin calo Jet (pT > 500 MeV)
243  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Transverse500_; //
244  number of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
245  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Away500_; // number of
246  tracks in away region of leadin calo Jet (pT > 500 MeV)
247 */
248  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Toward500_; // number of
249  // tracks in
250  // toward
251  // region of
252  // leadin calo
253  // Jet (pT >
254  // 500 MeV)
255  std::vector<MonitorElement *>
256  hdNdEtadPhi_trackJet_Transverse500_; // number of tracks in transverse
257  // region of leadin calo Jet (pT >
258  // 500 MeV)
259  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Away500_; // number of
260  // tracks in
261  // away region
262  // of leadin
263  // calo Jet (pT
264  // > 500 MeV)
265 
266  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Toward500_; // pT sum of
267  // tracks in
268  // toward
269  // region of
270  // leadin
271  // track (pT >
272  // 500 MeV)
273  std::vector<MonitorElement *>
274  hpTSumdEtadPhi_pTMax_Transverse500_; // pT sum of tracks in transverse
275  // region of leadin track (pT > 500
276  // MeV)
277  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Away500_; // pT sum of
278  // tracks in
279  // away region
280  // of leadin
281  // track (pT >
282  // 500 MeV)
283  /* std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Toward500_; // pT
284  sum of tracks in toward region of leadin calo Jet (pT > 500 MeV)
285  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Transverse500_; //
286  pT sum of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
287  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Away500_; // pT sum
288  of tracks in away region of leadin calo Jet (pT > 500 MeV)
289 */
290  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Toward500_; // pT sum
291  // of
292  // tracks
293  // in
294  // toward
295  // region
296  // of
297  // leadin
298  // calo Jet
299  // (pT >
300  // 500 MeV)
301  std::vector<MonitorElement *>
302  hpTSumdEtadPhi_trackJet_Transverse500_; // pT sum of tracks in transverse
303  // region of leadin calo Jet (pT
304  // > 500 MeV)
305  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Away500_; // pT sum of
306  // tracks in
307  // away
308  // region of
309  // leadin
310  // calo Jet
311  // (pT > 500
312  // MeV)
313 
314  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Toward900_; // number of
315  // tracks in
316  // toward region
317  // of leadin
318  // track (pT >
319  // 900 MeV)
320  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Transverse900_; // number of
321  // tracks in
322  // transverse
323  // region of
324  // leadin
325  // track (pT
326  // > 900 MeV)
327  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Away900_; // number of tracks
328  // in away region
329  // of leadin track
330  // (pT > 900 MeV)
331  /* std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Toward900_; // number
332  of tracks in toward region of leadin calo Jet (pT > 900 MeV)
333  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Transverse900_; //
334  number of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
335  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Away900_; // number of
336  tracks in away region of leadin calo Jet (pT > 900 MeV)
337 */
338  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Toward900_; // number of
339  // tracks in
340  // toward
341  // region of
342  // leadin calo
343  // Jet (pT >
344  // 900 MeV)
345  std::vector<MonitorElement *>
346  hdNdEtadPhi_trackJet_Transverse900_; // number of tracks in transverse
347  // region of leadin calo Jet (pT >
348  // 900 MeV)
349  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Away900_; // number of
350  // tracks in
351  // away region
352  // of leadin
353  // calo Jet (pT
354  // > 900 MeV)
355 
356  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Toward900_; // pT sum of
357  // tracks in
358  // toward
359  // region of
360  // leadin
361  // track (pT >
362  // 900 MeV)
363  std::vector<MonitorElement *>
364  hpTSumdEtadPhi_pTMax_Transverse900_; // pT sum of tracks in transverse
365  // region of leadin track (pT > 900
366  // MeV)
367  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Away900_; // pT sum of
368  // tracks in
369  // away region
370  // of leadin
371  // track (pT >
372  // 900 MeV)
373  /* std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Toward900_; // pT
374  sum of tracks in toward region of leadin calo Jet (pT > 900 MeV)
375  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Transverse900_; //
376  pT sum of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
377  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Away900_; // pT sum
378  of tracks in away region of leadin calo Jet (pT > 900 MeV)
379 */
380  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Toward900_; // pT sum
381  // of
382  // tracks
383  // in
384  // toward
385  // region
386  // of
387  // leadin
388  // calo Jet
389  // (pT >
390  // 900 MeV)
391  std::vector<MonitorElement *>
392  hpTSumdEtadPhi_trackJet_Transverse900_; // pT sum of tracks in transverse
393  // region of leadin calo Jet (pT
394  // > 900 MeV)
395  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Away900_; // pT sum of
396  // tracks in
397  // away
398  // region of
399  // leadin
400  // calo Jet
401  // (pT > 900
402  // MeV)
403 
404  double ptMin_;
405  double minRapidity_;
406  double maxRapidity_;
407  double tip_;
408  double lip_;
409  double diffvtxbs_;
410  double ptErr_pt_;
411  double vtxntk_;
412  int minHit_;
416  double maxChi2_;
417  bool bsuse_;
419  double bsPos_;
425  std::vector<reco::TrackBase::TrackQuality> quality_;
426  std::vector<reco::TrackBase::TrackAlgorithm> algorithm_;
427  typedef std::vector<const reco::Track *> container;
430 };
431 
432 //--------------------------------------------------------------------------------------------------
433 template <typename TYPE>
436  const edm::Event &event) const {
437  // Try to access data collection from EDM file. We check if we really get just
438  // one
439  // product with the given name. If not we throw an exception.
440 
441  event.getByLabel(edm::InputTag(name), prod);
442  if (!prod.isValid())
443  throw edm::Exception(edm::errors::Configuration, "QcdUeDQM::GetProduct()\n")
444  << "Collection with label " << name << " is not valid" << std::endl;
445 }
446 
447 //--------------------------------------------------------------------------------------------------
448 template <typename TYPE>
451  const edm::Event &event) const {
452  // Try to safely access data collection from EDM file. We check if we really
453  // get just one
454  // product with the given name. If not, we return false.
455 
456  if (name.size() == 0) return false;
457 
458  try {
459  event.getByLabel(edm::InputTag(name), prod);
460  if (!prod.isValid()) return false;
461  }
462  catch (...) {
463  return false;
464  }
465  return true;
466 }
467 
468 //--------------------------------------------------------------------------------------------------
469 #endif
470 
471 // Local Variables:
472 // show-trailing-whitespace: t
473 // truncate-lines: t
474 // End:
bool bsuse_
Definition: QcdUeDQM.h:417
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:338
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:654
bool operator()(const T &a, const T &b)
Definition: QcdUeDQM.h:46
dictionary parameters
Definition: Parameters.py:2
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:434
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:392
int verbose_
Definition: QcdUeDQM.h:139
void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:1208
const double w
Definition: UKUtility.cc:23
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:673
bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
Definition: QcdUeDQM.cc:749
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:166
void fill3D(std::vector< TH3F * > &hs, int gbin, double w=1.)
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:157
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:230
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:367
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:219
virtual ~QcdUeDQM()
Definition: QcdUeDQM.cc:115
std::vector< MonitorElement * > hTrkChi2_
Definition: QcdUeDQM.h:165
void beginJob(void)
Definition: QcdUeDQM.cc:176
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:174
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:159
void createHistos()
Definition: QcdUeDQM.cc:323
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:158
std::string hltUsedResName_
Definition: QcdUeDQM.h:138
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:305
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:395
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:137
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:152
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:259
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
Definition: QcdUeDQM.h:422
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:274
bool fillVtxPlots(const reco::BeamSpot *bs, const edm::Handle< reco::VertexCollection > vtxColl)
Definition: QcdUeDQM.cc:862
edm::EDGetTokenT< reco::CaloJetCollection > caloJetLabel_
Definition: QcdUeDQM.h:420
void fillProfile(std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:726
void fillUE_with_ChargedJets(const std::vector< const reco::Track * > &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
Definition: QcdUeDQM.cc:1026
double ptErr_pt_
Definition: QcdUeDQM.h:410
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:215
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:327
void setLabel1D(std::vector< MonitorElement * > &mes)
Definition: QcdUeDQM.cc:694
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:182
void beginRun(const edm::Run &r, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:194
bool requirePIX1_
Definition: QcdUeDQM.h:414
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:191
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:160
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:67
void fillUE_with_MaxpTtrack(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:943
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:133
edm::EDGetTokenT< reco::TrackJetCollection > chargedJetLabel_
Definition: QcdUeDQM.h:421
void createProfile(std::vector< TProfile * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, double y1, double y2, bool sumw2=1, bool sbox=1)
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:290
MonitorElement * repSumMap_
Definition: QcdUeDQM.h:142
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:172
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:173
int iEvent
Definition: GenABIO.cc:230
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:120
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:147
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:163
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:132
std::string hltResName_
Definition: QcdUeDQM.h:131
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:186
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:144
double bsPos_
Definition: QcdUeDQM.h:419
std::vector< MonitorElement * > hVertex_y_
Definition: QcdUeDQM.h:170
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:266
double maxChi2_
Definition: QcdUeDQM.h:416
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:135
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:380
HLTConfigProvider hltConfig
Definition: QcdUeDQM.h:129
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:349
void book2D(std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, int ny, double y1, double y2, bool sumw2=1, bool sbox=1)
Definition: QcdUeDQM.cc:280
double lip_
Definition: QcdUeDQM.h:408
reco::Vertex vtx1
Definition: QcdUeDQM.h:429
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:171
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:184
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:187
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:426
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
bool isValid() const
Definition: HandleBase.h:76
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:356
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:346
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:320
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:155
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:224
std::vector< const reco::Track * > container
Definition: QcdUeDQM.h:427
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:153
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:314
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:206
edm::EDGetTokenT< reco::BeamSpot > bsLabel_
Definition: QcdUeDQM.h:424
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:248
edm::EDGetTokenT< reco::VertexCollection > vtxLabel_
Definition: QcdUeDQM.h:423
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:168
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:237
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:302
bool allowTriplets_
Definition: QcdUeDQM.h:418
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:154
double ptMin_
Definition: QcdUeDQM.h:404
MonitorElement * repSummary_
Definition: QcdUeDQM.h:143
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:277
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:177
double diffvtxbs_
Definition: QcdUeDQM.h:409
double minRapidity_
Definition: QcdUeDQM.h:405
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:180
int min3DHit_
Definition: QcdUeDQM.h:415
double b
Definition: hdecay.h:120
void create1D(std::vector< TH1F * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:161
container selected_
Definition: QcdUeDQM.h:428
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:162
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:211
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:149
double pxlLayerMinCut_
Definition: QcdUeDQM.h:413
void bookProfile(std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, double y1, double y2, bool sumw2=1, bool sbox=1)
Definition: QcdUeDQM.cc:306
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:146
void create2D(std::vector< TH2F * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, int ny, double y1, double y2, bool sumw2=1, bool sbox=1)
QcdUeDQM(const edm::ParameterSet &parameters)
Definition: QcdUeDQM.cc:55
double a
Definition: hdecay.h:121
std::vector< MonitorElement * > hChargedJetConstituent_
Definition: QcdUeDQM.h:188
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:178
bool getProductSafe(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:449
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:151
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:156
void fillChargedJetSpectra(const edm::Handle< reco::TrackJetCollection > trackJets)
Definition: QcdUeDQM.cc:906
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:425
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:256
DQMStore * theDbe_
Definition: QcdUeDQM.h:141
void fillpTMaxRelated(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:887
double maxRapidity_
Definition: QcdUeDQM.h:406
void fill2D(std::vector< TH2F * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:705
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:169
const TrackerGeometry * tgeo_
Definition: QcdUeDQM.h:140
double vtxntk_
Definition: QcdUeDQM.h:411
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:164
long double T
int minHit_
Definition: QcdUeDQM.h:412
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:150
std::vector< MonitorElement * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:148
void endRun(const edm::Run &r, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:666
void endJob(void)
Definition: QcdUeDQM.cc:650
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:176
Definition: Run.h:41
double tip_
Definition: QcdUeDQM.h:407
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:364
void book1D(std::vector< MonitorElement * > &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=1, bool sbox=1)
Definition: QcdUeDQM.cc:255
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:136