CMS 3D CMS Logo

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 
33 
34 #include <TMath.h>
35 #include <vector>
36 
37 #define PI 3.141592654
38 
39 class TrackerGeometry;
40 class TH1F;
41 class TH2F;
42 class TH3F;
43 class TProfile;
44 
45 class PtSorter {
46 public:
47  template <class T>
48  bool operator()(const T &a, const T &b) {
49  return (a.pt() > b.pt());
50  }
51 };
52 
53 class QcdUeDQM : public DQMEDAnalyzer {
54 public:
56  ~QcdUeDQM() override;
57  void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override;
58  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
59  void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override;
60 
61 private:
62  bool isHltConfigSuccessful_; // to prevent processing in case of problems
63 
65  std::vector<MonitorElement *> &mes,
66  const std::string &name,
67  const std::string &title,
68  int nx,
69  double x1,
70  double x2,
71  bool sumw2 = true,
72  bool sbox = true);
74  std::vector<MonitorElement *> &mes,
75  const std::string &name,
76  const std::string &title,
77  int nx,
78  double x1,
79  double x2,
80  double y1,
81  double y2,
82  bool sumw2 = true,
83  bool sbox = true);
84  void fill1D(std::vector<TH1F *> &hs, double val, double w = 1.);
85  void fill1D(std::vector<MonitorElement *> &mes, double val, double w = 1.);
86  void fill2D(std::vector<TH2F *> &hs, double valx, double valy, double w = 1.);
87  void fill2D(std::vector<MonitorElement *> &mes, double valx, double valy, double w = 1.);
88  void fillProfile(std::vector<TProfile *> &hs, double valx, double valy, double w = 1.);
89  void fillProfile(std::vector<MonitorElement *> &mes, double valx, double valy, double w = 1.);
90  void fill3D(std::vector<TH3F *> &hs, int gbin, double w = 1.);
91  void setLabel1D(std::vector<MonitorElement *> &mes);
92 
93  bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx);
94  void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup);
96  void fillpTMaxRelated(const std::vector<const reco::Track *> &track);
98  void fillUE_with_ChargedJets(const std::vector<const reco::Track *> &track,
99  const edm::Handle<reco::TrackJetCollection> &trackJets);
100  void fillUE_with_MaxpTtrack(const std::vector<const reco::Track *> &track);
101 
102  template <typename TYPE>
103  void getProduct(const std::string name, edm::Handle<TYPE> &prod, const edm::Event &event) const;
104  template <typename TYPE>
106 
108 
109  std::string hltResName_; // HLT trigger results name
110  std::vector<std::string> hltProcNames_; // HLT process name(s)
111  std::vector<std::string> hltTrgNames_; // HLT trigger name(s)
112 
113  std::vector<int> hltTrgBits_; // HLT trigger bit(s)
114  std::vector<bool> hltTrgDeci_; // HLT trigger descision(s)
115  std::vector<std::string> hltTrgUsedNames_; // HLT used trigger name(s)
116  std::string hltUsedResName_; // used HLT trigger results name
117  int verbose_; // verbosity (0=debug,1=warn,2=error,3=throw)
118  const TrackerGeometry *tgeo_; // tracker geometry
119  MonitorElement *repSumMap_; // report summary map
120  MonitorElement *repSummary_; // report summary
121  MonitorElement *h2TrigCorr_; // trigger correlation plot
122 
123  std::vector<MonitorElement *> hNevts_;
124  std::vector<MonitorElement *> hNtrackerLayer_;
125  std::vector<MonitorElement *> hNtrackerPixelLayer_;
126  std::vector<MonitorElement *> hNtrackerStripPixelLayer_;
127  std::vector<MonitorElement *> hRatioPtErrorPt_;
128  std::vector<MonitorElement *> hTrkPt_;
129  std::vector<MonitorElement *> hTrkEta_;
130  std::vector<MonitorElement *> hTrkPhi_;
131  std::vector<MonitorElement *> hNgoodTrk_;
132  std::vector<MonitorElement *> hGoodTrkPt500_;
133  std::vector<MonitorElement *> hGoodTrkEta500_;
134  std::vector<MonitorElement *> hGoodTrkPhi500_;
135  std::vector<MonitorElement *> hGoodTrkPt900_;
136  std::vector<MonitorElement *> hGoodTrkEta900_;
137  std::vector<MonitorElement *> hGoodTrkPhi900_;
138  std::vector<MonitorElement *> hRatioDxySigmaDxyBS_;
139  std::vector<MonitorElement *> hRatioDxySigmaDxyPV_;
140  std::vector<MonitorElement *> hRatioDzSigmaDzBS_;
141  std::vector<MonitorElement *> hRatioDzSigmaDzPV_;
142  std::vector<MonitorElement *> hTrkChi2_;
143  std::vector<MonitorElement *> hTrkNdof_;
144 
145  std::vector<MonitorElement *> hNvertices_; // Number of vertices
146  std::vector<MonitorElement *> hVertex_z_; // z-position of vertex
147  std::vector<MonitorElement *> hVertex_y_;
148  std::vector<MonitorElement *> hVertex_x_;
149  std::vector<MonitorElement *> hVertex_ndof_;
150  std::vector<MonitorElement *> hVertex_rho_;
151  std::vector<MonitorElement *> hVertex_z_bs_;
152 
153  std::vector<MonitorElement *> hBeamSpot_z_; // z-position of vertex
154  std::vector<MonitorElement *> hBeamSpot_y_;
155  std::vector<MonitorElement *> hBeamSpot_x_;
156 
157  std::vector<MonitorElement *> hLeadingTrack_pTSpectrum_; // pt spectrum of
158  // leading track
159  std::vector<MonitorElement *> hLeadingTrack_etaSpectrum_; // eta spectrum of
160  // leading track
161  std::vector<MonitorElement *> hLeadingTrack_phiSpectrum_; // phi spectrum of
162  // leading track
163 
164  std::vector<MonitorElement *> hChargedJetMulti_; // Number of charged jets
165  std::vector<MonitorElement *> hChargedJetConstituent_; // Number of
166  // constituent of
167  // charged jets
168  std::vector<MonitorElement *> hLeadingChargedJet_pTSpectrum_; // pT spectrum
169  // of charged
170  // jets
171 
172  /*std::vector<MonitorElement*> hCaloJetMulti_; // Number of calo
173  jets
174  std::vector<MonitorElement*> hCaloJetConstituent_; // Number of
175  constituent of calo jets
176  std::vector<MonitorElement*> hLeadingCaloJet_pTSpectrum_; // pT
177  spectrum of calo jets
178  std::vector<MonitorElement*> hLeadingCaloJet_etaSpectrum_; //eta
179  spectrum of leading calo jet
180  std::vector<MonitorElement*> hLeadingCaloJet_phiSpectrum_; //phi
181  spectrum of leading calo jet
182  */
183  std::vector<MonitorElement *> hdPhi_maxpTTrack_tracks_; // delta phi between
184  // leading track and
185  // tracks
186  // std::vector<MonitorElement*> hdPhi_caloJet_tracks_; // delta phi between
187  // leading calo jet and tracks
188  std::vector<MonitorElement *> hdPhi_chargedJet_tracks_; // delta phi between
189  // leading charged
190  // jet and tracks
191 
192  std::vector<MonitorElement *> hLeadingChargedJet_etaSpectrum_; // eta
193  // spectrum of
194  // leading
195  // charged jet
196  std::vector<MonitorElement *> hLeadingChargedJet_phiSpectrum_; // phi
197  // spectrum of
198  // leading
199  // charged jet
200 
201  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Toward500_; // number of
202  // tracks in
203  // toward region
204  // of leadin
205  // track (pT >
206  // 500 MeV)
207  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Transverse500_; // number of
208  // tracks in
209  // transverse
210  // region of
211  // leadin
212  // track (pT
213  // > 500 MeV)
214  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Away500_; // number of tracks
215  // in away region
216  // of leadin track
217  // (pT > 500 MeV)
218  /* std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Toward500_; // number
219  of tracks in toward region of leadin calo Jet (pT > 500 MeV)
220  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Transverse500_; //
221  number of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
222  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Away500_; // number of
223  tracks in away region of leadin calo Jet (pT > 500 MeV)
224 */
225  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Toward500_; // number of
226  // tracks in
227  // toward
228  // region of
229  // leadin calo
230  // Jet (pT >
231  // 500 MeV)
232  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Transverse500_; // number of tracks in transverse
233  // region of leadin calo Jet (pT >
234  // 500 MeV)
235  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Away500_; // number of
236  // tracks in
237  // away region
238  // of leadin
239  // calo Jet (pT
240  // > 500 MeV)
241 
242  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Toward500_; // pT sum of
243  // tracks in
244  // toward
245  // region of
246  // leadin
247  // track (pT >
248  // 500 MeV)
249  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Transverse500_; // pT sum of tracks in transverse
250  // region of leadin track (pT > 500
251  // MeV)
252  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Away500_; // pT sum of
253  // tracks in
254  // away region
255  // of leadin
256  // track (pT >
257  // 500 MeV)
258  /* std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Toward500_; // pT
259  sum of tracks in toward region of leadin calo Jet (pT > 500 MeV)
260  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Transverse500_; //
261  pT sum of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
262  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Away500_; // pT sum
263  of tracks in away region of leadin calo Jet (pT > 500 MeV)
264 */
265  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Toward500_; // pT sum
266  // of
267  // tracks
268  // in
269  // toward
270  // region
271  // of
272  // leadin
273  // calo Jet
274  // (pT >
275  // 500 MeV)
276  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Transverse500_; // pT sum of tracks in transverse
277  // region of leadin calo Jet (pT
278  // > 500 MeV)
279  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Away500_; // pT sum of
280  // tracks in
281  // away
282  // region of
283  // leadin
284  // calo Jet
285  // (pT > 500
286  // MeV)
287 
288  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Toward900_; // number of
289  // tracks in
290  // toward region
291  // of leadin
292  // track (pT >
293  // 900 MeV)
294  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Transverse900_; // number of
295  // tracks in
296  // transverse
297  // region of
298  // leadin
299  // track (pT
300  // > 900 MeV)
301  std::vector<MonitorElement *> hdNdEtadPhi_pTMax_Away900_; // number of tracks
302  // in away region
303  // of leadin track
304  // (pT > 900 MeV)
305  /* std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Toward900_; // number
306  of tracks in toward region of leadin calo Jet (pT > 900 MeV)
307  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Transverse900_; //
308  number of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
309  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Away900_; // number of
310  tracks in away region of leadin calo Jet (pT > 900 MeV)
311 */
312  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Toward900_; // number of
313  // tracks in
314  // toward
315  // region of
316  // leadin calo
317  // Jet (pT >
318  // 900 MeV)
319  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Transverse900_; // number of tracks in transverse
320  // region of leadin calo Jet (pT >
321  // 900 MeV)
322  std::vector<MonitorElement *> hdNdEtadPhi_trackJet_Away900_; // number of
323  // tracks in
324  // away region
325  // of leadin
326  // calo Jet (pT
327  // > 900 MeV)
328 
329  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Toward900_; // pT sum of
330  // tracks in
331  // toward
332  // region of
333  // leadin
334  // track (pT >
335  // 900 MeV)
336  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Transverse900_; // pT sum of tracks in transverse
337  // region of leadin track (pT > 900
338  // MeV)
339  std::vector<MonitorElement *> hpTSumdEtadPhi_pTMax_Away900_; // pT sum of
340  // tracks in
341  // away region
342  // of leadin
343  // track (pT >
344  // 900 MeV)
345  /* std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Toward900_; // pT
346  sum of tracks in toward region of leadin calo Jet (pT > 900 MeV)
347  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Transverse900_; //
348  pT sum of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
349  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Away900_; // pT sum
350  of tracks in away region of leadin calo Jet (pT > 900 MeV)
351 */
352  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Toward900_; // pT sum
353  // of
354  // tracks
355  // in
356  // toward
357  // region
358  // of
359  // leadin
360  // calo Jet
361  // (pT >
362  // 900 MeV)
363  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Transverse900_; // pT sum of tracks in transverse
364  // region of leadin calo Jet (pT
365  // > 900 MeV)
366  std::vector<MonitorElement *> hpTSumdEtadPhi_trackJet_Away900_; // pT sum of
367  // tracks in
368  // away
369  // region of
370  // leadin
371  // calo Jet
372  // (pT > 900
373  // MeV)
374 
375  double ptMin_;
376  double minRapidity_;
377  double maxRapidity_;
378  double tip_;
379  double lip_;
380  double diffvtxbs_;
381  double ptErr_pt_;
382  double vtxntk_;
383  int minHit_;
387  double maxChi2_;
388  bool bsuse_;
390  double bsPos_;
396  std::vector<reco::TrackBase::TrackQuality> quality_;
397  std::vector<reco::TrackBase::TrackAlgorithm> algorithm_;
398  typedef std::vector<const reco::Track *> container;
401 };
402 
403 //--------------------------------------------------------------------------------------------------
404 template <typename TYPE>
406  // Try to access data collection from EDM file. We check if we really get just
407  // one
408  // product with the given name. If not we throw an exception.
409 
410  event.getByLabel(edm::InputTag(name), prod);
411  if (!prod.isValid())
412  throw edm::Exception(edm::errors::Configuration, "QcdUeDQM::GetProduct()\n")
413  << "Collection with label " << name << " is not valid" << std::endl;
414 }
415 
416 //--------------------------------------------------------------------------------------------------
417 template <typename TYPE>
419  // Try to safely access data collection from EDM file. We check if we really
420  // get just one
421  // product with the given name. If not, we return false.
422 
423  if (name.empty())
424  return false;
425 
426  try {
427  event.getByLabel(edm::InputTag(name), prod);
428  if (!prod.isValid())
429  return false;
430  } catch (...) {
431  return false;
432  }
433  return true;
434 }
435 
436 //--------------------------------------------------------------------------------------------------
437 #endif
438 
439 // Local Variables:
440 // show-trailing-whitespace: t
441 // truncate-lines: t
442 // End:
bool bsuse_
Definition: QcdUeDQM.h:388
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:312
bool operator()(const T &a, const T &b)
Definition: QcdUeDQM.h:48
void fillpTMaxRelated(const std::vector< const reco::Track *> &track)
Definition: QcdUeDQM.cc:956
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:363
int verbose_
Definition: QcdUeDQM.h:117
void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:1250
bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
Definition: QcdUeDQM.cc:831
void fill3D(std::vector< TH3F *> &hs, int gbin, double w=1.)
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:143
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:134
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:207
T w() const
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:339
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:196
std::vector< MonitorElement * > hTrkChi2_
Definition: QcdUeDQM.h:142
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:151
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:136
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:135
std::string hltUsedResName_
Definition: QcdUeDQM.h:116
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:279
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:366
Trktree trk
Definition: Trktree.cc:2
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:115
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:129
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:235
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
Definition: QcdUeDQM.h:393
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:249
bool fillVtxPlots(const reco::BeamSpot *bs, const edm::Handle< reco::VertexCollection > vtxColl)
Definition: QcdUeDQM.cc:933
edm::EDGetTokenT< reco::CaloJetCollection > caloJetLabel_
Definition: QcdUeDQM.h:391
double ptErr_pt_
Definition: QcdUeDQM.h:381
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:192
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:301
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:159
bool requirePIX1_
Definition: QcdUeDQM.h:385
void setLabel1D(std::vector< MonitorElement *> &mes)
Definition: QcdUeDQM.cc:775
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:168
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:137
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:62
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:111
edm::EDGetTokenT< reco::TrackJetCollection > chargedJetLabel_
Definition: QcdUeDQM.h:392
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:265
MonitorElement * repSumMap_
Definition: QcdUeDQM.h:119
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:149
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:150
int iEvent
Definition: GenABIO.cc:224
void fillUE_with_MaxpTtrack(const std::vector< const reco::Track *> &track)
Definition: QcdUeDQM.cc:1011
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:124
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:140
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:110
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:405
std::string hltResName_
Definition: QcdUeDQM.h:109
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:121
double bsPos_
Definition: QcdUeDQM.h:390
std::vector< MonitorElement * > hVertex_y_
Definition: QcdUeDQM.h:147
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:242
double maxChi2_
Definition: QcdUeDQM.h:387
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:113
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:352
HLTConfigProvider hltConfig
Definition: QcdUeDQM.h:107
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:322
double lip_
Definition: QcdUeDQM.h:379
void fillProfile(std::vector< TProfile *> &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:808
reco::Vertex vtx1
Definition: QcdUeDQM.h:400
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:148
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:161
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:164
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:397
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:329
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:319
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:294
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:132
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:201
std::vector< const reco::Track * > container
Definition: QcdUeDQM.h:398
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:130
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:288
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:183
edm::EDGetTokenT< reco::BeamSpot > bsLabel_
Definition: QcdUeDQM.h:395
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:225
edm::EDGetTokenT< reco::VertexCollection > vtxLabel_
Definition: QcdUeDQM.h:394
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:145
bool getProductSafe(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:418
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:214
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:276
bool allowTriplets_
Definition: QcdUeDQM.h:389
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:131
double ptMin_
Definition: QcdUeDQM.h:375
MonitorElement * repSummary_
Definition: QcdUeDQM.h:120
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:252
void bookProfile(DQMStore::IBooker &, std::vector< MonitorElement *> &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, double y1, double y2, bool sumw2=true, bool sbox=true)
Definition: QcdUeDQM.cc:725
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:154
double diffvtxbs_
Definition: QcdUeDQM.h:380
double minRapidity_
Definition: QcdUeDQM.h:376
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:157
int min3DHit_
Definition: QcdUeDQM.h:386
double b
Definition: hdecay.h:120
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:138
container selected_
Definition: QcdUeDQM.h:399
void fill2D(std::vector< TH2F *> &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:787
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: QcdUeDQM.cc:163
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:139
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:188
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:126
double pxlLayerMinCut_
Definition: QcdUeDQM.h:384
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:123
QcdUeDQM(const edm::ParameterSet &parameters)
Definition: QcdUeDQM.cc:51
double a
Definition: hdecay.h:121
~QcdUeDQM() override
Definition: QcdUeDQM.cc:101
std::vector< MonitorElement * > hChargedJetConstituent_
Definition: QcdUeDQM.h:165
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:155
void fillUE_with_ChargedJets(const std::vector< const reco::Track *> &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
Definition: QcdUeDQM.cc:1081
void fill1D(std::vector< TH1F *> &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:753
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:128
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:133
void fillChargedJetSpectra(const edm::Handle< reco::TrackJetCollection > trackJets)
Definition: QcdUeDQM.cc:975
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:396
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:232
double maxRapidity_
Definition: QcdUeDQM.h:377
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:146
const TrackerGeometry * tgeo_
Definition: QcdUeDQM.h:118
double vtxntk_
Definition: QcdUeDQM.h:382
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:141
long double T
int minHit_
Definition: QcdUeDQM.h:383
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:127
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: QcdUeDQM.cc:635
std::vector< MonitorElement * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:125
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:153
Definition: event.py:1
Definition: Run.h:45
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: QcdUeDQM.cc:105
double tip_
Definition: QcdUeDQM.h:378
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:336
void book1D(DQMStore::IBooker &, std::vector< MonitorElement *> &mes, const std::string &name, const std::string &title, int nx, double x1, double x2, bool sumw2=true, bool sbox=true)
Definition: QcdUeDQM.cc:695
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:114