CMS 3D CMS Logo

L1TObjectsTiming.cc
Go to the documentation of this file.
2 
3 
5  : ugmtMuonToken_(consumes<l1t::MuonBxCollection>(ps.getParameter<edm::InputTag>("muonProducer"))),
6  stage2CaloLayer2JetToken_(consumes<l1t::JetBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2JetProducer"))),
7  stage2CaloLayer2EGammaToken_(consumes<l1t::EGammaBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2EGammaProducer"))),
8  stage2CaloLayer2TauToken_(consumes<l1t::TauBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2TauProducer"))),
9  stage2CaloLayer2EtSumToken_(consumes<l1t::EtSumBxCollection>(ps.getParameter<edm::InputTag>("stage2CaloLayer2EtSumProducer"))),
10  l1tStage2uGtProducer_(consumes<GlobalAlgBlkBxCollection>(ps.getParameter<edm::InputTag>("ugtProducer"))),
11  monitorDir_(ps.getUntrackedParameter<std::string>("monitorDir")),
12  verbose_(ps.getUntrackedParameter<bool>("verbose")),
13  gtUtil_(new l1t::L1TGlobalUtil(ps, consumesCollector(), *this, ps.getParameter<edm::InputTag>("ugtProducer"), ps.getParameter<edm::InputTag>("ugtProducer"))),
14  algoBitFirstBxInTrain_(-1),
15  algoBitLastBxInTrain_(-1),
16  algoNameFirstBxInTrain_(ps.getUntrackedParameter<std::string>("firstBXInTrainAlgo","")),
17  algoNameLastBxInTrain_(ps.getUntrackedParameter<std::string>("lastBXInTrainAlgo","")),
18  bxrange_(5)
19 
20 {
21 
22  muons_eta_phi.reserve(bxrange_);
23  jet_eta_phi.reserve(bxrange_);
24  egamma_eta_phi.reserve(bxrange_);
25  tau_eta_phi.reserve(bxrange_);
26  etsum_eta_phi_MET.reserve(bxrange_);
28  etsum_eta_phi_MHT.reserve(bxrange_);
30 
39 
48 
57 
58 }
59 
61 
64  desc.add<edm::InputTag>("muonProducer")->setComment("L1T muons");;
65  desc.add<edm::InputTag>("stage2CaloLayer2JetProducer")->setComment("L1T jets");
66  desc.add<edm::InputTag>("stage2CaloLayer2EGammaProducer")->setComment("L1T egamma");
67  desc.add<edm::InputTag>("stage2CaloLayer2TauProducer")->setComment("L1T taus");
68  desc.add<edm::InputTag>("stage2CaloLayer2EtSumProducer")->setComment("L1T etsums");
69  desc.add<edm::InputTag>("ugtProducer")->setComment("uGT output");
70  desc.addUntracked<std::string>("monitorDir", "")->setComment("Target directory in the DQM file. Will be created if not existing.");
71  desc.addUntracked<bool>("verbose", false);
72  desc.addUntracked<std::string>("firstBXInTrainAlgo","")->setComment("Pick the right algo name for L1 First Collision In Train");
73  desc.addUntracked<std::string>("lastBXInTrainAlgo","")->setComment("Pick the right algo name for L1 Last Collision In Train");
74  descriptions.add("l1tObjectsTiming", desc);
75 }
76 
78  // Get the trigger menu information
79  gtUtil_->retrieveL1Setup(c);
80  // Get the algo bits needed for the timing histograms
81  if (!gtUtil_->getAlgBitFromName(algoNameFirstBxInTrain_, algoBitFirstBxInTrain_)) {
82  edm::LogWarning("L1TObjectsTiming") << "Algo \"" << algoNameFirstBxInTrain_ << "\" not found in the trigger menu " << gtUtil_->gtTriggerMenuName() << ". Could not retrieve algo bit number.";
83  }
84  if (!gtUtil_->getAlgBitFromName(algoNameLastBxInTrain_, algoBitLastBxInTrain_)) {
85  edm::LogWarning("L1TObjectsTiming") << "Algo \"" << algoNameLastBxInTrain_ << "\" not found in the trigger menu " << gtUtil_->gtTriggerMenuName() << ". Could not retrieve algo bit number.";
86  }
87 
88 
89 }
90 
92 
94 
95 
96  // Subsystem Monitoring and Muon Output
97  std::string bx_obj[5]={"minus2","minus1","0","plus1","plus2"};
98 
99  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing");
100  denominator_muons = ibooker.book2D("denominator_muons","Denominator for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
101  denominator_muons->setAxisTitle("#eta", 1);
102  denominator_muons->setAxisTitle("#phi", 2);
103  for(unsigned int i=0; i<bxrange_; ++i) {
104  muons_eta_phi.push_back(ibooker.book2D("muons_eta_phi_bx_"+bx_obj[i],"L1T Muon #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
105  muons_eta_phi.at(i)->setAxisTitle("#eta", 1);
106  muons_eta_phi.at(i)->setAxisTitle("#phi", 2);
107  }
108 
109  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing");
110  denominator_jet = ibooker.book2D("denominator_jet","Denominator for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
111  denominator_jet->setAxisTitle("#eta", 1);
112  denominator_jet->setAxisTitle("#phi", 2);
113  for(unsigned int i=0; i<bxrange_; ++i) {
114  jet_eta_phi.push_back(ibooker.book2D("jet_eta_phi_bx_"+bx_obj[i],"L1T Jet #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
115  jet_eta_phi.at(i)->setAxisTitle("#eta", 1);
116  jet_eta_phi.at(i)->setAxisTitle("#phi", 2);
117  }
118 
119  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing");
120  denominator_egamma = ibooker.book2D("denominator_egamma","Denominator for L1TEGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
121  denominator_egamma->setAxisTitle("#eta", 1);
122  denominator_egamma->setAxisTitle("#phi", 2);
123  for(unsigned int i=0; i<bxrange_; ++i) {
124  egamma_eta_phi.push_back(ibooker.book2D("egamma_eta_phi_bx_"+bx_obj[i],"L1T EGamma #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
125  egamma_eta_phi.at(i)->setAxisTitle("#eta", 1);
126  egamma_eta_phi.at(i)->setAxisTitle("#phi", 2);
127  }
128 
129  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing");
130  denominator_tau = ibooker.book2D("denominator_tau","Denominator for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
131  denominator_tau->setAxisTitle("#eta", 1);
132  denominator_tau->setAxisTitle("#phi", 2);
133  for(unsigned int i=0; i<bxrange_; ++i) {
134  tau_eta_phi.push_back(ibooker.book2D("tau_eta_phi_bx_"+bx_obj[i],"L1T Tau #eta vs #phi BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
135  tau_eta_phi.at(i)->setAxisTitle("#eta", 1);
136  tau_eta_phi.at(i)->setAxisTitle("#phi", 2);
137  }
138 
139  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing");
140  denominator_etsum_MET = ibooker.book1D("denominator_etsum_MET","Denominator for L1TEtSum MET", 25, -3.2, 3.2);
142  denominator_etsum_METHF = ibooker.book1D("denominator_etsum_METHF","Denominator for L1TEtSum METHF", 25, -3.2, 3.2);
144  denominator_etsum_MHT = ibooker.book1D("denominator_etsum_MHT","Denominator for L1TEtSum MHT", 25, -3.2, 3.2);
146  denominator_etsum_MHTHF = ibooker.book1D("denominator_etsum_MHTHF","Denominator for L1TEtSum MHTHF", 25, -3.2, 3.2);
148  for(unsigned int i=0; i<bxrange_; ++i) {
149  etsum_eta_phi_MET.push_back(ibooker.book1D("etsum_phi_bx_MET_"+bx_obj[i],"L1T MET #phi BX="+bx_obj[i],25, -3.2, 3.2));
150  etsum_eta_phi_MET.at(i)->setAxisTitle("#phi", 1);
151  etsum_eta_phi_METHF.push_back(ibooker.book1D("etsum_phi_bx_METHF_"+bx_obj[i],"L1T METHF #phi BX="+bx_obj[i],25, -3.2, 3.2));
152  etsum_eta_phi_METHF.at(i)->setAxisTitle("#phi", 1);
153  etsum_eta_phi_MHT.push_back(ibooker.book1D("etsum_phi_bx_MHT_"+bx_obj[i],"L1T MHT #phi BX="+bx_obj[i],25, -3.2, 3.2));
154  etsum_eta_phi_MHT.at(i)->setAxisTitle("#phi", 1);
155  etsum_eta_phi_MHTHF.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_"+bx_obj[i],"L1T MHTHF #phi BX="+bx_obj[i],25, -3.2, 3.2));
156  etsum_eta_phi_MHTHF.at(i)->setAxisTitle("#phi", 1);
157  }
158 
160  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Isolated_bunch");
161  denominator_muons_isolated = ibooker.book2D("denominator_muons_isolated","Denominator for Isolated Bunch for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
164  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Isolated_bunch");
165  denominator_jet_isolated = ibooker.book2D("denominator_jet_isolated","Denominator for Isolated Bunch for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
168  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Isolated_bunch");
169  denominator_egamma_isolated = ibooker.book2D("denominator_egamma_isolated","Denominator for Isolated Bunch for L1EGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
172  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Isolated_bunch");
173  denominator_tau_isolated = ibooker.book2D("denominator_tau_isolated","Denominator for Isolated Bunch for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
176  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Isolated_bunch");
177  denominator_etsum_isolated_MET = ibooker.book1D("denominator_etsum_isolated_MET","Denominator for Isolated Bunch for L1TEtSum MET", 25, -3.2, 3.2);
179  denominator_etsum_isolated_METHF = ibooker.book1D("denominator_etsum_isolated_METHF","Denominator for Isolated Bunch for L1TEtSum METHF", 25, -3.2, 3.2);
181  denominator_etsum_isolated_MHT = ibooker.book1D("denominator_etsum_isolated_MHT","Denominator for Isolated Bunch for L1TEtSum MHT", 25, -3.2, 3.2);
183  denominator_etsum_isolated_MHTHF = ibooker.book1D("denominator_etsum_isolated_MHTHF","Denominator for Isolated Bunch for L1TEtSum MHTHF", 25, -3.2, 3.2);
185 
186  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Isolated_bunch");
187  for(unsigned int i=0; i<bxrange_; ++i) {
188  muons_eta_phi_isolated.push_back(ibooker.book2D("muons_eta_phi_bx_isolated_"+bx_obj[i],"L1T Muon #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
189  muons_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
190  muons_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
191  }
192 
193  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Isolated_bunch");
194  for(unsigned int i=0; i<bxrange_; ++i) {
195  jet_eta_phi_isolated.push_back(ibooker.book2D("jet_eta_phi_bx_isolated_"+bx_obj[i],"L1T Jet #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
196  jet_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
197  jet_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
198  }
199 
200  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Isolated_bunch");
201  for(unsigned int i=0; i<bxrange_; ++i) {
202  egamma_eta_phi_isolated.push_back(ibooker.book2D("egamma_eta_phi_bx_isolated_"+bx_obj[i],"L1T EGamma #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
203  egamma_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
204  egamma_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
205  }
206 
207  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Isolated_bunch");
208  for(unsigned int i=0; i<bxrange_; ++i) {
209  tau_eta_phi_isolated.push_back(ibooker.book2D("tau_eta_phi_bx_isolated_"+bx_obj[i],"L1T Tau #eta vs #phi for isolated bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
210  tau_eta_phi_isolated.at(i)->setAxisTitle("#eta", 1);
211  tau_eta_phi_isolated.at(i)->setAxisTitle("#phi", 2);
212  }
213 
214  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Isolated_bunch");
215  for(unsigned int i=0; i<bxrange_; ++i) {
216  etsum_eta_phi_MET_isolated.push_back(ibooker.book1D("etsum_phi_bx_MET_isolated_"+bx_obj[i],"L1T MET #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
217  etsum_eta_phi_MET_isolated.at(i)->setAxisTitle("#phi", 1);
218  etsum_eta_phi_METHF_isolated.push_back(ibooker.book1D("etsum_phi_bx_METHF_isolated_"+bx_obj[i],"L1T METHF #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
219  etsum_eta_phi_METHF_isolated.at(i)->setAxisTitle("#phi", 1);
220  etsum_eta_phi_MHT_isolated.push_back(ibooker.book1D("etsum_phi_bx_MHT_isolated_"+bx_obj[i],"L1T MHT #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
221  etsum_eta_phi_MHT_isolated.at(i)->setAxisTitle("#phi", 1);
222  etsum_eta_phi_MHTHF_isolated.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_isolated_"+bx_obj[i],"L1T MHTHF #phi for isolated bunch BX="+bx_obj[i],25, -3.2, 3.2));
223  etsum_eta_phi_MHTHF_isolated.at(i)->setAxisTitle("#phi", 1);
224  }
225 }
226 
227 if(algoBitFirstBxInTrain_ > -1) {
228  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/First_bunch");
229  denominator_muons_firstbunch = ibooker.book2D("denominator_muons_firstbunch","Denominator for First Bunch for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
232  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/First_bunch");
233  denominator_jet_firstbunch = ibooker.book2D("denominator_jet_firstbunch","Denominator for First Bunch for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
236  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/First_bunch");
237  denominator_egamma_firstbunch = ibooker.book2D("denominator_egamma_firstbunch","Denominator for First Bunch for L1TEGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
240  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/First_bunch");
241  denominator_tau_firstbunch = ibooker.book2D("denominator_tau_firstbunch","Denominator for First Bunch for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
244  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/First_bunch");
245  denominator_etsum_firstbunch_MET = ibooker.book1D("denominator_etsum_firstbunch_MET","Denominator for First Bunch for L1TEtSum MET", 25, -3.2, 3.2);
247  denominator_etsum_firstbunch_METHF = ibooker.book1D("denominator_etsum_firstbunch_METHF","Denominator for First Bunch for L1TEtSum METHF", 25, -3.2, 3.2);
249  denominator_etsum_firstbunch_MHT = ibooker.book1D("denominator_etsum_firstbunch_MHT","Denominator for First Bunch for L1TEtSum MHT", 25, -3.2, 3.2);
251  denominator_etsum_firstbunch_MHTHF = ibooker.book1D("denominator_etsum_firstbunch_MHTHF","Denominator for First Bunch for L1TEtSum MHTHF", 25, -3.2, 3.2);
253 
254  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/First_bunch");
255  for(unsigned int i=0; i<bxrange_-2; ++i) {
256  muons_eta_phi_firstbunch.push_back(ibooker.book2D("muons_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T Muon #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
257  muons_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
258  muons_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
259  }
260 
261  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/First_bunch");
262  for(unsigned int i=0; i<bxrange_-2; ++i) {
263  jet_eta_phi_firstbunch.push_back(ibooker.book2D("jet_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T Jet #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
264  jet_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
265  jet_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
266  }
267 
268  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/First_bunch");
269  for(unsigned int i=0; i<bxrange_-2; ++i) {
270  egamma_eta_phi_firstbunch.push_back(ibooker.book2D("egamma_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T EGamma #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
271  egamma_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
272  egamma_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
273  }
274 
275  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/First_bunch");
276  for(unsigned int i=0; i<bxrange_-2; ++i) {
277  tau_eta_phi_firstbunch.push_back(ibooker.book2D("tau_eta_phi_bx_firstbunch_"+bx_obj[i],"L1T Tau #eta vs #phi for first bunch BX="+bx_obj[i],25, -2.5, 2.5, 25, -3.2, 3.2));
278  tau_eta_phi_firstbunch.at(i)->setAxisTitle("#eta", 1);
279  tau_eta_phi_firstbunch.at(i)->setAxisTitle("#phi", 2);
280  }
281 
282  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/First_bunch");
283  for(unsigned int i=0; i<bxrange_-2; ++i) {
284  etsum_eta_phi_MET_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_MET_firstbunch_"+bx_obj[i],"L1T MET #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
285  etsum_eta_phi_MET_firstbunch.at(i)->setAxisTitle("#phi", 1);
286  etsum_eta_phi_METHF_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_METHF_firstbunch_"+bx_obj[i],"L1T METHF #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
287  etsum_eta_phi_METHF_firstbunch.at(i)->setAxisTitle("#phi", 1);
288  etsum_eta_phi_MHT_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_MHT_firstbunch_"+bx_obj[i],"L1T MHT #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
289  etsum_eta_phi_MHT_firstbunch.at(i)->setAxisTitle("#phi", 1);
290  etsum_eta_phi_MHTHF_firstbunch.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_firstbunch_"+bx_obj[i],"L1T MHTHF #phi for firstbunch bunch BX="+bx_obj[i],25, -3.2, 3.2));
291  etsum_eta_phi_MHTHF_firstbunch.at(i)->setAxisTitle("#phi", 1);
292  }
293 }
294 
295 if(algoBitLastBxInTrain_ > -1) {
296  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Last_bunch");
297  denominator_muons_lastbunch = ibooker.book2D("denominator_muons_lastbunch","Denominator for Last Bunch for L1TMuon",25, -2.5, 2.5, 25, -3.2, 3.2);
300  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Last_bunch");
301  denominator_jet_lastbunch = ibooker.book2D("denominator_jet_lastbunch","Denominator for Last Bunch for L1TJet",25, -2.5, 2.5, 25, -3.2, 3.2);
304  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Last_bunch");
305  denominator_egamma_lastbunch = ibooker.book2D("denominator_egamma_lastbunch","Denominator for Last Bunch for L1TEGamma",25, -2.5, 2.5, 25, -3.2, 3.2);
308  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Last_bunch");
309  denominator_tau_lastbunch = ibooker.book2D("denominator_tau_lastbunch","Denominator for Last Bunch for L1TTau",25, -2.5, 2.5, 25, -3.2, 3.2);
312  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Last_bunch");
313  denominator_etsum_lastbunch_MET = ibooker.book1D("denominator_etsum_lastbunch_MET","Denominator for Last Bunch for L1TEtSum MET", 25, -3.2, 3.2);
315  denominator_etsum_lastbunch_METHF = ibooker.book1D("denominator_etsum_lastbunch_METHF","Denominator for Last Bunch for L1TEtSum METHF", 25, -3.2, 3.2);
317  denominator_etsum_lastbunch_MHT = ibooker.book1D("denominator_etsum_lastbunch_MHT","Denominator for Last Bunch for L1TEtSum MHT", 25, -3.2, 3.2);
319  denominator_etsum_lastbunch_MHTHF = ibooker.book1D("denominator_etsum_lastbunch_MHTHF","Denominator for Last Bunch for L1TEtSum MHTHF", 25, -3.2, 3.2);
321 
322  ibooker.setCurrentFolder(monitorDir_+"/L1TMuon"+"/timing"+"/Last_bunch");
323  for(unsigned int i=0; i<bxrange_-2; ++i) {
324  muons_eta_phi_lastbunch.push_back(ibooker.book2D("muons_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T Muon #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
325  muons_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
326  muons_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
327  }
328 
329  ibooker.setCurrentFolder(monitorDir_+"/L1TJet"+"/timing"+"/Last_bunch");
330  for(unsigned int i=0; i<bxrange_-2; ++i) {
331  jet_eta_phi_lastbunch.push_back(ibooker.book2D("jet_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T Jet #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
332  jet_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
333  jet_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
334  }
335 
336  ibooker.setCurrentFolder(monitorDir_+"/L1TEGamma"+"/timing"+"/Last_bunch");
337  for(unsigned int i=0; i<bxrange_-2; ++i) {
338  egamma_eta_phi_lastbunch.push_back(ibooker.book2D("egamma_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T EGamma #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
339  egamma_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
340  egamma_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
341  }
342 
343  ibooker.setCurrentFolder(monitorDir_+"/L1TTau"+"/timing"+"/Last_bunch");
344  for(unsigned int i=0; i<bxrange_-2; ++i) {
345  tau_eta_phi_lastbunch.push_back(ibooker.book2D("tau_eta_phi_bx_lastbunch_"+bx_obj[i+2],"L1T Tau #eta vs #phi for last bunch BX="+bx_obj[i+2],25, -2.5, 2.5, 25, -3.2, 3.2));
346  tau_eta_phi_lastbunch.at(i)->setAxisTitle("#eta", 1);
347  tau_eta_phi_lastbunch.at(i)->setAxisTitle("#phi", 2);
348  }
349 
350  ibooker.setCurrentFolder(monitorDir_+"/L1TEtSum"+"/timing"+"/Last_bunch");
351  for(unsigned int i=0; i<bxrange_-2; ++i) {
352  etsum_eta_phi_MET_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_MET_lastbunch_"+bx_obj[i+2],"L1T MET #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
353  etsum_eta_phi_MET_lastbunch.at(i)->setAxisTitle("#phi", 1);
354  etsum_eta_phi_METHF_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_METHF_lastbunch_"+bx_obj[i+2],"L1T METHF #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
355  etsum_eta_phi_METHF_lastbunch.at(i)->setAxisTitle("#phi", 1);
356  etsum_eta_phi_MHT_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_MHT_lastbunch_"+bx_obj[i+2],"L1T MHT #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
357  etsum_eta_phi_MHT_lastbunch.at(i)->setAxisTitle("#phi", 1);
358  etsum_eta_phi_MHTHF_lastbunch.push_back(ibooker.book1D("etsum_phi_bx_MHTHF_lastbunch_"+bx_obj[i+2],"L1T MHTHF #phi for lastbunch bunch BX="+bx_obj[i+2],25, -3.2, 3.2));
359  etsum_eta_phi_MHTHF_lastbunch.at(i)->setAxisTitle("#phi", 1);
360  }
361 }
362 
363 }
364 
365 
366 
368 
369  if (verbose_) edm::LogInfo("L1TObjectsTiming") << "L1TObjectsTiming: analyze..." << std::endl;
370 
371 
372  // Muon Collection
374  e.getByToken(ugmtMuonToken_, MuonBxCollection);
375  // Jet Collection
377  e.getByToken(stage2CaloLayer2JetToken_, JetBxCollection);
378  // EGamma Collection
380  e.getByToken(stage2CaloLayer2EGammaToken_, EGammaBxCollection);
381  // Tau Collection
383  e.getByToken(stage2CaloLayer2TauToken_, TauBxCollection);
384  // EtSum Collection
386  e.getByToken(stage2CaloLayer2EtSumToken_, EtSumBxCollection);
387 
388  // Open uGT readout record
390  e.getByToken(l1tStage2uGtProducer_, uGtAlgs);
391 
392 
393  // Filling eta-phi map for muons for BX=-2,-1,0,+1,+2
394  for (int itBX = MuonBxCollection->getFirstBX(); itBX <= MuonBxCollection->getLastBX(); ++itBX) {
395  for (l1t::MuonBxCollection::const_iterator Muon = MuonBxCollection->begin(itBX); Muon != MuonBxCollection->end(itBX); ++Muon) {
396  denominator_muons->Fill(Muon->eta(), Muon->phi());
397  int index = (int)itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
398  muons_eta_phi.at(index)->Fill(Muon->eta(), Muon->phi());
399  }
400  }
401 
402  // Filling eta-phi map for jets for BX=-2,-1,0,+1,+2
403  for (int itBX = JetBxCollection->getFirstBX(); itBX <= JetBxCollection->getLastBX(); ++itBX) {
404  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
405  denominator_jet->Fill(jet->eta(), jet->phi());
406  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
407  jet_eta_phi.at(index)->Fill(jet->eta(), jet->phi());
408  }
409  }
410 
411  // Filling eta-phi map for egamma for BX=-2,-1,0,+1,+2
412  for (int itBX = EGammaBxCollection->getFirstBX(); itBX <= EGammaBxCollection->getLastBX(); ++itBX) {
413  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
414  denominator_egamma->Fill(egamma->eta(), egamma->phi());
415  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
416  egamma_eta_phi.at(index)->Fill(egamma->eta(), egamma->phi());
417  }
418  }
419 
420  // Filling eta-phi map for tau for BX=-2,-1,0,+1,+2
421  for (int itBX = TauBxCollection->getFirstBX(); itBX <= TauBxCollection->getLastBX(); ++itBX) {
422  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
423  denominator_tau->Fill(tau->eta(), tau->phi());
424  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
425  tau_eta_phi.at(index)->Fill(tau->eta(), tau->phi());
426  }
427  }
428 
429  // Filling eta-phi map for etsum for BX=-2,-1,0,+1,+2
430  for (int itBX = EtSumBxCollection->getFirstBX(); itBX <= EtSumBxCollection->getLastBX(); ++itBX) {
431  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
432  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
433  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
434  etsum_eta_phi_MET.at(index)->Fill(EtSum->phi());
435  denominator_etsum_MET->Fill(EtSum->phi());
436  }
437  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
438  etsum_eta_phi_METHF.at(index)->Fill(EtSum->phi());
439  denominator_etsum_METHF->Fill(EtSum->phi());
440 
441  }
442  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
443  etsum_eta_phi_MHT.at(index)->Fill(EtSum->phi());
444  denominator_etsum_MHT->Fill(EtSum->phi());
445 
446  }
447  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
448  etsum_eta_phi_MHTHF.at(index)->Fill(EtSum->phi());
449  denominator_etsum_MHTHF->Fill(EtSum->phi());
450  }
451  }
452  }
453 
454  for(GlobalAlgBlkBxCollection::const_iterator itr = uGtAlgs->begin(0); itr != uGtAlgs->end(0); ++itr) {
455  if((algoBitFirstBxInTrain_ != -1 && algoBitLastBxInTrain_ != -1) && (itr->getAlgoDecisionInitial(algoBitFirstBxInTrain_) && itr->getAlgoDecisionInitial(algoBitLastBxInTrain_))) {
456 // for(GlobalAlgBlkBxCollection::const_iterator itr = uGtAlgs->begin(0); itr != uGtAlgs->end(0); ++itr)
457  for (int itBX = MuonBxCollection->getFirstBX(); itBX <= MuonBxCollection->getLastBX(); ++itBX) {
458  for (l1t::MuonBxCollection::const_iterator muon = MuonBxCollection->begin(itBX); muon != MuonBxCollection->end(itBX); ++muon) { // Starting with Muons
459  denominator_muons_isolated->Fill(muon->eta(),muon->phi());
460  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
461  muons_eta_phi_isolated.at(index)->Fill(muon->eta(),muon->phi());
462  }
463  }
464  for (int itBX = JetBxCollection->getFirstBX(); itBX <= JetBxCollection->getLastBX(); ++itBX) {
465  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
466  denominator_jet_isolated->Fill(jet->eta(), jet->phi());
467  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
468  jet_eta_phi_isolated.at(index)->Fill(jet->eta(), jet->phi());
469  }
470  }
471  for (int itBX = EGammaBxCollection->getFirstBX(); itBX <= EGammaBxCollection->getLastBX(); ++itBX) {
472  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
474  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
475  egamma_eta_phi_isolated.at(index)->Fill(egamma->eta(), egamma->phi());
476  }
477  }
478  for (int itBX = TauBxCollection->getFirstBX(); itBX <= TauBxCollection->getLastBX(); ++itBX) {
479  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
480  denominator_tau_isolated->Fill(tau->eta(), tau->phi());
481  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
482  tau_eta_phi_isolated.at(index)->Fill(tau->eta(), tau->phi());
483  }
484  }
485  for (int itBX = EtSumBxCollection->getFirstBX(); itBX <= EtSumBxCollection->getLastBX(); ++itBX) {
486  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
487  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
488  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
489  etsum_eta_phi_MET_isolated.at(index)->Fill(EtSum->phi());
490  denominator_etsum_isolated_MET->Fill(EtSum->phi());
491 
492  }
493  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
494  etsum_eta_phi_METHF_isolated.at(index)->Fill(EtSum->phi());
495  denominator_etsum_isolated_METHF->Fill(EtSum->phi());
496 
497  }
498  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
499  etsum_eta_phi_MHT_isolated.at(index)->Fill(EtSum->phi());
500  denominator_etsum_isolated_MHT->Fill(EtSum->phi());
501  }
502  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
503  etsum_eta_phi_MHTHF_isolated.at(index)->Fill(EtSum->phi());
504  denominator_etsum_isolated_MHTHF->Fill(EtSum->phi());
505 
506  }
507  }
508  }
509  }
510 
511  //if(itr->getAlgoDecisionInitial(algoBitFirstBxInTrain_))
512  if(algoBitFirstBxInTrain_ != -1 && itr->getAlgoDecisionInitial(algoBitFirstBxInTrain_)) { // Filling eta-phi map for all objects for first bunch each BX
513  for (int itBX = MuonBxCollection->getFirstBX(); itBX <= 0 ; ++itBX) {
514  for (l1t::MuonBxCollection::const_iterator muon = MuonBxCollection->begin(itBX); muon != MuonBxCollection->end(itBX); ++muon) { // Starting with Muons
515  denominator_muons_firstbunch->Fill(muon->eta(),muon->phi());
516  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
517  muons_eta_phi_firstbunch.at(index)->Fill(muon->eta(),muon->phi());
518  }
519  }
520  for (int itBX = JetBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
521  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
522  denominator_jet_firstbunch->Fill(jet->eta(), jet->phi());
523  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
524  jet_eta_phi_firstbunch.at(index)->Fill(jet->eta(), jet->phi());
525  }
526  }
527  for (int itBX = EGammaBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
528  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
530  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
531  egamma_eta_phi_firstbunch.at(index)->Fill(egamma->eta(), egamma->phi());
532  }
533  }
534  for (int itBX = TauBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
535  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
536  denominator_tau_firstbunch->Fill(tau->eta(), tau->phi());
537  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
538  tau_eta_phi_firstbunch.at(index)->Fill(tau->eta(), tau->phi());
539  }
540  }
541  for (int itBX = EtSumBxCollection->getFirstBX(); itBX <= 0; ++itBX) {
542  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
543  int index = itBX - std::min(0, 1 - (int)bxrange_%2 - (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
544  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
545  etsum_eta_phi_MET_firstbunch.at(index)->Fill(EtSum->phi());
546  denominator_etsum_firstbunch_MET->Fill(EtSum->phi());
547 
548  }
549  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
550  etsum_eta_phi_METHF_firstbunch.at(index)->Fill(EtSum->phi());
552 
553  }
554  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
555  etsum_eta_phi_MHT_firstbunch.at(index)->Fill(EtSum->phi());
556  denominator_etsum_firstbunch_MHT->Fill(EtSum->phi());
557 
558  }
559  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
560  etsum_eta_phi_MHTHF_firstbunch.at(index)->Fill(EtSum->phi());
562 
563  }
564  }
565  }
566  }
567  //if(itr->getAlgoDecisionInitial(algoBitLastBxInTrain_))
568  if(algoBitLastBxInTrain_ != -1 && itr->getAlgoDecisionInitial(algoBitLastBxInTrain_)) { // Filling eta-phi map for all objects for last bunch each BX
569  for (int itBX = 0; itBX <= MuonBxCollection->getLastBX(); ++itBX) {
570  for (l1t::MuonBxCollection::const_iterator muon = MuonBxCollection->begin(itBX); muon != MuonBxCollection->end(itBX); ++muon) { // Starting with Muons
571  denominator_muons_lastbunch->Fill(muon->eta(),muon->phi());
572  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
573  muons_eta_phi_lastbunch.at(index)->Fill(muon->eta(),muon->phi());
574  }
575  }
576 
577  for (int itBX = 0; itBX <= JetBxCollection->getLastBX(); ++itBX) {
578  for (l1t::JetBxCollection::const_iterator jet = JetBxCollection->begin(itBX); jet != JetBxCollection->end(itBX); ++jet) {
579  denominator_jet_lastbunch->Fill(jet->eta(), jet->phi());
580  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
581  jet_eta_phi_lastbunch.at(index)->Fill(jet->eta(), jet->phi());
582  }
583  }
584  for (int itBX = 0; itBX <= EGammaBxCollection->getLastBX(); ++itBX) {
585  for (l1t::EGammaBxCollection::const_iterator egamma = EGammaBxCollection->begin(itBX); egamma != EGammaBxCollection->end(itBX); ++egamma) {
587  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
588  egamma_eta_phi_lastbunch.at(index)->Fill(egamma->eta(), egamma->phi());
589  }
590  }
591  for (int itBX = 0; itBX <= TauBxCollection->getLastBX(); ++itBX) {
592  for (l1t::TauBxCollection::const_iterator tau = TauBxCollection->begin(itBX); tau != TauBxCollection->end(itBX); ++tau) {
593  denominator_tau_lastbunch->Fill(tau->eta(), tau->phi());
594  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
595  tau_eta_phi_lastbunch.at(index)->Fill(tau->eta(), tau->phi());
596  }
597  }
598  for (int itBX = 0; itBX <= EtSumBxCollection->getLastBX(); ++itBX) {
599  for (l1t::EtSumBxCollection::const_iterator EtSum = EtSumBxCollection->begin(itBX); EtSum != EtSumBxCollection->end(itBX); ++EtSum) {
600  int index = itBX - std::min(0, 1 - (int)bxrange_%2 + (int)std::floor(bxrange_/2.)); // the correlation from itBX to respective index of the vector
601  if (l1t::EtSum::EtSumType::kMissingEt == EtSum->getType()) {
602  etsum_eta_phi_MET_lastbunch.at(index)->Fill(EtSum->phi());
603  denominator_etsum_lastbunch_MET->Fill(EtSum->phi());
604 
605  }
606  else if (l1t::EtSum::EtSumType::kMissingEtHF == EtSum->getType()) {
607  etsum_eta_phi_METHF_lastbunch.at(index)->Fill(EtSum->phi());
609 
610  }
611  else if(l1t::EtSum::EtSumType::kMissingHt == EtSum->getType()) {
612  etsum_eta_phi_MHT_lastbunch.at(index)->Fill(EtSum->phi());
613  denominator_etsum_lastbunch_MHT->Fill(EtSum->phi());
614 
615  }
616  else if(l1t::EtSum::EtSumType::kMissingHtHF == EtSum->getType()) {
617  etsum_eta_phi_MHTHF_lastbunch.at(index)->Fill(EtSum->phi());
619 
620  }
621  }
622  }
623  }
624  }
625 }
626 
std::vector< MonitorElement * > egamma_eta_phi_isolated
MonitorElement * denominator_etsum_METHF
BXVector< EGamma > EGammaBxCollection
Definition: EGamma.h:11
const_iterator end(int bx) const
std::vector< MonitorElement * > jet_eta_phi_firstbunch
MonitorElement * denominator_egamma_firstbunch
MonitorElement * denominator_etsum_lastbunch_MHT
edm::EDGetTokenT< l1t::EGammaBxCollection > stage2CaloLayer2EGammaToken_
MonitorElement * denominator_muons_isolated
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1tStage2uGtProducer_
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
std::vector< MonitorElement * > etsum_eta_phi_MET_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF_isolated
std::vector< MonitorElement * > muons_eta_phi_isolated
MonitorElement * denominator_etsum_MET
std::vector< MonitorElement * > egamma_eta_phi
MonitorElement * denominator_etsum_isolated_MHTHF
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:519
MonitorElement * denominator_muons_firstbunch
std::vector< MonitorElement * > jet_eta_phi_lastbunch
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
std::vector< MonitorElement * > tau_eta_phi_lastbunch
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * denominator_etsum_MHT
const unsigned int bxrange_
MonitorElement * denominator_egamma_isolated
delete x;
Definition: CaloConfig.h:22
BXVector< Tau > TauBxCollection
Definition: Tau.h:11
std::vector< MonitorElement * > etsum_eta_phi_MET_firstbunch
MonitorElement * denominator_etsum_isolated_METHF
MonitorElement * denominator_tau_isolated
std::vector< MonitorElement * > etsum_eta_phi_MHT_lastbunch
MonitorElement * denominator_etsum_firstbunch_MET
void Fill(long long x)
MonitorElement * denominator_etsum_firstbunch_MHT
std::vector< MonitorElement * > muons_eta_phi_lastbunch
MonitorElement * denominator_etsum_MHTHF
std::vector< MonitorElement * > etsum_eta_phi_MHT
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
BXVector< EtSum > EtSumBxCollection
Definition: EtSum.h:11
MonitorElement * denominator_egamma
std::vector< MonitorElement * > etsum_eta_phi_MET_lastbunch
Definition: Muon.py:1
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * denominator_tau_lastbunch
std::vector< MonitorElement * > jet_eta_phi
std::vector< MonitorElement * > etsum_eta_phi_METHF_firstbunch
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_isolated
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
L1TObjectsTiming(const edm::ParameterSet &ps)
edm::EDGetTokenT< l1t::MuonBxCollection > ugmtMuonToken_
MonitorElement * denominator_tau_firstbunch
std::vector< MonitorElement * > egamma_eta_phi_lastbunch
MonitorElement * denominator_etsum_lastbunch_MHTHF
MonitorElement * denominator_muons
std::vector< MonitorElement * > muons_eta_phi_firstbunch
T min(T a, T b)
Definition: MathUtil.h:58
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_lastbunch
edm::EDGetTokenT< l1t::EtSumBxCollection > stage2CaloLayer2EtSumToken_
edm::EDGetTokenT< l1t::JetBxCollection > stage2CaloLayer2JetToken_
edm::EDGetTokenT< l1t::TauBxCollection > stage2CaloLayer2TauToken_
std::vector< MonitorElement * > tau_eta_phi_isolated
std::vector< MonitorElement * > etsum_eta_phi_METHF
std::vector< MonitorElement * > etsum_eta_phi_MHTHF
BXVector< Muon > MuonBxCollection
Definition: Muon.h:11
std::vector< MonitorElement * > etsum_eta_phi_MHTHF_firstbunch
std::vector< MonitorElement * > tau_eta_phi
int getFirstBX() const
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
BXVector< Jet > JetBxCollection
Definition: Jet.h:11
std::vector< MonitorElement * > egamma_eta_phi_firstbunch
MonitorElement * denominator_etsum_firstbunch_METHF
MonitorElement * denominator_jet_lastbunch
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
std::string monitorDir_
MonitorElement * denominator_jet
std::vector< MonitorElement * > etsum_eta_phi_MHT_isolated
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< MonitorElement * > etsum_eta_phi_METHF_lastbunch
MonitorElement * denominator_muons_lastbunch
const std::string algoNameLastBxInTrain_
std::vector< MonitorElement * > etsum_eta_phi_MET
MonitorElement * denominator_tau
~L1TObjectsTiming() override
std::vector< MonitorElement * > jet_eta_phi_isolated
MonitorElement * denominator_egamma_lastbunch
HLT enums.
MonitorElement * denominator_etsum_isolated_MET
MonitorElement * denominator_etsum_firstbunch_MHTHF
int getLastBX() const
std::vector< MonitorElement * > muons_eta_phi
MonitorElement * denominator_etsum_lastbunch_METHF
MonitorElement * denominator_etsum_isolated_MHT
const std::string algoNameFirstBxInTrain_
std::vector< MonitorElement * > etsum_eta_phi_MHT_firstbunch
const_iterator begin(int bx) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::shared_ptr< l1t::L1TGlobalUtil > gtUtil_
MonitorElement * denominator_jet_firstbunch
MonitorElement * denominator_jet_isolated
Definition: Run.h:43
MonitorElement * denominator_etsum_lastbunch_MET
std::vector< Muon >::const_iterator const_iterator
Definition: BXVector.h:20
std::vector< MonitorElement * > tau_eta_phi_firstbunch