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