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> bool operator() ( const T& a, const T& b ) {
46  return ( a.pt() > b.pt() );
47  }
48 };
49 
50 
51 class QcdUeDQM : public edm::EDAnalyzer
52 {
53  public:
54 
56  virtual ~QcdUeDQM();
57 
58  void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup);
59  void beginJob(void);
61  const edm::EventSetup &iSetup);
62  void beginRun(const edm::Run &r, const edm::EventSetup &iSetup);
63  void endJob(void);
64  void endRun(const edm::Run &r, const edm::EventSetup &iSetup);
66  const edm::EventSetup &iSetup);
67 
68  private:
69  bool isHltConfigSuccessful_; // to prevent processing in case of problems
70 
71  void book1D(std::vector<MonitorElement*> &mes,
72  const std::string &name, const std::string &title,
73  int nx, double x1, double x2, bool sumw2=1, bool sbox=1);
74  void book2D(std::vector<MonitorElement*> &mes,
75  const std::string &name, const std::string &title,
76  int nx, double x1, double x2, int ny, double y1, double y2,
77  bool sumw2=1, bool sbox=1);
78  void bookProfile(std::vector<MonitorElement*> &mes,
79  const std::string &name, const std::string &title,
80  int nx, double x1, double x2, double y1, double y2,
81  bool sumw2=1, bool sbox=1);
82  void create1D(std::vector<TH1F*> &mes,
83  const std::string &name, const std::string &title,
84  int nx, double x1, double x2, bool sumw2=1, bool sbox=1);
85  void create2D(std::vector<TH2F*> &mes,
86  const std::string &name, const std::string &title,
87  int nx, double x1, double x2, int ny, double y1, double y2,
88  bool sumw2=1, bool sbox=1);
89  void createProfile(std::vector<TProfile*> &mes,
90  const std::string &name, const std::string &title,
91  int nx, double x1, double x2, double y1, double y2,
92  bool sumw2=1, bool sbox=1);
93  void createHistos();
94  void fill1D(std::vector<TH1F*> &hs, double val, double w=1.);
95  void fill1D(std::vector<MonitorElement*> &mes, double val, double w=1.);
96  void fill2D(std::vector<TH2F*> &hs,
97  double valx, double valy, double w=1.);
98  void fill2D(std::vector<MonitorElement*> &mes,
99  double valx, double valy, double w=1.);
100  void fillProfile(std::vector<TProfile*> &hs,
101  double valx, double valy, double w=1.);
102  void fillProfile(std::vector<MonitorElement*> &mes,
103  double valx, double valy, double w=1.);
104  void fill3D(std::vector<TH3F*> &hs, int gbin, double w=1.);
105  void setLabel1D(std::vector<MonitorElement*> &mes);
106 
107 
108  bool trackSelection(const reco::Track &trk, const reco::BeamSpot* bs, const reco::Vertex& vtx, int sizevtx);
109  void fillHltBits(const edm::Event &iEvent,const edm::EventSetup &iSetup);
110 
112  void fillpTMaxRelated(const std::vector<const reco::Track *> &track);
113 
115 
116  //void fillCaloJetSpectra(const edm::Handle<reco::CaloJetCollection> caloJets);
117 
118  void fillUE_with_ChargedJets(const std::vector<const reco::Track *> &track, const edm::Handle<reco::TrackJetCollection> &trackJets);
119  //void fillUE_with_CaloJets(const std::vector<const reco::Track *> &track, const edm::Handle<reco::CaloJetCollection> &caloJets);
120  void fillUE_with_MaxpTtrack(const std::vector<const reco::Track *> &track );
121 
122 
123  template <typename TYPE>
125  const edm::Event &event) const;
126  template <typename TYPE>
128  const edm::Event &event) const;
129 
131 
132  std::string hltResName_; //HLT trigger results name
133  std::vector<std::string> hltProcNames_; //HLT process name(s)
134  std::vector<std::string> hltTrgNames_; //HLT trigger name(s)
135 
136 
137  std::vector<int> hltTrgBits_; //HLT trigger bit(s)
138  std::vector<bool> hltTrgDeci_; //HLT trigger descision(s)
139  std::vector<std::string> hltTrgUsedNames_; //HLT used trigger name(s)
140  std::string hltUsedResName_; //used HLT trigger results name
141  int verbose_; //verbosity (0=debug,1=warn,2=error,3=throw)
142  const TrackerGeometry *tgeo_; //tracker geometry
143  DQMStore *theDbe_; //dqm store
144  MonitorElement *repSumMap_; //report summary map
145  MonitorElement *repSummary_; //report summary
146  MonitorElement *h2TrigCorr_; //trigger correlation plot
147 
148  std::vector<MonitorElement*> hNevts_;
149  std::vector<MonitorElement*> hNtrackerLayer_;
150  std::vector<MonitorElement*> hNtrackerPixelLayer_;
151  std::vector<MonitorElement*> hNtrackerStripPixelLayer_;
152  std::vector<MonitorElement*> hRatioPtErrorPt_;
153  std::vector<MonitorElement*> hTrkPt_;
154  std::vector<MonitorElement*> hTrkEta_;
155  std::vector<MonitorElement*> hTrkPhi_;
156  std::vector<MonitorElement*> hNgoodTrk_;
157  std::vector<MonitorElement*> hGoodTrkPt500_;
158  std::vector<MonitorElement*> hGoodTrkEta500_;
159  std::vector<MonitorElement*> hGoodTrkPhi500_;
160  std::vector<MonitorElement*> hGoodTrkPt900_;
161  std::vector<MonitorElement*> hGoodTrkEta900_;
162  std::vector<MonitorElement*> hGoodTrkPhi900_;
163  std::vector<MonitorElement*> hRatioDxySigmaDxyBS_;
164  std::vector<MonitorElement*> hRatioDxySigmaDxyPV_;
165  std::vector<MonitorElement*> hRatioDzSigmaDzBS_;
166  std::vector<MonitorElement*> hRatioDzSigmaDzPV_;
167  std::vector<MonitorElement*> hTrkChi2_;
168  std::vector<MonitorElement*> hTrkNdof_;
169 
170 
171 
172  std::vector<MonitorElement*> hNvertices_; // Number of vertices
173  std::vector<MonitorElement*> hVertex_z_; // z-position of vertex
174  std::vector<MonitorElement*> hVertex_y_;
175  std::vector<MonitorElement*> hVertex_x_;
176  std::vector<MonitorElement*> hVertex_ndof_;
177  std::vector<MonitorElement*> hVertex_rho_;
178  std::vector<MonitorElement*> hVertex_z_bs_;
179 
180 
181  std::vector<MonitorElement*> hBeamSpot_z_; // z-position of vertex
182  std::vector<MonitorElement*> hBeamSpot_y_;
183  std::vector<MonitorElement*> hBeamSpot_x_;
184 
185 
186  std::vector<MonitorElement*> hLeadingTrack_pTSpectrum_; //pt spectrum of leading track
187  std::vector<MonitorElement*> hLeadingTrack_etaSpectrum_; //eta spectrum of leading track
188  std::vector<MonitorElement*> hLeadingTrack_phiSpectrum_; //phi spectrum of leading track
189 
190 
191 
192 
193 
194  std::vector<MonitorElement*> hChargedJetMulti_; // Number of charged jets
195  std::vector<MonitorElement*> hChargedJetConstituent_; // Number of constituent of charged jets
196  std::vector<MonitorElement*> hLeadingChargedJet_pTSpectrum_; // pT spectrum of charged jets
197 
198  /*std::vector<MonitorElement*> hCaloJetMulti_; // Number of calo jets
199  std::vector<MonitorElement*> hCaloJetConstituent_; // Number of constituent of calo jets
200  std::vector<MonitorElement*> hLeadingCaloJet_pTSpectrum_; // pT spectrum of calo jets
201  std::vector<MonitorElement*> hLeadingCaloJet_etaSpectrum_; //eta spectrum of leading calo jet
202  std::vector<MonitorElement*> hLeadingCaloJet_phiSpectrum_; //phi spectrum of leading calo jet
203  */
204  std::vector<MonitorElement*> hdPhi_maxpTTrack_tracks_; // delta phi between leading track and tracks
205  //std::vector<MonitorElement*> hdPhi_caloJet_tracks_; // delta phi between leading calo jet and tracks
206  std::vector<MonitorElement*> hdPhi_chargedJet_tracks_; // delta phi between leading charged jet and tracks
207 
208 
209  std::vector<MonitorElement*> hLeadingChargedJet_etaSpectrum_; //eta spectrum of leading charged jet
210  std::vector<MonitorElement*> hLeadingChargedJet_phiSpectrum_; //phi spectrum of leading charged jet
211 
212  std::vector<MonitorElement*> hdNdEtadPhi_pTMax_Toward500_; // number of tracks in toward region of leadin track (pT > 500 MeV)
213  std::vector<MonitorElement*> hdNdEtadPhi_pTMax_Transverse500_; // number of tracks in transverse region of leadin track (pT > 500 MeV)
214  std::vector<MonitorElement*> hdNdEtadPhi_pTMax_Away500_; // number of tracks in away region of leadin track (pT > 500 MeV)
215  /* std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Toward500_; // number of tracks in toward region of leadin calo Jet (pT > 500 MeV)
216  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Transverse500_; // number of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
217  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Away500_; // number of tracks in away region of leadin calo Jet (pT > 500 MeV)
218 */
219  std::vector<MonitorElement*> hdNdEtadPhi_trackJet_Toward500_; // number of tracks in toward region of leadin calo Jet (pT > 500 MeV)
220  std::vector<MonitorElement*> hdNdEtadPhi_trackJet_Transverse500_; // number of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
221  std::vector<MonitorElement*> hdNdEtadPhi_trackJet_Away500_; // number of tracks in away region of leadin calo Jet (pT > 500 MeV)
222 
223 
224 
225  std::vector<MonitorElement*> hpTSumdEtadPhi_pTMax_Toward500_; // pT sum of tracks in toward region of leadin track (pT > 500 MeV)
226  std::vector<MonitorElement*> hpTSumdEtadPhi_pTMax_Transverse500_; // pT sum of tracks in transverse region of leadin track (pT > 500 MeV)
227  std::vector<MonitorElement*> hpTSumdEtadPhi_pTMax_Away500_; // pT sum of tracks in away region of leadin track (pT > 500 MeV)
228  /* std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Toward500_; // pT sum of tracks in toward region of leadin calo Jet (pT > 500 MeV)
229  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Transverse500_; // pT sum of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
230  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Away500_; // pT sum of tracks in away region of leadin calo Jet (pT > 500 MeV)
231 */
232  std::vector<MonitorElement*> hpTSumdEtadPhi_trackJet_Toward500_; // pT sum of tracks in toward region of leadin calo Jet (pT > 500 MeV)
233  std::vector<MonitorElement*> hpTSumdEtadPhi_trackJet_Transverse500_; // pT sum of tracks in transverse region of leadin calo Jet (pT > 500 MeV)
234  std::vector<MonitorElement*> hpTSumdEtadPhi_trackJet_Away500_; // pT sum of tracks in away region of leadin calo Jet (pT > 500 MeV)
235 
236 
237 
238  std::vector<MonitorElement*> hdNdEtadPhi_pTMax_Toward900_; // number of tracks in toward region of leadin track (pT > 900 MeV)
239  std::vector<MonitorElement*> hdNdEtadPhi_pTMax_Transverse900_; // number of tracks in transverse region of leadin track (pT > 900 MeV)
240  std::vector<MonitorElement*> hdNdEtadPhi_pTMax_Away900_; // number of tracks in away region of leadin track (pT > 900 MeV)
241  /* std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Toward900_; // number of tracks in toward region of leadin calo Jet (pT > 900 MeV)
242  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Transverse900_; // number of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
243  std::vector<MonitorElement*> hdNdEtadPhi_caloJet_Away900_; // number of tracks in away region of leadin calo Jet (pT > 900 MeV)
244 */
245  std::vector<MonitorElement*> hdNdEtadPhi_trackJet_Toward900_; // number of tracks in toward region of leadin calo Jet (pT > 900 MeV)
246  std::vector<MonitorElement*> hdNdEtadPhi_trackJet_Transverse900_; // number of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
247  std::vector<MonitorElement*> hdNdEtadPhi_trackJet_Away900_; // number of tracks in away region of leadin calo Jet (pT > 900 MeV)
248 
249 
250 
251  std::vector<MonitorElement*> hpTSumdEtadPhi_pTMax_Toward900_; // pT sum of tracks in toward region of leadin track (pT > 900 MeV)
252  std::vector<MonitorElement*> hpTSumdEtadPhi_pTMax_Transverse900_; // pT sum of tracks in transverse region of leadin track (pT > 900 MeV)
253  std::vector<MonitorElement*> hpTSumdEtadPhi_pTMax_Away900_; // pT sum of tracks in away region of leadin track (pT > 900 MeV)
254  /* std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Toward900_; // pT sum of tracks in toward region of leadin calo Jet (pT > 900 MeV)
255  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Transverse900_; // pT sum of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
256  std::vector<MonitorElement*> hpTSumdEtadPhi_caloJet_Away900_; // pT sum of tracks in away region of leadin calo Jet (pT > 900 MeV)
257 */
258  std::vector<MonitorElement*> hpTSumdEtadPhi_trackJet_Toward900_; // pT sum of tracks in toward region of leadin calo Jet (pT > 900 MeV)
259  std::vector<MonitorElement*> hpTSumdEtadPhi_trackJet_Transverse900_; // pT sum of tracks in transverse region of leadin calo Jet (pT > 900 MeV)
260  std::vector<MonitorElement*> hpTSumdEtadPhi_trackJet_Away900_; // pT sum of tracks in away region of leadin calo Jet (pT > 900 MeV)
261 
262 
263 
264  double ptMin_;
265  double minRapidity_;
266  double maxRapidity_;
267  double tip_;
268  double lip_;
269  double diffvtxbs_;
270  double ptErr_pt_;
271  double vtxntk_;
272  int minHit_;
276  double maxChi2_;
277  bool bsuse_;
279  double bsPos_;
285  std::vector<reco::TrackBase::TrackQuality> quality_;
286  std::vector<reco::TrackBase::TrackAlgorithm> algorithm_;
287  typedef std::vector<const reco::Track *> container;
290 
291 };
292 
293 //--------------------------------------------------------------------------------------------------
294 template <typename TYPE>
296  const edm::Event &event) const
297 {
298  // Try to access data collection from EDM file. We check if we really get just one
299  // product with the given name. If not we throw an exception.
300 
301  event.getByLabel(edm::InputTag(name),prod);
302  if (!prod.isValid())
303  throw edm::Exception(edm::errors::Configuration, "QcdUeDQM::GetProduct()\n")
304  << "Collection with label " << name << " is not valid" << std::endl;
305 }
306 
307 //--------------------------------------------------------------------------------------------------
308 template <typename TYPE>
310  const edm::Event &event) const
311 {
312  // Try to safely access data collection from EDM file. We check if we really get just one
313  // product with the given name. If not, we return false.
314 
315  if (name.size()==0)
316  return false;
317 
318  try {
319  event.getByLabel(edm::InputTag(name),prod);
320  if (!prod.isValid())
321  return false;
322  } catch (...) {
323  return false;
324  }
325  return true;
326 }
327 
328 //--------------------------------------------------------------------------------------------------
329 #endif
330 
331 // Local Variables:
332 // show-trailing-whitespace: t
333 // truncate-lines: t
334 // End:
bool bsuse_
Definition: QcdUeDQM.h:277
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:234
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:557
bool operator()(const T &a, const T &b)
Definition: QcdUeDQM.h:45
dictionary parameters
Definition: Parameters.py:2
std::vector< MonitorElement * > hGoodTrkEta500_
Definition: QcdUeDQM.h:158
std::vector< MonitorElement * > hRatioPtErrorPt_
Definition: QcdUeDQM.h:152
void getProduct(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:295
std::vector< MonitorElement * > hTrkPt_
Definition: QcdUeDQM.h:153
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:245
std::vector< MonitorElement * > hVertex_ndof_
Definition: QcdUeDQM.h:176
std::vector< MonitorElement * > hNtrackerStripPixelLayer_
Definition: QcdUeDQM.h:151
int verbose_
Definition: QcdUeDQM.h:141
std::vector< MonitorElement * > hGoodTrkPhi500_
Definition: QcdUeDQM.h:159
void fillHltBits(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:1083
std::vector< MonitorElement * > hBeamSpot_x_
Definition: QcdUeDQM.h:183
std::vector< MonitorElement * > hNvertices_
Definition: QcdUeDQM.h:172
std::vector< MonitorElement * > hGoodTrkPt900_
Definition: QcdUeDQM.h:160
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:233
void fill1D(std::vector< TH1F * > &hs, double val, double w=1.)
Definition: QcdUeDQM.cc:580
bool trackSelection(const reco::Track &trk, const reco::BeamSpot *bs, const reco::Vertex &vtx, int sizevtx)
Definition: QcdUeDQM.cc:664
void fill3D(std::vector< TH3F * > &hs, int gbin, double w=1.)
virtual ~QcdUeDQM()
Definition: QcdUeDQM.cc:110
void beginJob(void)
Definition: QcdUeDQM.cc:179
void createHistos()
Definition: QcdUeDQM.cc:329
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:246
std::string hltUsedResName_
Definition: QcdUeDQM.h:140
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward900_
Definition: QcdUeDQM.h:258
std::vector< MonitorElement * > hdPhi_chargedJet_tracks_
Definition: QcdUeDQM.h:206
std::vector< MonitorElement * > hLeadingTrack_pTSpectrum_
Definition: QcdUeDQM.h:186
std::vector< std::string > hltTrgUsedNames_
Definition: QcdUeDQM.h:139
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:252
std::vector< MonitorElement * > hChargedJetConstituent_
Definition: QcdUeDQM.h:195
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
Definition: QcdUeDQM.h:282
std::vector< MonitorElement * > hBeamSpot_y_
Definition: QcdUeDQM.h:182
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:212
bool fillVtxPlots(const reco::BeamSpot *bs, const edm::Handle< reco::VertexCollection > vtxColl)
Definition: QcdUeDQM.cc:755
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Transverse500_
Definition: QcdUeDQM.h:220
edm::EDGetTokenT< reco::CaloJetCollection > caloJetLabel_
Definition: QcdUeDQM.h:280
void fillProfile(std::vector< TProfile * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:639
void fillUE_with_ChargedJets(const std::vector< const reco::Track * > &track, const edm::Handle< reco::TrackJetCollection > &trackJets)
Definition: QcdUeDQM.cc:925
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:226
double ptErr_pt_
Definition: QcdUeDQM.h:270
void setLabel1D(std::vector< MonitorElement * > &mes)
Definition: QcdUeDQM.cc:604
void beginRun(const edm::Run &r, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:200
std::vector< MonitorElement * > hVertex_z_bs_
Definition: QcdUeDQM.h:178
bool requirePIX1_
Definition: QcdUeDQM.h:274
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse500_
Definition: QcdUeDQM.h:213
std::vector< MonitorElement * > hLeadingChargedJet_etaSpectrum_
Definition: QcdUeDQM.h:209
bool isHltConfigSuccessful_
Definition: QcdUeDQM.h:69
void fillUE_with_MaxpTtrack(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:842
std::vector< std::string > hltTrgNames_
Definition: QcdUeDQM.h:134
edm::EDGetTokenT< reco::TrackJetCollection > chargedJetLabel_
Definition: QcdUeDQM.h:281
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 * > hTrkChi2_
Definition: QcdUeDQM.h:167
MonitorElement * repSumMap_
Definition: QcdUeDQM.h:144
std::vector< MonitorElement * > hVertex_rho_
Definition: QcdUeDQM.h:177
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:219
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:227
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Toward500_
Definition: QcdUeDQM.h:232
int iEvent
Definition: GenABIO.cc:243
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:118
std::vector< MonitorElement * > hdPhi_maxpTTrack_tracks_
Definition: QcdUeDQM.h:204
std::vector< std::string > hltProcNames_
Definition: QcdUeDQM.h:133
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:240
std::string hltResName_
Definition: QcdUeDQM.h:132
void beginLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:191
MonitorElement * h2TrigCorr_
Definition: QcdUeDQM.h:146
double bsPos_
Definition: QcdUeDQM.h:279
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away500_
Definition: QcdUeDQM.h:221
std::vector< MonitorElement * > hTrkPhi_
Definition: QcdUeDQM.h:155
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Transverse900_
Definition: QcdUeDQM.h:259
double maxChi2_
Definition: QcdUeDQM.h:276
std::vector< int > hltTrgBits_
Definition: QcdUeDQM.h:137
std::vector< MonitorElement * > hLeadingTrack_phiSpectrum_
Definition: QcdUeDQM.h:188
HLTConfigProvider hltConfig
Definition: QcdUeDQM.h:130
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:287
std::vector< MonitorElement * > hRatioDxySigmaDxyBS_
Definition: QcdUeDQM.h:163
std::vector< MonitorElement * > hRatioDzSigmaDzBS_
Definition: QcdUeDQM.h:165
double lip_
Definition: QcdUeDQM.h:268
reco::Vertex vtx1
Definition: QcdUeDQM.h:289
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:238
std::vector< MonitorElement * > hRatioDxySigmaDxyPV_
Definition: QcdUeDQM.h:164
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Transverse900_
Definition: QcdUeDQM.h:239
std::vector< reco::TrackBase::TrackAlgorithm > algorithm_
Definition: QcdUeDQM.h:286
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 * > hNtrackerPixelLayer_
Definition: QcdUeDQM.h:150
std::vector< MonitorElement * > hChargedJetMulti_
Definition: QcdUeDQM.h:194
std::vector< const reco::Track * > container
Definition: QcdUeDQM.h:287
edm::EDGetTokenT< reco::BeamSpot > bsLabel_
Definition: QcdUeDQM.h:284
std::vector< MonitorElement * > hTrkEta_
Definition: QcdUeDQM.h:154
edm::EDGetTokenT< reco::VertexCollection > vtxLabel_
Definition: QcdUeDQM.h:283
std::vector< MonitorElement * > hNtrackerLayer_
Definition: QcdUeDQM.h:149
std::vector< MonitorElement * > hGoodTrkPt500_
Definition: QcdUeDQM.h:157
bool allowTriplets_
Definition: QcdUeDQM.h:278
double ptMin_
Definition: QcdUeDQM.h:264
MonitorElement * repSummary_
Definition: QcdUeDQM.h:145
std::vector< MonitorElement * > hVertex_z_
Definition: QcdUeDQM.h:173
std::vector< MonitorElement * > hVertex_y_
Definition: QcdUeDQM.h:174
std::vector< MonitorElement * > hdNdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:247
std::vector< MonitorElement * > hLeadingChargedJet_pTSpectrum_
Definition: QcdUeDQM.h:196
std::vector< MonitorElement * > hNgoodTrk_
Definition: QcdUeDQM.h:156
double diffvtxbs_
Definition: QcdUeDQM.h:269
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Away900_
Definition: QcdUeDQM.h:253
double minRapidity_
Definition: QcdUeDQM.h:265
int min3DHit_
Definition: QcdUeDQM.h:275
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward500_
Definition: QcdUeDQM.h:225
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)
container selected_
Definition: QcdUeDQM.h:288
std::vector< MonitorElement * > hdNdEtadPhi_pTMax_Away500_
Definition: QcdUeDQM.h:214
std::vector< MonitorElement * > hBeamSpot_z_
Definition: QcdUeDQM.h:181
double pxlLayerMinCut_
Definition: QcdUeDQM.h:273
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:312
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)
std::vector< MonitorElement * > hpTSumdEtadPhi_pTMax_Toward900_
Definition: QcdUeDQM.h:251
QcdUeDQM(const edm::ParameterSet &parameters)
Definition: QcdUeDQM.cc:54
double a
Definition: hdecay.h:121
std::vector< MonitorElement * > hRatioDzSigmaDzPV_
Definition: QcdUeDQM.h:166
bool getProductSafe(const std::string name, edm::Handle< TYPE > &prod, const edm::Event &event) const
Definition: QcdUeDQM.h:309
std::vector< MonitorElement * > hTrkNdof_
Definition: QcdUeDQM.h:168
std::vector< MonitorElement * > hpTSumdEtadPhi_trackJet_Away900_
Definition: QcdUeDQM.h:260
std::vector< MonitorElement * > hVertex_x_
Definition: QcdUeDQM.h:175
void fillChargedJetSpectra(const edm::Handle< reco::TrackJetCollection > trackJets)
Definition: QcdUeDQM.cc:805
T w() const
std::vector< reco::TrackBase::TrackQuality > quality_
Definition: QcdUeDQM.h:285
std::vector< MonitorElement * > hNevts_
Definition: QcdUeDQM.h:148
DQMStore * theDbe_
Definition: QcdUeDQM.h:143
void fillpTMaxRelated(const std::vector< const reco::Track * > &track)
Definition: QcdUeDQM.cc:780
double maxRapidity_
Definition: QcdUeDQM.h:266
void fill2D(std::vector< TH2F * > &hs, double valx, double valy, double w=1.)
Definition: QcdUeDQM.cc:616
const TrackerGeometry * tgeo_
Definition: QcdUeDQM.h:142
double vtxntk_
Definition: QcdUeDQM.h:271
long double T
int minHit_
Definition: QcdUeDQM.h:272
std::vector< MonitorElement * > hGoodTrkEta900_
Definition: QcdUeDQM.h:161
void endRun(const edm::Run &r, const edm::EventSetup &iSetup)
Definition: QcdUeDQM.cc:571
void endJob(void)
Definition: QcdUeDQM.cc:551
Definition: Run.h:41
std::vector< MonitorElement * > hLeadingTrack_etaSpectrum_
Definition: QcdUeDQM.h:187
double tip_
Definition: QcdUeDQM.h:267
std::vector< MonitorElement * > hLeadingChargedJet_phiSpectrum_
Definition: QcdUeDQM.h:210
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:263
std::vector< bool > hltTrgDeci_
Definition: QcdUeDQM.h:138
std::vector< MonitorElement * > hGoodTrkPhi900_
Definition: QcdUeDQM.h:162