CMS 3D CMS Logo

L1TStage2uGTCaloLayer2Comp.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMonitor_L1TStage2uGTCaloLayer2Comp
2 #define DQM_L1TMonitor_L1TStage2uGTCaloLayer2Comp
3 
5 
8 
12 
17 
35 
36  public:
51 
52 
53  protected:
54 
74  const edm::Run&,
75  const edm::EventSetup&) override;
76 
89  void analyze (const edm::Event&, const edm::EventSetup&) override;
90 
91  private:
92 
111  const edm::Handle<l1t::JetBxCollection> & col2);
112 
132 
150  const edm::Handle<l1t::TauBxCollection> & col2);
151 
170 
171  // Holds the name of directory in DQM where module hostograms will be shown.
172  // Value is taken from python configuration file (passed in class constructor)
174 
175  // names of calol2 or ugt collections that are being compared
178 
179  // collections to hold entities reconstructed from calol2 or ugt
188 
190  EVENTBAD = 1, // number of (no.) bad events (where an error was found)
191  EVENTBADJETCOL, // no. events with a jet collection size difference
192  EVENTBADEGCOL, // no. events with a eg collection size difference
193  EVENTBADTAUCOL, // no. events with a tau collection size difference
194  EVENTBADSUMCOL, // no. events with a sum collection size difference
195  JETBADET, // no. jets with bad Et
196  JETBADETA, // no. jets with bad eta
197  JETBADPHI, // no. jets with bad phi
198  EGBADET, // no. egs with bad Et
199  EGBADETA, // no. egs with bad phi
200  EGBADPHI, // no. egs with bad eta
201  TAUBADET, // no. tau with bad Et
202  TAUBADETA, // no. tau with bad eta
203  TAUBADPHI, // no. tau with bad phi
204  BADSUM // no. sums with any disagreement
205  };
206 
207  enum denumBins {
208  EVENTS1 = 1, // total no. events (used for taking a ratio) x5
213  JETS1, // total no. jets x3
216  EGS1, // total no. egs x3
219  TAUS1, // total no. taus x3
222  SUMS // total no. sums
223  };
224 
225  // objects to represent individual plots shown in DQM
228  bool verbose;
229 };
230 
231 #endif
bool compareTaus(const edm::Handle< l1t::TauBxCollection > &col1, const edm::Handle< l1t::TauBxCollection > &col2)
edm::EDGetTokenT< l1t::EtSumBxCollection > EtSumCollection1
edm::EDGetTokenT< l1t::EGammaBxCollection > EGammaCollection1
bool compareSums(const edm::Handle< l1t::EtSumBxCollection > &col1, const edm::Handle< l1t::EtSumBxCollection > &col2)
edm::EDGetTokenT< l1t::TauBxCollection > TauCollection1
edm::EDGetTokenT< l1t::TauBxCollection > TauCollection2
edm::EDGetTokenT< l1t::JetBxCollection > JetCollection2
bool compareJets(const edm::Handle< l1t::JetBxCollection > &col1, const edm::Handle< l1t::JetBxCollection > &col2)
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
edm::EDGetTokenT< l1t::EGammaBxCollection > EGammaCollection2
edm::EDGetTokenT< l1t::EtSumBxCollection > EtSumCollection2
L1TStage2uGTCaloLayer2Comp(const edm::ParameterSet &ps)
edm::EDGetTokenT< l1t::JetBxCollection > JetCollection1
void analyze(const edm::Event &, const edm::EventSetup &) override
bool compareEGs(const edm::Handle< l1t::EGammaBxCollection > &col1, const edm::Handle< l1t::EGammaBxCollection > &col2)
Definition: Run.h:45