CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
PlotMakerL1 Class Reference

#include <PlotMakerL1.h>

Public Member Functions

void bookHistos (DQMStore *, std::vector< int > *, std::vector< int > *, std::vector< std::string > *, std::vector< std::string > *)
 
void fillPlots (const edm::Event &)
 
void handleObjects (const edm::Event &)
 
 PlotMakerL1 (const edm::ParameterSet &objectList, edm::ConsumesCollector &&iC)
 
virtual ~PlotMakerL1 ()
 

Private Member Functions

double invariantMass (reco::Candidate *, reco::Candidate *)
 
void setBits (std::vector< int > *l1bits, std::vector< int > *hltbits)
 

Private Attributes

std::string dirname_
 
MonitorElementhL1CentralJet1Eta
 
std::vector< MonitorElement * > hL1CentralJet1EtaAfterHLT
 
std::vector< MonitorElement * > hL1CentralJet1EtaAfterL1
 
MonitorElementhL1CentralJet1Phi
 
std::vector< MonitorElement * > hL1CentralJet1PhiAfterHLT
 
std::vector< MonitorElement * > hL1CentralJet1PhiAfterL1
 
MonitorElementhL1CentralJet1Pt
 
std::vector< MonitorElement * > hL1CentralJet1PtAfterHLT
 
std::vector< MonitorElement * > hL1CentralJet1PtAfterL1
 
MonitorElementhL1CentralJet2Eta
 
std::vector< MonitorElement * > hL1CentralJet2EtaAfterHLT
 
std::vector< MonitorElement * > hL1CentralJet2EtaAfterL1
 
MonitorElementhL1CentralJet2Phi
 
std::vector< MonitorElement * > hL1CentralJet2PhiAfterHLT
 
std::vector< MonitorElement * > hL1CentralJet2PhiAfterL1
 
MonitorElementhL1CentralJet2Pt
 
std::vector< MonitorElement * > hL1CentralJet2PtAfterHLT
 
std::vector< MonitorElement * > hL1CentralJet2PtAfterL1
 
MonitorElementhL1CentralJetMult
 
std::vector< MonitorElement * > hL1CentralJetMultAfterHLT
 
std::vector< MonitorElement * > hL1CentralJetMultAfterL1
 
MonitorElementhL1EmIso1Eta
 
std::vector< MonitorElement * > hL1EmIso1EtaAfterHLT
 
std::vector< MonitorElement * > hL1EmIso1EtaAfterL1
 
MonitorElementhL1EmIso1Phi
 
std::vector< MonitorElement * > hL1EmIso1PhiAfterHLT
 
std::vector< MonitorElement * > hL1EmIso1PhiAfterL1
 
MonitorElementhL1EmIso1Pt
 
std::vector< MonitorElement * > hL1EmIso1PtAfterHLT
 
std::vector< MonitorElement * > hL1EmIso1PtAfterL1
 
MonitorElementhL1EmIso2Eta
 
std::vector< MonitorElement * > hL1EmIso2EtaAfterHLT
 
std::vector< MonitorElement * > hL1EmIso2EtaAfterL1
 
MonitorElementhL1EmIso2Phi
 
std::vector< MonitorElement * > hL1EmIso2PhiAfterHLT
 
std::vector< MonitorElement * > hL1EmIso2PhiAfterL1
 
MonitorElementhL1EmIso2Pt
 
std::vector< MonitorElement * > hL1EmIso2PtAfterHLT
 
std::vector< MonitorElement * > hL1EmIso2PtAfterL1
 
MonitorElementhL1EmIsoMult
 
std::vector< MonitorElement * > hL1EmIsoMultAfterHLT
 
std::vector< MonitorElement * > hL1EmIsoMultAfterL1
 
MonitorElementhL1EmNotIso1Eta
 
std::vector< MonitorElement * > hL1EmNotIso1EtaAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIso1EtaAfterL1
 
MonitorElementhL1EmNotIso1Phi
 
std::vector< MonitorElement * > hL1EmNotIso1PhiAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIso1PhiAfterL1
 
MonitorElementhL1EmNotIso1Pt
 
std::vector< MonitorElement * > hL1EmNotIso1PtAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIso1PtAfterL1
 
MonitorElementhL1EmNotIso2Eta
 
std::vector< MonitorElement * > hL1EmNotIso2EtaAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIso2EtaAfterL1
 
MonitorElementhL1EmNotIso2Phi
 
std::vector< MonitorElement * > hL1EmNotIso2PhiAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIso2PhiAfterL1
 
MonitorElementhL1EmNotIso2Pt
 
std::vector< MonitorElement * > hL1EmNotIso2PtAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIso2PtAfterL1
 
MonitorElementhL1EmNotIsoMult
 
std::vector< MonitorElement * > hL1EmNotIsoMultAfterHLT
 
std::vector< MonitorElement * > hL1EmNotIsoMultAfterL1
 
MonitorElementhL1ForwardJet1Eta
 
std::vector< MonitorElement * > hL1ForwardJet1EtaAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJet1EtaAfterL1
 
MonitorElementhL1ForwardJet1Phi
 
std::vector< MonitorElement * > hL1ForwardJet1PhiAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJet1PhiAfterL1
 
MonitorElementhL1ForwardJet1Pt
 
std::vector< MonitorElement * > hL1ForwardJet1PtAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJet1PtAfterL1
 
MonitorElementhL1ForwardJet2Eta
 
std::vector< MonitorElement * > hL1ForwardJet2EtaAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJet2EtaAfterL1
 
MonitorElementhL1ForwardJet2Phi
 
std::vector< MonitorElement * > hL1ForwardJet2PhiAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJet2PhiAfterL1
 
MonitorElementhL1ForwardJet2Pt
 
std::vector< MonitorElement * > hL1ForwardJet2PtAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJet2PtAfterL1
 
MonitorElementhL1ForwardJetMult
 
std::vector< MonitorElement * > hL1ForwardJetMultAfterHLT
 
std::vector< MonitorElement * > hL1ForwardJetMultAfterL1
 
MonitorElementhL1MET
 
std::vector< MonitorElement * > hL1METAfterHLT
 
std::vector< MonitorElement * > hL1METAfterL1
 
MonitorElementhL1METphi
 
std::vector< MonitorElement * > hL1METphiAfterHLT
 
std::vector< MonitorElement * > hL1METphiAfterL1
 
MonitorElementhL1METSignificance
 
std::vector< MonitorElement * > hL1METSignificanceAfterHLT
 
std::vector< MonitorElement * > hL1METSignificanceAfterL1
 
MonitorElementhL1METx
 
std::vector< MonitorElement * > hL1METxAfterHLT
 
std::vector< MonitorElement * > hL1METxAfterL1
 
MonitorElementhL1METy
 
std::vector< MonitorElement * > hL1METyAfterHLT
 
std::vector< MonitorElement * > hL1METyAfterL1
 
MonitorElementhL1Muon1Eta
 
std::vector< MonitorElement * > hL1Muon1EtaAfterHLT
 
std::vector< MonitorElement * > hL1Muon1EtaAfterL1
 
MonitorElementhL1Muon1Phi
 
std::vector< MonitorElement * > hL1Muon1PhiAfterHLT
 
std::vector< MonitorElement * > hL1Muon1PhiAfterL1
 
MonitorElementhL1Muon1Pt
 
std::vector< MonitorElement * > hL1Muon1PtAfterHLT
 
std::vector< MonitorElement * > hL1Muon1PtAfterL1
 
MonitorElementhL1Muon2Eta
 
std::vector< MonitorElement * > hL1Muon2EtaAfterHLT
 
std::vector< MonitorElement * > hL1Muon2EtaAfterL1
 
MonitorElementhL1Muon2Phi
 
std::vector< MonitorElement * > hL1Muon2PhiAfterHLT
 
std::vector< MonitorElement * > hL1Muon2PhiAfterL1
 
MonitorElementhL1Muon2Pt
 
std::vector< MonitorElement * > hL1Muon2PtAfterHLT
 
std::vector< MonitorElement * > hL1Muon2PtAfterL1
 
MonitorElementhL1MuonMult
 
std::vector< MonitorElement * > hL1MuonMultAfterHLT
 
std::vector< MonitorElement * > hL1MuonMultAfterL1
 
MonitorElementhL1SumEt
 
std::vector< MonitorElement * > hL1SumEtAfterHLT
 
std::vector< MonitorElement * > hL1SumEtAfterL1
 
MonitorElementhL1TauJet1Eta
 
std::vector< MonitorElement * > hL1TauJet1EtaAfterHLT
 
std::vector< MonitorElement * > hL1TauJet1EtaAfterL1
 
MonitorElementhL1TauJet1Phi
 
std::vector< MonitorElement * > hL1TauJet1PhiAfterHLT
 
std::vector< MonitorElement * > hL1TauJet1PhiAfterL1
 
MonitorElementhL1TauJet1Pt
 
std::vector< MonitorElement * > hL1TauJet1PtAfterHLT
 
std::vector< MonitorElement * > hL1TauJet1PtAfterL1
 
MonitorElementhL1TauJet2Eta
 
std::vector< MonitorElement * > hL1TauJet2EtaAfterHLT
 
std::vector< MonitorElement * > hL1TauJet2EtaAfterL1
 
MonitorElementhL1TauJet2Phi
 
std::vector< MonitorElement * > hL1TauJet2PhiAfterHLT
 
std::vector< MonitorElement * > hL1TauJet2PhiAfterL1
 
MonitorElementhL1TauJet2Pt
 
std::vector< MonitorElement * > hL1TauJet2PtAfterHLT
 
std::vector< MonitorElement * > hL1TauJet2PtAfterL1
 
MonitorElementhL1TauJetMult
 
std::vector< MonitorElement * > hL1TauJetMultAfterHLT
 
std::vector< MonitorElement * > hL1TauJetMultAfterL1
 
std::vector< int > * hltbits_
 
std::vector< int > * l1bits_
 
std::string m_l1extra
 
edm::EDGetTokenT
< l1extra::L1EmParticleCollection
m_l1extra_emIsolated_
 
edm::EDGetTokenT
< l1extra::L1EmParticleCollection
m_l1extra_emNonIsolated_
 
edm::EDGetTokenT
< l1extra::L1JetParticleCollection
m_l1extra_jetCentral_
 
edm::EDGetTokenT
< l1extra::L1JetParticleCollection
m_l1extra_jetFwd_
 
edm::EDGetTokenT
< l1extra::L1JetParticleCollection
m_l1extra_jetTau_
 
edm::EDGetTokenT
< l1extra::L1EtMissParticleCollection
m_l1extra_MET_
 
edm::EDGetTokenT
< l1extra::L1MuonParticleCollection
m_l1extra_muons_
 
std::string myHistoName
 
std::string myHistoTitle
 
l1extra::L1JetParticleCollection theL1CentralJetCollection
 
l1extra::L1EmParticleCollection theL1EmIsoCollection
 
l1extra::L1EmParticleCollection theL1EmNotIsoCollection
 
l1extra::L1JetParticleCollection theL1ForwardJetCollection
 
l1extra::L1EtMissParticleCollection theL1METCollection
 
l1extra::L1MuonParticleCollection theL1MuonCollection
 
l1extra::L1JetParticleCollection theL1TauJetCollection
 

Detailed Description

Definition at line 46 of file PlotMakerL1.h.

Constructor & Destructor Documentation

PlotMakerL1::PlotMakerL1 ( const edm::ParameterSet objectList,
edm::ConsumesCollector &&  iC 
)

Definition at line 25 of file PlotMakerL1.cc.

References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

26 {
27  m_l1extra = PlotMakerL1Input.getParameter<string>("l1extramc");
28  dirname_ = PlotMakerL1Input.getParameter<std::string>("dirname");
29 
32 
34 
38 
40 
41 }
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > m_l1extra_muons_
Definition: PlotMakerL1.h:74
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string m_l1extra
Definition: PlotMakerL1.h:70
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_l1extra_jetTau_
Definition: PlotMakerL1.h:78
std::vector< L1JetParticle > L1JetParticleCollection
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_l1extra_emIsolated_
Definition: PlotMakerL1.h:71
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_l1extra_jetCentral_
Definition: PlotMakerL1.h:76
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_l1extra_jetFwd_
Definition: PlotMakerL1.h:77
std::string dirname_
Definition: PlotMakerL1.h:60
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_l1extra_MET_
Definition: PlotMakerL1.h:80
std::vector< L1EtMissParticle > L1EtMissParticleCollection
std::vector< L1EmParticle > L1EmParticleCollection
std::vector< L1MuonParticle > L1MuonParticleCollection
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_l1extra_emNonIsolated_
Definition: PlotMakerL1.h:72
virtual PlotMakerL1::~PlotMakerL1 ( )
inlinevirtual

Definition at line 50 of file PlotMakerL1.h.

50 {};

Member Function Documentation

void PlotMakerL1::bookHistos ( DQMStore dbe_,
std::vector< int > *  l1bits,
std::vector< int > *  hltbits,
std::vector< std::string > *  l1Names_,
std::vector< std::string > *  hlNames_ 
)

Definition at line 369 of file PlotMakerL1.cc.

References DQMStore::book1D(), i, and DQMStore::setCurrentFolder().

Referenced by TriggerValidator::analyze().

371 {
372 
373  this->setBits(l1bits, hltbits);
374 
375  //******************
376  //Book histos for L1 Objects
377  //******************
378 
379 
380  //******************
381  //Book Jets
382  //******************
383  // std::string dirname_="HLTOffline/TriggerValidator/";
384 
385  dbe_->setCurrentFolder(dirname_+"/L1Jets/Central/General");
386  hL1CentralJetMult = dbe_->book1D("JetMult", "Jet Multiplicity", 10, 0, 10);
387  hL1CentralJet1Pt = dbe_->book1D("Jet1Pt", "Jet 1 Pt ", 100, 0, 1000);
388  hL1CentralJet2Pt = dbe_->book1D("Jet2Pt", "Jet 2 Pt ", 100, 0, 1000);
389  hL1CentralJet1Eta = dbe_->book1D("Jet1Eta", "Jet 1 Eta ", 100, -3, 3);
390  hL1CentralJet2Eta = dbe_->book1D("Jet2Eta", "Jet 2 Eta ", 100, -3, 3);
391  hL1CentralJet1Phi = dbe_->book1D("Jet1Phi", "Jet 1 Phi ", 100, -3.2, 3.2);
392  hL1CentralJet2Phi = dbe_->book1D("Jet2Phi", "Jet 2 Phi ", 100, -3.2, 3.2);
393 
394  dbe_->setCurrentFolder(dirname_+"/L1Jets/Central/L1");
395  for(unsigned int i=0; i<l1bits_->size(); i++){
396  myHistoName = "JetMult_" + (*l1Names_)[i];
397  myHistoTitle = "Jet Multiplicity for L1 path " + (*l1Names_)[i];
398  hL1CentralJetMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
399  myHistoName = "Jet1Pt_" + (*l1Names_)[i];
400  myHistoTitle = "Jet 1 Pt for L1 path " + (*l1Names_)[i];
401  hL1CentralJet1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
402  myHistoName = "Jet2Pt_" + (*l1Names_)[i];
403  myHistoTitle = "Jet 2 Pt for L1 path " + (*l1Names_)[i];
404  hL1CentralJet2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
405  myHistoName = "Jet1Eta_" + (*l1Names_)[i];
406  myHistoTitle = "Jet 1 Eta for L1 path " + (*l1Names_)[i];
407  hL1CentralJet1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
408  myHistoName = "Jet2Eta_" + (*l1Names_)[i];
409  myHistoTitle = "Jet 2 Eta for L1 path " + (*l1Names_)[i];
410  hL1CentralJet2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
411  myHistoName = "Jet1Phi_" + (*l1Names_)[i];
412  myHistoTitle = "Jet 1 Phi for L1 path " + (*l1Names_)[i];
413  hL1CentralJet1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
414  myHistoName = "Jet2Phi_" + (*l1Names_)[i];
415  myHistoTitle = "Jet 2 Phi for L1 path " + (*l1Names_)[i];
416  hL1CentralJet2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
417  }
418 
419  dbe_->setCurrentFolder(dirname_+"/L1Jets/Central/HLT");
420  for(unsigned int i=0; i<hltbits_->size(); i++){
421  myHistoName = "JetMult_" + (*hlNames_)[i];
422  myHistoTitle = "Jet Multiplicity for HLT path " + (*hlNames_)[i];
423  hL1CentralJetMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
424  myHistoName = "Jet1Pt_" + (*hlNames_)[i];
425  myHistoTitle = "Jet 1 Pt for HLT path " + (*hlNames_)[i];
426  hL1CentralJet1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
427  myHistoName = "Jet2Pt_" + (*hlNames_)[i];
428  myHistoTitle = "Jet 2 Pt for HLT path " + (*hlNames_)[i];
429  hL1CentralJet2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
430  myHistoName = "Jet1Eta_" + (*hlNames_)[i];
431  myHistoTitle = "Jet 1 Eta for HLT path " + (*hlNames_)[i];
432  hL1CentralJet1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
433  myHistoName = "Jet2Eta_" + (*hlNames_)[i];
434  myHistoTitle = "Jet 2 Eta for HLT path " + (*hlNames_)[i];
435  hL1CentralJet2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
436  myHistoName = "Jet1Phi_" + (*hlNames_)[i];
437  myHistoTitle = "Jet 1 Phi for HLT path " + (*hlNames_)[i];
438  hL1CentralJet1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
439  myHistoName = "Jet2Phi_" + (*hlNames_)[i];
440  myHistoTitle = "Jet 2 Phi for HLT path " + (*hlNames_)[i];
441  hL1CentralJet2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
442  }
443 
444  dbe_->setCurrentFolder(dirname_+"/L1Jets/Forward/General");
445  hL1ForwardJetMult = dbe_->book1D("JetMult", "Jet Multiplicity", 10, 0, 10);
446  hL1ForwardJet1Pt = dbe_->book1D("Jet1Pt", "Jet 1 Pt ", 100, 0, 1000);
447  hL1ForwardJet2Pt = dbe_->book1D("Jet2Pt", "Jet 2 Pt ", 100, 0, 1000);
448  hL1ForwardJet1Eta = dbe_->book1D("Jet1Eta", "Jet 1 Eta ", 100, -3, 3);
449  hL1ForwardJet2Eta = dbe_->book1D("Jet2Eta", "Jet 2 Eta ", 100, -3, 3);
450  hL1ForwardJet1Phi = dbe_->book1D("Jet1Phi", "Jet 1 Phi ", 100, -3.2, 3.2);
451  hL1ForwardJet2Phi = dbe_->book1D("Jet2Phi", "Jet 2 Phi ", 100, -3.2, 3.2);
452 
453 
454  dbe_->setCurrentFolder(dirname_+"/L1Jets/Forward/L1");
455  for(unsigned int i=0; i<l1bits_->size(); i++){
456  myHistoName = "JetMult_" + (*l1Names_)[i];
457  myHistoTitle = "Jet Multiplicity for L1 path " + (*l1Names_)[i];
458  hL1ForwardJetMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
459  myHistoName = "Jet1Pt_" + (*l1Names_)[i];
460  myHistoTitle = "Jet 1 Pt for L1 path " + (*l1Names_)[i];
461  hL1ForwardJet1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
462  myHistoName = "Jet2Pt_" + (*l1Names_)[i];
463  myHistoTitle = "Jet 2 Pt for L1 path " + (*l1Names_)[i];
464  hL1ForwardJet2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
465  myHistoName = "Jet1Eta_" + (*l1Names_)[i];
466  myHistoTitle = "Jet 1 Eta for L1 path " + (*l1Names_)[i];
467  hL1ForwardJet1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
468  myHistoName = "Jet2Eta_" + (*l1Names_)[i];
469  myHistoTitle = "Jet 2 Eta for L1 path " + (*l1Names_)[i];
470  hL1ForwardJet2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
471  myHistoName = "Jet1Phi_" + (*l1Names_)[i];
472  myHistoTitle = "Jet 1 Phi for L1 path " + (*l1Names_)[i];
473  hL1ForwardJet1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
474  myHistoName = "Jet2Phi_" + (*l1Names_)[i];
475  myHistoTitle = "Jet 2 Phi for L1 path " + (*l1Names_)[i];
476  hL1ForwardJet2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
477  }
478 
479  dbe_->setCurrentFolder(dirname_+"/L1Jets/Forward/HLT");
480  for(unsigned int i=0; i<hltbits_->size(); i++){
481  myHistoName = "JetMult_" + (*hlNames_)[i];
482  myHistoTitle = "Jet Multiplicity for HLT path " + (*hlNames_)[i];
483  hL1ForwardJetMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
484  myHistoName = "Jet1Pt_" + (*hlNames_)[i];
485  myHistoTitle = "Jet 1 Pt for HLT path " + (*hlNames_)[i];
486  hL1ForwardJet1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
487  myHistoName = "Jet2Pt_" + (*hlNames_)[i];
488  myHistoTitle = "Jet 2 Pt for HLT path " + (*hlNames_)[i];
489  hL1ForwardJet2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
490  myHistoName = "Jet1Eta_" + (*hlNames_)[i];
491  myHistoTitle = "Jet 1 Eta for HLT path " + (*hlNames_)[i];
492  hL1ForwardJet1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
493  myHistoName = "Jet2Eta_" + (*hlNames_)[i];
494  myHistoTitle = "Jet 2 Eta for HLT path " + (*hlNames_)[i];
495  hL1ForwardJet2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
496  myHistoName = "Jet1Phi_" + (*hlNames_)[i];
497  myHistoTitle = "Jet 1 Phi for HLT path " + (*hlNames_)[i];
498  hL1ForwardJet1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
499  myHistoName = "Jet2Phi_" + (*hlNames_)[i];
500  myHistoTitle = "Jet 2 Phi for HLT path " + (*hlNames_)[i];
501  hL1ForwardJet2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
502  }
503 
504 
505  dbe_->setCurrentFolder(dirname_+"/L1Jets/Tau/General");
506  hL1TauJetMult = dbe_->book1D("JetMult", "Jet Multiplicity", 10, 0, 10);
507  hL1TauJet1Pt = dbe_->book1D("Jet1Pt", "Jet 1 Pt ", 100, 0, 1000);
508  hL1TauJet2Pt = dbe_->book1D("Jet2Pt", "Jet 2 Pt ", 100, 0, 1000);
509  hL1TauJet1Eta = dbe_->book1D("Jet1Eta", "Jet 1 Eta ", 100, -3, 3);
510  hL1TauJet2Eta = dbe_->book1D("Jet2Eta", "Jet 2 Eta ", 100, -3, 3);
511  hL1TauJet1Phi = dbe_->book1D("Jet1Phi", "Jet 1 Phi ", 100, -3.2, 3.2);
512  hL1TauJet2Phi = dbe_->book1D("Jet2Phi", "Jet 2 Phi ", 100, -3.2, 3.2);
513 
514  dbe_->setCurrentFolder(dirname_+"/L1Jets/Tau/L1");
515  for(unsigned int i=0; i<l1bits_->size(); i++){
516  myHistoName = "JetMult_" + (*l1Names_)[i];
517  myHistoTitle = "Jet Multiplicity for L1 path " + (*l1Names_)[i];
518  hL1TauJetMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
519  myHistoName = "Jet1Pt_" + (*l1Names_)[i];
520  myHistoTitle = "Jet 1 Pt for L1 path " + (*l1Names_)[i];
521  hL1TauJet1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
522  myHistoName = "Jet2Pt_" + (*l1Names_)[i];
523  myHistoTitle = "Jet 2 Pt for L1 path " + (*l1Names_)[i];
524  hL1TauJet2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
525  myHistoName = "Jet1Eta_" + (*l1Names_)[i];
526  myHistoTitle = "Jet 1 Eta for L1 path " + (*l1Names_)[i];
527  hL1TauJet1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
528  myHistoName = "Jet2Eta_" + (*l1Names_)[i];
529  myHistoTitle = "Jet 2 Eta for L1 path " + (*l1Names_)[i];
530  hL1TauJet2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
531  myHistoName = "Jet1Phi_" + (*l1Names_)[i];
532  myHistoTitle = "Jet 1 Phi for L1 path " + (*l1Names_)[i];
533  hL1TauJet1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
534  myHistoName = "Jet2Phi_" + (*l1Names_)[i];
535  myHistoTitle = "Jet 2 Phi for L1 path " + (*l1Names_)[i];
536  hL1TauJet2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
537  }
538 
539  dbe_->setCurrentFolder(dirname_+"/L1Jets/Tau/HLT");
540  for(unsigned int i=0; i<hltbits_->size(); i++){
541  myHistoName = "JetMult_" + (*hlNames_)[i];
542  myHistoTitle = "Jet Multiplicity for HLT path " + (*hlNames_)[i];
543  hL1TauJetMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
544  myHistoName = "Jet1Pt_" + (*hlNames_)[i];
545  myHistoTitle = "Jet 1 Pt for HLT path " + (*hlNames_)[i];
546  hL1TauJet1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
547  myHistoName = "Jet2Pt_" + (*hlNames_)[i];
548  myHistoTitle = "Jet 2 Pt for HLT path " + (*hlNames_)[i];
549  hL1TauJet2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
550  myHistoName = "Jet1Eta_" + (*hlNames_)[i];
551  myHistoTitle = "Jet 1 Eta for HLT path " + (*hlNames_)[i];
552  hL1TauJet1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
553  myHistoName = "Jet2Eta_" + (*hlNames_)[i];
554  myHistoTitle = "Jet 2 Eta for HLT path " + (*hlNames_)[i];
555  hL1TauJet2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
556  myHistoName = "Jet1Phi_" + (*hlNames_)[i];
557  myHistoTitle = "Jet 1 Phi for HLT path " + (*hlNames_)[i];
558  hL1TauJet1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
559  myHistoName = "Jet2Phi_" + (*hlNames_)[i];
560  myHistoTitle = "Jet 2 Phi for HLT path " + (*hlNames_)[i];
561  hL1TauJet2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
562  }
563 
564 
565 
566  dbe_->setCurrentFolder(dirname_+"/L1Em/Isolated/General");
567  hL1EmIsoMult = dbe_->book1D("ElecMult", "Elec Multiplicity", 10, 0, 10);
568  hL1EmIso1Pt = dbe_->book1D("Elec1Pt", "Elec 1 Pt ", 100, 0, 100);
569  hL1EmIso2Pt = dbe_->book1D("Elec2Pt", "Elec 2 Pt ", 100, 0, 100);
570  hL1EmIso1Eta = dbe_->book1D("Elec1Eta", "Elec 1 Eta ", 100, -3, 3);
571  hL1EmIso2Eta = dbe_->book1D("Elec2Eta", "Elec 2 Eta ", 100, -3, 3);
572  hL1EmIso1Phi = dbe_->book1D("Elec1Phi", "Elec 1 Phi ", 100, -3.2, 3.2);
573  hL1EmIso2Phi = dbe_->book1D("Elec2Phi", "Elec 2 Phi ", 100, -3.2, 3.2);
574 
575  dbe_->setCurrentFolder(dirname_+"/L1Em/Isolated/L1");
576  for(unsigned int i=0; i<l1bits_->size(); i++){
577  myHistoName = "ElecMult_" + (*l1Names_)[i];
578  myHistoTitle = "Elec Multiplicity for L1 path " + (*l1Names_)[i];
579  hL1EmIsoMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
580  myHistoName = "Elec1Pt_" + (*l1Names_)[i];
581  myHistoTitle = "Elec 1 Pt for L1 path " + (*l1Names_)[i];
582  hL1EmIso1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
583  myHistoName = "Elec2Pt_" + (*l1Names_)[i];
584  myHistoTitle = "Elec 2 Pt for L1 path " + (*l1Names_)[i];
585  hL1EmIso2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
586  myHistoName = "Elec1Eta_" + (*l1Names_)[i];
587  myHistoTitle = "Elec 1 Eta for L1 path " + (*l1Names_)[i];
588  hL1EmIso1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
589  myHistoName = "Elec2Eta_" + (*l1Names_)[i];
590  myHistoTitle = "Elec 2 Eta for L1 path " + (*l1Names_)[i];
591  hL1EmIso2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
592  myHistoName = "Elec1Phi_" + (*l1Names_)[i];
593  myHistoTitle = "Elec 1 Phi for L1 path " + (*l1Names_)[i];
594  hL1EmIso1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
595  myHistoName = "Elec2Phi_" + (*l1Names_)[i];
596  myHistoTitle = "Elec 2 Phi for L1 path " + (*l1Names_)[i];
597  hL1EmIso2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
598  }
599 
600  dbe_->setCurrentFolder(dirname_+"/L1Em/Isolated/HLT");
601  for(unsigned int i=0; i<hltbits_->size(); i++){
602  myHistoName = "ElecMult_" + (*hlNames_)[i];
603  myHistoTitle = "Elec Multiplicity for HLT path " + (*hlNames_)[i];
604  hL1EmIsoMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
605  myHistoName = "Elec1Pt_" + (*hlNames_)[i];
606  myHistoTitle = "Elec 1 Pt for HLT path " + (*hlNames_)[i];
607  hL1EmIso1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
608  myHistoName = "Elec2Pt_" + (*hlNames_)[i];
609  myHistoTitle = "Elec 2 Pt for HLT path " + (*hlNames_)[i];
610  hL1EmIso2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
611  myHistoName = "Elec1Eta_" + (*hlNames_)[i];
612  myHistoTitle = "Elec 1 Eta for HLT path " + (*hlNames_)[i];
613  hL1EmIso1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
614  myHistoName = "Elec2Eta_" + (*hlNames_)[i];
615  myHistoTitle = "Elec 2 Eta for HLT path " + (*hlNames_)[i];
616  hL1EmIso2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
617  myHistoName = "Elec1Phi_" + (*hlNames_)[i];
618  myHistoTitle = "Elec 1 Phi for HLT path " + (*hlNames_)[i];
619  hL1EmIso1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
620  myHistoName = "Elec2Phi_" + (*hlNames_)[i];
621  myHistoTitle = "Elec 2 Phi for HLT path " + (*hlNames_)[i];
622  hL1EmIso2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
623  }
624  dbe_->setCurrentFolder(dirname_);
625 
626 
627 
628  dbe_->setCurrentFolder(dirname_+"/L1Em/NotIsolated/General");
629  hL1EmNotIsoMult = dbe_->book1D("ElecMult", "Elec Multiplicity", 10, 0, 10);
630  hL1EmNotIso1Pt = dbe_->book1D("Elec1Pt", "Elec 1 Pt ", 100, 0, 100);
631  hL1EmNotIso2Pt = dbe_->book1D("Elec2Pt", "Elec 2 Pt ", 100, 0, 100);
632  hL1EmNotIso1Eta = dbe_->book1D("Elec1Eta", "Elec 1 Eta ", 100, -3, 3);
633  hL1EmNotIso2Eta = dbe_->book1D("Elec2Eta", "Elec 2 Eta ", 100, -3, 3);
634  hL1EmNotIso1Phi = dbe_->book1D("Elec1Phi", "Elec 1 Phi ", 100, -3.2, 3.2);
635  hL1EmNotIso2Phi = dbe_->book1D("Elec2Phi", "Elec 2 Phi ", 100, -3.2, 3.2);
636 
637  dbe_->setCurrentFolder(dirname_+"/L1Em/NotIsolated/L1");
638  for(unsigned int i=0; i<l1bits_->size(); i++){
639  myHistoName = "ElecMult_" + (*l1Names_)[i];
640  myHistoTitle = "Elec Multiplicity for L1 path " + (*l1Names_)[i];
641  hL1EmNotIsoMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
642  myHistoName = "Elec1Pt_" + (*l1Names_)[i];
643  myHistoTitle = "Elec 1 Pt for L1 path " + (*l1Names_)[i];
644  hL1EmNotIso1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
645  myHistoName = "Elec2Pt_" + (*l1Names_)[i];
646  myHistoTitle = "Elec 2 Pt for L1 path " + (*l1Names_)[i];
647  hL1EmNotIso2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
648  myHistoName = "Elec1Eta_" + (*l1Names_)[i];
649  myHistoTitle = "Elec 1 Eta for L1 path " + (*l1Names_)[i];
650  hL1EmNotIso1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
651  myHistoName = "Elec2Eta_" + (*l1Names_)[i];
652  myHistoTitle = "Elec 2 Eta for L1 path " + (*l1Names_)[i];
653  hL1EmNotIso2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
654  myHistoName = "Elec1Phi_" + (*l1Names_)[i];
655  myHistoTitle = "Elec 1 Phi for L1 path " + (*l1Names_)[i];
656  hL1EmNotIso1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
657  myHistoName = "Elec2Phi_" + (*l1Names_)[i];
658  myHistoTitle = "Elec 2 Phi for L1 path " + (*l1Names_)[i];
659  hL1EmNotIso2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
660  }
661 
662  dbe_->setCurrentFolder(dirname_+"/L1Em/NotIsolated/HLT");
663  for(unsigned int i=0; i<hltbits_->size(); i++){
664  myHistoName = "ElecMult_" + (*hlNames_)[i];
665  myHistoTitle = "Elec Multiplicity for HLT path " + (*hlNames_)[i];
666  hL1EmNotIsoMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
667  myHistoName = "Elec1Pt_" + (*hlNames_)[i];
668  myHistoTitle = "Elec 1 Pt for HLT path " + (*hlNames_)[i];
669  hL1EmNotIso1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
670  myHistoName = "Elec2Pt_" + (*hlNames_)[i];
671  myHistoTitle = "Elec 2 Pt for HLT path " + (*hlNames_)[i];
672  hL1EmNotIso2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
673  myHistoName = "Elec1Eta_" + (*hlNames_)[i];
674  myHistoTitle = "Elec 1 Eta for HLT path " + (*hlNames_)[i];
675  hL1EmNotIso1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
676  myHistoName = "Elec2Eta_" + (*hlNames_)[i];
677  myHistoTitle = "Elec 2 Eta for HLT path " + (*hlNames_)[i];
678  hL1EmNotIso2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
679  myHistoName = "Elec1Phi_" + (*hlNames_)[i];
680  myHistoTitle = "Elec 1 Phi for HLT path " + (*hlNames_)[i];
681  hL1EmNotIso1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
682  myHistoName = "Elec2Phi_" + (*hlNames_)[i];
683  myHistoTitle = "Elec 2 Phi for HLT path " + (*hlNames_)[i];
684  hL1EmNotIso2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
685  }
686  dbe_->setCurrentFolder(dirname_);
687 
688  //******************
689  //Book Muons
690  //******************
691 
692  dbe_->setCurrentFolder(dirname_+"/L1Muons/General");
693  hL1MuonMult = dbe_->book1D("MuonMult", "Muon Multiplicity", 10, 0, 10);
694  hL1Muon1Pt = dbe_->book1D("Muon1Pt", "Muon 1 Pt ", 100, 0, 100);
695  hL1Muon2Pt = dbe_->book1D("Muon2Pt", "Muon 2 Pt ", 100, 0, 100);
696  hL1Muon1Eta = dbe_->book1D("Muon1Eta", "Muon 1 Eta ", 100, -3, 3);
697  hL1Muon2Eta = dbe_->book1D("Muon2Eta", "Muon 2 Eta ", 100, -3, 3);
698  hL1Muon1Phi = dbe_->book1D("Muon1Phi", "Muon 1 Phi ", 100, -3.2, 3.2);
699  hL1Muon2Phi = dbe_->book1D("Muon2Phi", "Muon 2 Phi ", 100, -3.2, 3.2);
700 
701  dbe_->setCurrentFolder(dirname_+"/L1Muons/L1");
702  for(unsigned int i=0; i<l1bits_->size(); i++){
703  myHistoName = "MuonMult_" + (*l1Names_)[i];
704  myHistoTitle = "Muon Multiplicity for L1 path " + (*l1Names_)[i];
705  hL1MuonMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
706  myHistoName = "Muon1Pt_" + (*l1Names_)[i];
707  myHistoTitle = "Muon 1 Pt for L1 path " + (*l1Names_)[i];
708  hL1Muon1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
709  myHistoName = "Muon2Pt_" + (*l1Names_)[i];
710  myHistoTitle = "Muon 2 Pt for L1 path " + (*l1Names_)[i];
711  hL1Muon2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
712  myHistoName = "Muon1Eta_" + (*l1Names_)[i];
713  myHistoTitle = "Muon 1 Eta for L1 path " + (*l1Names_)[i];
714  hL1Muon1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
715  myHistoName = "Muon2Eta_" + (*l1Names_)[i];
716  myHistoTitle = "Muon 2 Eta for L1 path " + (*l1Names_)[i];
717  hL1Muon2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
718  myHistoName = "Muon1Phi_" + (*l1Names_)[i];
719  myHistoTitle = "Muon 1 Phi for L1 path " + (*l1Names_)[i];
720  hL1Muon1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
721  myHistoName = "Muon2Phi_" + (*l1Names_)[i];
722  myHistoTitle = "Muon 2 Phi for L1 path " + (*l1Names_)[i];
723  hL1Muon2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
724  }
725 
726  dbe_->setCurrentFolder(dirname_+"/L1Muons/HLT");
727  for(unsigned int i=0; i<hltbits_->size(); i++){
728  myHistoName = "MuonMult_" + (*hlNames_)[i];
729  myHistoTitle = "Muon Multiplicity for HLT path " + (*hlNames_)[i];
730  hL1MuonMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
731  myHistoName = "Muon1Pt_" + (*hlNames_)[i];
732  myHistoTitle = "Muon 1 Pt for HLT path " + (*hlNames_)[i];
733  hL1Muon1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
734  myHistoName = "Muon2Pt_" + (*hlNames_)[i];
735  myHistoTitle = "Muon 2 Pt for HLT path " + (*hlNames_)[i];
736  hL1Muon2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
737  myHistoName = "Muon1Eta_" + (*hlNames_)[i];
738  myHistoTitle = "Muon 1 Eta for HLT path " + (*hlNames_)[i];
739  hL1Muon1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
740  myHistoName = "Muon2Eta_" + (*hlNames_)[i];
741  myHistoTitle = "Muon 2 Eta for HLT path " + (*hlNames_)[i];
742  hL1Muon2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3, 3));
743  myHistoName = "Muon1Phi_" + (*hlNames_)[i];
744  myHistoTitle = "Muon 1 Phi for HLT path " + (*hlNames_)[i];
745  hL1Muon1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
746  myHistoName = "Muon2Phi_" + (*hlNames_)[i];
747  myHistoTitle = "Muon 2 Phi for HLT path " + (*hlNames_)[i];
748  hL1Muon2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
749  }
750  dbe_->setCurrentFolder(dirname_);
751 
752 
753 
754  //******************
755  //Book MET
756  //******************
757 
758  dbe_->setCurrentFolder(dirname_+"/L1MET/General");
759  hL1MET = dbe_->book1D("MET", "MET", 35, 0, 1050);
760  hL1METx = dbe_->book1D("METx", "METx", 35, 0, 1050);
761  hL1METy = dbe_->book1D("METy", "METy", 35, 0, 1050);
762  hL1METphi = dbe_->book1D("METphi", "METphi", 100, -3.2, 3.2);
763  hL1SumEt = dbe_->book1D("SumEt", "SumEt", 35, 0, 1050);
764  hL1METSignificance = dbe_->book1D("METSignificance", "METSignificance", 100, 0, 100);
765 
766 
767  dbe_->setCurrentFolder(dirname_+"/L1MET/L1");
768  for(unsigned int i=0; i<l1bits_->size(); i++){
769  myHistoName = "MET_" + (*l1Names_)[i];
770  myHistoTitle = "MET for L1 path " + (*l1Names_)[i];
771  hL1METAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
772  myHistoName = "METx_" + (*l1Names_)[i];
773  myHistoTitle = "METx for L1 path " + (*l1Names_)[i];
774  hL1METxAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
775  myHistoName = "METy_" + (*l1Names_)[i];
776  myHistoTitle = "METy for L1 path " + (*l1Names_)[i];
777  hL1METyAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
778  myHistoName = "METphi_" + (*l1Names_)[i];
779  myHistoTitle = "METphi for L1 path " + (*l1Names_)[i];
780  hL1METphiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
781  myHistoName = "SumEt_" + (*l1Names_)[i];
782  myHistoTitle = "SumEt for L1 path " + (*l1Names_)[i];
783  hL1SumEtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
784  myHistoName = "METSignificance_" + (*l1Names_)[i];
785  myHistoTitle = "METSignificance for L1 path " + (*l1Names_)[i];
786  hL1METSignificanceAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
787  }
788 
789  dbe_->setCurrentFolder(dirname_+"/L1MET/HLT");
790  for(unsigned int i=0; i<hltbits_->size(); i++){
791  myHistoName = "MET_" + (*hlNames_)[i];
792  myHistoTitle = "MET for HLT path " + (*hlNames_)[i];
793  hL1METAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
794  myHistoName = "METx_" + (*hlNames_)[i];
795  myHistoTitle = "METx for HLT path " + (*hlNames_)[i];
796  hL1METxAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
797  myHistoName = "METy_" + (*hlNames_)[i];
798  myHistoTitle = "METy for HLT path " + (*hlNames_)[i];
799  hL1METyAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
800  myHistoName = "METphi_" + (*hlNames_)[i];
801  myHistoTitle = "METphi for HLT path " + (*hlNames_)[i];
802  hL1METphiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, -3.2, 3.2));
803  myHistoName = "SumEt_" + (*hlNames_)[i];
804  myHistoTitle = "SumEt for HLT path " + (*hlNames_)[i];
805  hL1SumEtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
806  myHistoName = "METSignificance_" + (*hlNames_)[i];
807  myHistoTitle = "METSignificance for HLT path " + (*hlNames_)[i];
808  hL1METSignificanceAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
809  }
810  dbe_->setCurrentFolder(dirname_);
811 
812 
813 
814 }
std::vector< MonitorElement * > hL1ForwardJet2PtAfterL1
Definition: PlotMakerL1.h:113
std::vector< MonitorElement * > hL1CentralJet1EtaAfterHLT
Definition: PlotMakerL1.h:121
std::vector< MonitorElement * > hL1TauJet1EtaAfterL1
Definition: PlotMakerL1.h:124
std::vector< MonitorElement * > hL1EmNotIso1EtaAfterL1
Definition: PlotMakerL1.h:179
std::vector< MonitorElement * > hL1EmIsoMultAfterHLT
Definition: PlotMakerL1.h:160
std::vector< MonitorElement * > hL1Muon1PhiAfterL1
Definition: PlotMakerL1.h:218
MonitorElement * hL1CentralJetMult
Definition: PlotMakerL1.h:90
MonitorElement * hL1TauJetMult
Definition: PlotMakerL1.h:92
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hL1TauJetMultAfterHLT
Definition: PlotMakerL1.h:98
std::vector< MonitorElement * > hL1ForwardJet2PtAfterHLT
Definition: PlotMakerL1.h:114
std::vector< MonitorElement * > hL1EmNotIsoMultAfterHLT
Definition: PlotMakerL1.h:162
MonitorElement * hL1CentralJet2Pt
Definition: PlotMakerL1.h:108
std::vector< MonitorElement * > hL1MuonMultAfterL1
Definition: PlotMakerL1.h:203
std::vector< MonitorElement * > hL1EmNotIso2PtAfterHLT
Definition: PlotMakerL1.h:174
std::vector< MonitorElement * > hL1CentralJet1EtaAfterL1
Definition: PlotMakerL1.h:120
MonitorElement * hL1CentralJet1Phi
Definition: PlotMakerL1.h:135
MonitorElement * hL1ForwardJet1Eta
Definition: PlotMakerL1.h:118
std::vector< MonitorElement * > hL1CentralJet2PhiAfterHLT
Definition: PlotMakerL1.h:148
std::vector< MonitorElement * > hL1CentralJet1PtAfterL1
Definition: PlotMakerL1.h:102
std::vector< int > * l1bits_
Definition: PlotMakerL1.h:64
std::vector< MonitorElement * > hL1METAfterL1
Definition: PlotMakerL1.h:233
MonitorElement * hL1TauJet1Pt
Definition: PlotMakerL1.h:101
MonitorElement * hL1EmNotIsoMult
Definition: PlotMakerL1.h:158
MonitorElement * hL1EmIso1Eta
Definition: PlotMakerL1.h:175
MonitorElement * hL1EmIso1Phi
Definition: PlotMakerL1.h:187
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:954
MonitorElement * hL1EmIso2Eta
Definition: PlotMakerL1.h:181
std::vector< MonitorElement * > hL1TauJet2EtaAfterL1
Definition: PlotMakerL1.h:133
std::vector< int > * hltbits_
Definition: PlotMakerL1.h:65
void setBits(std::vector< int > *l1bits, std::vector< int > *hltbits)
Definition: PlotMakerL1.h:62
MonitorElement * hL1ForwardJet1Phi
Definition: PlotMakerL1.h:136
MonitorElement * hL1EmNotIso2Phi
Definition: PlotMakerL1.h:194
std::vector< MonitorElement * > hL1TauJet1EtaAfterHLT
Definition: PlotMakerL1.h:125
std::vector< MonitorElement * > hL1EmIsoMultAfterL1
Definition: PlotMakerL1.h:159
std::vector< MonitorElement * > hL1EmIso2PhiAfterHLT
Definition: PlotMakerL1.h:196
std::vector< MonitorElement * > hL1EmIso2EtaAfterHLT
Definition: PlotMakerL1.h:184
std::vector< MonitorElement * > hL1CentralJet1PtAfterHLT
Definition: PlotMakerL1.h:103
MonitorElement * hL1EmNotIso1Phi
Definition: PlotMakerL1.h:188
std::vector< MonitorElement * > hL1CentralJet2PtAfterL1
Definition: PlotMakerL1.h:111
MonitorElement * hL1METx
Definition: PlotMakerL1.h:228
std::vector< MonitorElement * > hL1CentralJet1PhiAfterL1
Definition: PlotMakerL1.h:138
std::vector< MonitorElement * > hL1CentralJet2PtAfterHLT
Definition: PlotMakerL1.h:112
std::vector< MonitorElement * > hL1METyAfterHLT
Definition: PlotMakerL1.h:240
std::vector< MonitorElement * > hL1METphiAfterL1
Definition: PlotMakerL1.h:235
std::vector< MonitorElement * > hL1EmNotIso2PtAfterL1
Definition: PlotMakerL1.h:173
std::vector< MonitorElement * > hL1ForwardJet2EtaAfterL1
Definition: PlotMakerL1.h:131
std::vector< MonitorElement * > hL1SumEtAfterL1
Definition: PlotMakerL1.h:241
std::vector< MonitorElement * > hL1SumEtAfterHLT
Definition: PlotMakerL1.h:242
MonitorElement * hL1Muon1Pt
Definition: PlotMakerL1.h:205
std::vector< MonitorElement * > hL1EmNotIso1PtAfterHLT
Definition: PlotMakerL1.h:168
MonitorElement * hL1TauJet2Eta
Definition: PlotMakerL1.h:128
MonitorElement * hL1CentralJet1Pt
Definition: PlotMakerL1.h:99
std::vector< MonitorElement * > hL1TauJet2PhiAfterL1
Definition: PlotMakerL1.h:151
std::vector< MonitorElement * > hL1METphiAfterHLT
Definition: PlotMakerL1.h:236
std::vector< MonitorElement * > hL1CentralJetMultAfterL1
Definition: PlotMakerL1.h:93
std::vector< MonitorElement * > hL1ForwardJet1EtaAfterL1
Definition: PlotMakerL1.h:122
std::vector< MonitorElement * > hL1Muon1PtAfterHLT
Definition: PlotMakerL1.h:207
MonitorElement * hL1SumEt
Definition: PlotMakerL1.h:230
std::vector< MonitorElement * > hL1METxAfterL1
Definition: PlotMakerL1.h:237
std::vector< MonitorElement * > hL1EmNotIso1PhiAfterL1
Definition: PlotMakerL1.h:191
std::vector< MonitorElement * > hL1Muon2PtAfterHLT
Definition: PlotMakerL1.h:210
MonitorElement * hL1TauJet1Eta
Definition: PlotMakerL1.h:119
MonitorElement * hL1METy
Definition: PlotMakerL1.h:229
MonitorElement * hL1Muon2Eta
Definition: PlotMakerL1.h:214
std::vector< MonitorElement * > hL1EmIso2EtaAfterL1
Definition: PlotMakerL1.h:183
std::vector< MonitorElement * > hL1EmIso1PtAfterHLT
Definition: PlotMakerL1.h:166
std::vector< MonitorElement * > hL1EmIso1PhiAfterL1
Definition: PlotMakerL1.h:189
std::vector< MonitorElement * > hL1EmNotIso1EtaAfterHLT
Definition: PlotMakerL1.h:180
MonitorElement * hL1TauJet1Phi
Definition: PlotMakerL1.h:137
std::vector< MonitorElement * > hL1Muon1PhiAfterHLT
Definition: PlotMakerL1.h:219
std::vector< MonitorElement * > hL1METSignificanceAfterL1
Definition: PlotMakerL1.h:243
std::string myHistoName
Definition: PlotMakerL1.h:246
std::vector< MonitorElement * > hL1METSignificanceAfterHLT
Definition: PlotMakerL1.h:244
std::vector< MonitorElement * > hL1EmIso2PhiAfterL1
Definition: PlotMakerL1.h:195
std::vector< MonitorElement * > hL1CentralJet2EtaAfterL1
Definition: PlotMakerL1.h:129
std::string myHistoTitle
Definition: PlotMakerL1.h:247
std::vector< MonitorElement * > hL1Muon2EtaAfterHLT
Definition: PlotMakerL1.h:216
MonitorElement * hL1EmIso2Phi
Definition: PlotMakerL1.h:193
std::vector< MonitorElement * > hL1EmNotIso1PtAfterL1
Definition: PlotMakerL1.h:167
std::vector< MonitorElement * > hL1EmIso1EtaAfterHLT
Definition: PlotMakerL1.h:178
std::vector< MonitorElement * > hL1EmIso2PtAfterHLT
Definition: PlotMakerL1.h:172
std::vector< MonitorElement * > hL1TauJet2PtAfterHLT
Definition: PlotMakerL1.h:116
std::vector< MonitorElement * > hL1EmNotIso2EtaAfterL1
Definition: PlotMakerL1.h:185
std::vector< MonitorElement * > hL1TauJetMultAfterL1
Definition: PlotMakerL1.h:97
MonitorElement * hL1MET
Definition: PlotMakerL1.h:226
std::vector< MonitorElement * > hL1EmNotIso2PhiAfterL1
Definition: PlotMakerL1.h:197
std::vector< MonitorElement * > hL1TauJet2PtAfterL1
Definition: PlotMakerL1.h:115
std::vector< MonitorElement * > hL1CentralJet1PhiAfterHLT
Definition: PlotMakerL1.h:139
std::string dirname_
Definition: PlotMakerL1.h:60
std::vector< MonitorElement * > hL1TauJet1PtAfterL1
Definition: PlotMakerL1.h:106
std::vector< MonitorElement * > hL1Muon1EtaAfterL1
Definition: PlotMakerL1.h:212
MonitorElement * hL1Muon1Eta
Definition: PlotMakerL1.h:211
std::vector< MonitorElement * > hL1TauJet1PhiAfterL1
Definition: PlotMakerL1.h:142
std::vector< MonitorElement * > hL1Muon2PtAfterL1
Definition: PlotMakerL1.h:209
MonitorElement * hL1ForwardJetMult
Definition: PlotMakerL1.h:91
std::vector< MonitorElement * > hL1Muon2PhiAfterHLT
Definition: PlotMakerL1.h:222
MonitorElement * hL1ForwardJet2Pt
Definition: PlotMakerL1.h:109
MonitorElement * hL1EmNotIso2Eta
Definition: PlotMakerL1.h:182
std::vector< MonitorElement * > hL1ForwardJetMultAfterL1
Definition: PlotMakerL1.h:95
std::vector< MonitorElement * > hL1ForwardJet1PtAfterHLT
Definition: PlotMakerL1.h:105
std::vector< MonitorElement * > hL1EmIso1EtaAfterL1
Definition: PlotMakerL1.h:177
MonitorElement * hL1EmNotIso2Pt
Definition: PlotMakerL1.h:170
std::vector< MonitorElement * > hL1EmIso1PhiAfterHLT
Definition: PlotMakerL1.h:190
MonitorElement * hL1EmIso1Pt
Definition: PlotMakerL1.h:163
std::vector< MonitorElement * > hL1Muon1PtAfterL1
Definition: PlotMakerL1.h:206
std::vector< MonitorElement * > hL1EmNotIsoMultAfterL1
Definition: PlotMakerL1.h:161
MonitorElement * hL1ForwardJet1Pt
Definition: PlotMakerL1.h:100
std::vector< MonitorElement * > hL1ForwardJet1PtAfterL1
Definition: PlotMakerL1.h:104
std::vector< MonitorElement * > hL1ForwardJet2EtaAfterHLT
Definition: PlotMakerL1.h:132
std::vector< MonitorElement * > hL1ForwardJet2PhiAfterHLT
Definition: PlotMakerL1.h:150
std::vector< MonitorElement * > hL1EmNotIso2EtaAfterHLT
Definition: PlotMakerL1.h:186
std::vector< MonitorElement * > hL1EmNotIso2PhiAfterHLT
Definition: PlotMakerL1.h:198
std::vector< MonitorElement * > hL1METAfterHLT
Definition: PlotMakerL1.h:234
std::vector< MonitorElement * > hL1TauJet2PhiAfterHLT
Definition: PlotMakerL1.h:152
MonitorElement * hL1EmNotIso1Eta
Definition: PlotMakerL1.h:176
MonitorElement * hL1CentralJet1Eta
Definition: PlotMakerL1.h:117
MonitorElement * hL1CentralJet2Eta
Definition: PlotMakerL1.h:126
std::vector< MonitorElement * > hL1ForwardJet1PhiAfterHLT
Definition: PlotMakerL1.h:141
std::vector< MonitorElement * > hL1TauJet2EtaAfterHLT
Definition: PlotMakerL1.h:134
std::vector< MonitorElement * > hL1CentralJetMultAfterHLT
Definition: PlotMakerL1.h:94
std::vector< MonitorElement * > hL1CentralJet2PhiAfterL1
Definition: PlotMakerL1.h:147
std::vector< MonitorElement * > hL1EmIso2PtAfterL1
Definition: PlotMakerL1.h:171
std::vector< MonitorElement * > hL1METxAfterHLT
Definition: PlotMakerL1.h:238
MonitorElement * hL1Muon2Phi
Definition: PlotMakerL1.h:220
MonitorElement * hL1EmNotIso1Pt
Definition: PlotMakerL1.h:164
std::vector< MonitorElement * > hL1Muon2PhiAfterL1
Definition: PlotMakerL1.h:221
MonitorElement * hL1METSignificance
Definition: PlotMakerL1.h:231
std::vector< MonitorElement * > hL1EmIso1PtAfterL1
Definition: PlotMakerL1.h:165
MonitorElement * hL1ForwardJet2Eta
Definition: PlotMakerL1.h:127
std::vector< MonitorElement * > hL1TauJet1PtAfterHLT
Definition: PlotMakerL1.h:107
MonitorElement * hL1CentralJet2Phi
Definition: PlotMakerL1.h:144
std::vector< MonitorElement * > hL1ForwardJet2PhiAfterL1
Definition: PlotMakerL1.h:149
MonitorElement * hL1Muon1Phi
Definition: PlotMakerL1.h:217
MonitorElement * hL1Muon2Pt
Definition: PlotMakerL1.h:208
MonitorElement * hL1EmIsoMult
Definition: PlotMakerL1.h:157
MonitorElement * hL1TauJet2Phi
Definition: PlotMakerL1.h:146
std::vector< MonitorElement * > hL1Muon2EtaAfterL1
Definition: PlotMakerL1.h:215
MonitorElement * hL1ForwardJet2Phi
Definition: PlotMakerL1.h:145
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:667
std::vector< MonitorElement * > hL1CentralJet2EtaAfterHLT
Definition: PlotMakerL1.h:130
std::vector< MonitorElement * > hL1TauJet1PhiAfterHLT
Definition: PlotMakerL1.h:143
std::vector< MonitorElement * > hL1Muon1EtaAfterHLT
Definition: PlotMakerL1.h:213
MonitorElement * hL1MuonMult
Definition: PlotMakerL1.h:202
std::vector< MonitorElement * > hL1ForwardJet1EtaAfterHLT
Definition: PlotMakerL1.h:123
std::vector< MonitorElement * > hL1ForwardJetMultAfterHLT
Definition: PlotMakerL1.h:96
MonitorElement * hL1EmIso2Pt
Definition: PlotMakerL1.h:169
std::vector< MonitorElement * > hL1EmNotIso1PhiAfterHLT
Definition: PlotMakerL1.h:192
MonitorElement * hL1METphi
Definition: PlotMakerL1.h:227
MonitorElement * hL1TauJet2Pt
Definition: PlotMakerL1.h:110
std::vector< MonitorElement * > hL1MuonMultAfterHLT
Definition: PlotMakerL1.h:204
std::vector< MonitorElement * > hL1METyAfterL1
Definition: PlotMakerL1.h:239
std::vector< MonitorElement * > hL1ForwardJet1PhiAfterL1
Definition: PlotMakerL1.h:140
void PlotMakerL1::fillPlots ( const edm::Event iEvent)

Definition at line 43 of file PlotMakerL1.cc.

References eta(), i, phi, RecoTauCleanerPlugins::pt, and mathSSE::sqrt().

Referenced by TriggerValidator::analyze().

44 {
45  this->handleObjects(iEvent);
46 
47 
48 
49  //**********************
50  // Fill the L1 Object Histos
51  //**********************
52 
53  //**********************
54  // Fill the Jet Histos
55  //**********************
56 
57 
58 
60  if(theL1CentralJetCollection.size()>0) {
64  }
65  if(theL1CentralJetCollection.size()>1) {
69  }
70  for(unsigned int i=0; i<l1bits_->size(); i++) {
71  if(l1bits_->at(i)) {
73  if(theL1CentralJetCollection.size()>0) {
77  }
78  if(theL1CentralJetCollection.size()>1) {
82  }
83  }
84  }
85  for(unsigned int i=0; i<hltbits_->size(); i++) {
86  if(hltbits_->at(i)) {
88  if(theL1CentralJetCollection.size()>0) {
92  }
93  if(theL1CentralJetCollection.size()>1) {
97  }
98  }
99  }
100 
101 
102 
103 
104 
106  if(theL1ForwardJetCollection.size()>0) {
110  }
111  if(theL1ForwardJetCollection.size()>1) {
115  }
116  for(unsigned int i=0; i<l1bits_->size(); i++) {
117  if(l1bits_->at(i)) {
119  if(theL1ForwardJetCollection.size()>0) {
123  }
124  if(theL1ForwardJetCollection.size()>1) {
128  }
129  }
130  }
131  for(unsigned int i=0; i<hltbits_->size(); i++) {
132  if(hltbits_->at(i)) {
134  if(theL1ForwardJetCollection.size()>0) {
138  }
139  if(theL1ForwardJetCollection.size()>1) {
143  }
144  }
145  }
146 
147 
148 
149 
150 
152  if(theL1TauJetCollection.size()>0) {
156  }
157  if(theL1TauJetCollection.size()>1) {
161  }
162 
163  for(unsigned int i=0; i<l1bits_->size(); i++) {
164  if(l1bits_->at(i)) {
166  if(theL1TauJetCollection.size()>0) {
170  }
171  if(theL1TauJetCollection.size()>1) {
175  }
176  }
177  }
178  for(unsigned int i=0; i<hltbits_->size(); i++) {
179  if(hltbits_->at(i)) {
181  if(theL1TauJetCollection.size()>0) {
185  }
186  if(theL1TauJetCollection.size()>1) {
190  }
191  }
192  }
193 
194 
195 
196 
198  if(theL1EmIsoCollection.size()>0) {
202  }
203  if(theL1EmIsoCollection.size()>1) {
207  }
208  for(unsigned int i=0; i<l1bits_->size(); i++) {
209  if(l1bits_->at(i)) {
211  if(theL1EmIsoCollection.size()>0) {
215  }
216  if(theL1EmIsoCollection.size()>1) {
220  }
221  }
222  }
223  for(unsigned int i=0; i<hltbits_->size(); i++) {
224  if(hltbits_->at(i)) {
226  if(theL1EmIsoCollection.size()>0) {
230  }
231  if(theL1EmIsoCollection.size()>1) {
235  }
236  }
237  }
238 
239 
240 
242  if(theL1EmNotIsoCollection.size()>0) {
246  }
247  if(theL1EmNotIsoCollection.size()>1) {
251  }
252  for(unsigned int i=0; i<l1bits_->size(); i++) {
253  if(l1bits_->at(i)) {
255  if(theL1EmNotIsoCollection.size()>0) {
259  }
260  if(theL1EmNotIsoCollection.size()>1) {
264  }
265  }
266  }
267  for(unsigned int i=0; i<hltbits_->size(); i++) {
268  if(hltbits_->at(i)) {
270  if(theL1EmNotIsoCollection.size()>0) {
274  }
275  if(theL1EmNotIsoCollection.size()>1) {
279  }
280  }
281  }
282 
283 
284 
285 
286  //**********************
287  // Fill the Muon Histos
288  //**********************
289 
291  if(theL1MuonCollection.size()>0) {
295  }
296  if(theL1MuonCollection.size()>1) {
300  }
301  for(unsigned int i=0; i<l1bits_->size(); i++) {
302  if(l1bits_->at(i)) {
304  if(theL1MuonCollection.size()>0) {
308  }
309  if(theL1MuonCollection.size()>1) {
313  }
314  }
315  }
316  for(unsigned int i=0; i<hltbits_->size(); i++) {
317  if(hltbits_->at(i)) {
319  if(theL1MuonCollection.size()>0) {
323  }
324  if(theL1MuonCollection.size()>1) {
328  }
329  }
330  }
331 
332  //**********************
333  // Fill the MET Histos
334  //**********************
335 
336  hL1MET->Fill(theL1METCollection[0].etMiss());
337  hL1METx->Fill(theL1METCollection[0].px());
338  hL1METy->Fill(theL1METCollection[0].py());
340  hL1SumEt->Fill(theL1METCollection[0].etTotal());
341  double L1MetSig = theL1METCollection[0].etMiss() / sqrt(theL1METCollection[0].etTotal());
342  hL1METSignificance->Fill(L1MetSig);
343  for(unsigned int i=0; i<l1bits_->size(); i++) {
344  if(l1bits_->at(i)) {
345  hL1METAfterL1[i]->Fill(theL1METCollection[0].etMiss());
346  hL1METxAfterL1[i]->Fill(theL1METCollection[0].px());
347  hL1METyAfterL1[i]->Fill(theL1METCollection[0].py());
349  hL1SumEtAfterL1[i]->Fill(theL1METCollection[0].etTotal());
350  hL1METSignificanceAfterL1[i]->Fill(L1MetSig);
351  }
352  }
353  for(unsigned int i=0; i<hltbits_->size(); i++) {
354  if(hltbits_->at(i)) {
355  hL1METAfterHLT[i]->Fill(theL1METCollection[0].etMiss());
356  hL1METxAfterHLT[i]->Fill(theL1METCollection[0].px());
357  hL1METyAfterHLT[i]->Fill(theL1METCollection[0].py());
359  hL1SumEtAfterHLT[i]->Fill(theL1METCollection[0].etTotal());
360  hL1METSignificanceAfterHLT[i]->Fill(L1MetSig);
361  }
362  }
363 
364 }
std::vector< MonitorElement * > hL1ForwardJet2PtAfterL1
Definition: PlotMakerL1.h:113
l1extra::L1JetParticleCollection theL1ForwardJetCollection
Definition: PlotMakerL1.h:84
std::vector< MonitorElement * > hL1CentralJet1EtaAfterHLT
Definition: PlotMakerL1.h:121
std::vector< MonitorElement * > hL1TauJet1EtaAfterL1
Definition: PlotMakerL1.h:124
std::vector< MonitorElement * > hL1EmNotIso1EtaAfterL1
Definition: PlotMakerL1.h:179
std::vector< MonitorElement * > hL1EmIsoMultAfterHLT
Definition: PlotMakerL1.h:160
std::vector< MonitorElement * > hL1Muon1PhiAfterL1
Definition: PlotMakerL1.h:218
MonitorElement * hL1CentralJetMult
Definition: PlotMakerL1.h:90
MonitorElement * hL1TauJetMult
Definition: PlotMakerL1.h:92
int i
Definition: DBlmapReader.cc:9
l1extra::L1EmParticleCollection theL1EmNotIsoCollection
Definition: PlotMakerL1.h:82
std::vector< MonitorElement * > hL1TauJetMultAfterHLT
Definition: PlotMakerL1.h:98
std::vector< MonitorElement * > hL1ForwardJet2PtAfterHLT
Definition: PlotMakerL1.h:114
std::vector< MonitorElement * > hL1EmNotIsoMultAfterHLT
Definition: PlotMakerL1.h:162
MonitorElement * hL1CentralJet2Pt
Definition: PlotMakerL1.h:108
std::vector< MonitorElement * > hL1MuonMultAfterL1
Definition: PlotMakerL1.h:203
std::vector< MonitorElement * > hL1EmNotIso2PtAfterHLT
Definition: PlotMakerL1.h:174
std::vector< MonitorElement * > hL1CentralJet1EtaAfterL1
Definition: PlotMakerL1.h:120
MonitorElement * hL1CentralJet1Phi
Definition: PlotMakerL1.h:135
MonitorElement * hL1ForwardJet1Eta
Definition: PlotMakerL1.h:118
std::vector< MonitorElement * > hL1CentralJet2PhiAfterHLT
Definition: PlotMakerL1.h:148
std::vector< MonitorElement * > hL1CentralJet1PtAfterL1
Definition: PlotMakerL1.h:102
std::vector< int > * l1bits_
Definition: PlotMakerL1.h:64
std::vector< MonitorElement * > hL1METAfterL1
Definition: PlotMakerL1.h:233
MonitorElement * hL1TauJet1Pt
Definition: PlotMakerL1.h:101
MonitorElement * hL1EmNotIsoMult
Definition: PlotMakerL1.h:158
MonitorElement * hL1EmIso1Eta
Definition: PlotMakerL1.h:175
MonitorElement * hL1EmIso1Phi
Definition: PlotMakerL1.h:187
l1extra::L1EtMissParticleCollection theL1METCollection
Definition: PlotMakerL1.h:85
MonitorElement * hL1EmIso2Eta
Definition: PlotMakerL1.h:181
std::vector< MonitorElement * > hL1TauJet2EtaAfterL1
Definition: PlotMakerL1.h:133
std::vector< int > * hltbits_
Definition: PlotMakerL1.h:65
MonitorElement * hL1ForwardJet1Phi
Definition: PlotMakerL1.h:136
MonitorElement * hL1EmNotIso2Phi
Definition: PlotMakerL1.h:194
std::vector< MonitorElement * > hL1TauJet1EtaAfterHLT
Definition: PlotMakerL1.h:125
std::vector< MonitorElement * > hL1EmIsoMultAfterL1
Definition: PlotMakerL1.h:159
std::vector< MonitorElement * > hL1EmIso2PhiAfterHLT
Definition: PlotMakerL1.h:196
void handleObjects(const edm::Event &)
Definition: PlotMakerL1.cc:820
std::vector< MonitorElement * > hL1EmIso2EtaAfterHLT
Definition: PlotMakerL1.h:184
std::vector< MonitorElement * > hL1CentralJet1PtAfterHLT
Definition: PlotMakerL1.h:103
MonitorElement * hL1EmNotIso1Phi
Definition: PlotMakerL1.h:188
l1extra::L1JetParticleCollection theL1TauJetCollection
Definition: PlotMakerL1.h:84
T eta() const
std::vector< MonitorElement * > hL1CentralJet2PtAfterL1
Definition: PlotMakerL1.h:111
l1extra::L1EmParticleCollection theL1EmIsoCollection
Definition: PlotMakerL1.h:82
MonitorElement * hL1METx
Definition: PlotMakerL1.h:228
std::vector< MonitorElement * > hL1CentralJet1PhiAfterL1
Definition: PlotMakerL1.h:138
std::vector< MonitorElement * > hL1CentralJet2PtAfterHLT
Definition: PlotMakerL1.h:112
std::vector< MonitorElement * > hL1METyAfterHLT
Definition: PlotMakerL1.h:240
std::vector< MonitorElement * > hL1METphiAfterL1
Definition: PlotMakerL1.h:235
std::vector< MonitorElement * > hL1EmNotIso2PtAfterL1
Definition: PlotMakerL1.h:173
std::vector< MonitorElement * > hL1ForwardJet2EtaAfterL1
Definition: PlotMakerL1.h:131
void Fill(long long x)
std::vector< MonitorElement * > hL1SumEtAfterL1
Definition: PlotMakerL1.h:241
std::vector< MonitorElement * > hL1SumEtAfterHLT
Definition: PlotMakerL1.h:242
MonitorElement * hL1Muon1Pt
Definition: PlotMakerL1.h:205
std::vector< MonitorElement * > hL1EmNotIso1PtAfterHLT
Definition: PlotMakerL1.h:168
MonitorElement * hL1TauJet2Eta
Definition: PlotMakerL1.h:128
MonitorElement * hL1CentralJet1Pt
Definition: PlotMakerL1.h:99
std::vector< MonitorElement * > hL1TauJet2PhiAfterL1
Definition: PlotMakerL1.h:151
std::vector< MonitorElement * > hL1METphiAfterHLT
Definition: PlotMakerL1.h:236
std::vector< MonitorElement * > hL1CentralJetMultAfterL1
Definition: PlotMakerL1.h:93
std::vector< MonitorElement * > hL1ForwardJet1EtaAfterL1
Definition: PlotMakerL1.h:122
std::vector< MonitorElement * > hL1Muon1PtAfterHLT
Definition: PlotMakerL1.h:207
MonitorElement * hL1SumEt
Definition: PlotMakerL1.h:230
std::vector< MonitorElement * > hL1METxAfterL1
Definition: PlotMakerL1.h:237
std::vector< MonitorElement * > hL1EmNotIso1PhiAfterL1
Definition: PlotMakerL1.h:191
std::vector< MonitorElement * > hL1Muon2PtAfterHLT
Definition: PlotMakerL1.h:210
MonitorElement * hL1TauJet1Eta
Definition: PlotMakerL1.h:119
MonitorElement * hL1METy
Definition: PlotMakerL1.h:229
MonitorElement * hL1Muon2Eta
Definition: PlotMakerL1.h:214
std::vector< MonitorElement * > hL1EmIso2EtaAfterL1
Definition: PlotMakerL1.h:183
std::vector< MonitorElement * > hL1EmIso1PtAfterHLT
Definition: PlotMakerL1.h:166
l1extra::L1JetParticleCollection theL1CentralJetCollection
Definition: PlotMakerL1.h:84
std::vector< MonitorElement * > hL1EmIso1PhiAfterL1
Definition: PlotMakerL1.h:189
std::vector< MonitorElement * > hL1EmNotIso1EtaAfterHLT
Definition: PlotMakerL1.h:180
MonitorElement * hL1TauJet1Phi
Definition: PlotMakerL1.h:137
std::vector< MonitorElement * > hL1Muon1PhiAfterHLT
Definition: PlotMakerL1.h:219
std::vector< MonitorElement * > hL1METSignificanceAfterL1
Definition: PlotMakerL1.h:243
T sqrt(T t)
Definition: SSEVec.h:48
std::vector< MonitorElement * > hL1METSignificanceAfterHLT
Definition: PlotMakerL1.h:244
std::vector< MonitorElement * > hL1EmIso2PhiAfterL1
Definition: PlotMakerL1.h:195
std::vector< MonitorElement * > hL1CentralJet2EtaAfterL1
Definition: PlotMakerL1.h:129
std::vector< MonitorElement * > hL1Muon2EtaAfterHLT
Definition: PlotMakerL1.h:216
MonitorElement * hL1EmIso2Phi
Definition: PlotMakerL1.h:193
std::vector< MonitorElement * > hL1EmNotIso1PtAfterL1
Definition: PlotMakerL1.h:167
std::vector< MonitorElement * > hL1EmIso1EtaAfterHLT
Definition: PlotMakerL1.h:178
std::vector< MonitorElement * > hL1EmIso2PtAfterHLT
Definition: PlotMakerL1.h:172
std::vector< MonitorElement * > hL1TauJet2PtAfterHLT
Definition: PlotMakerL1.h:116
std::vector< MonitorElement * > hL1EmNotIso2EtaAfterL1
Definition: PlotMakerL1.h:185
std::vector< MonitorElement * > hL1TauJetMultAfterL1
Definition: PlotMakerL1.h:97
MonitorElement * hL1MET
Definition: PlotMakerL1.h:226
std::vector< MonitorElement * > hL1EmNotIso2PhiAfterL1
Definition: PlotMakerL1.h:197
std::vector< MonitorElement * > hL1TauJet2PtAfterL1
Definition: PlotMakerL1.h:115
std::vector< MonitorElement * > hL1CentralJet1PhiAfterHLT
Definition: PlotMakerL1.h:139
std::vector< MonitorElement * > hL1TauJet1PtAfterL1
Definition: PlotMakerL1.h:106
std::vector< MonitorElement * > hL1Muon1EtaAfterL1
Definition: PlotMakerL1.h:212
MonitorElement * hL1Muon1Eta
Definition: PlotMakerL1.h:211
std::vector< MonitorElement * > hL1TauJet1PhiAfterL1
Definition: PlotMakerL1.h:142
std::vector< MonitorElement * > hL1Muon2PtAfterL1
Definition: PlotMakerL1.h:209
MonitorElement * hL1ForwardJetMult
Definition: PlotMakerL1.h:91
std::vector< MonitorElement * > hL1Muon2PhiAfterHLT
Definition: PlotMakerL1.h:222
MonitorElement * hL1ForwardJet2Pt
Definition: PlotMakerL1.h:109
MonitorElement * hL1EmNotIso2Eta
Definition: PlotMakerL1.h:182
std::vector< MonitorElement * > hL1ForwardJetMultAfterL1
Definition: PlotMakerL1.h:95
std::vector< MonitorElement * > hL1ForwardJet1PtAfterHLT
Definition: PlotMakerL1.h:105
std::vector< MonitorElement * > hL1EmIso1EtaAfterL1
Definition: PlotMakerL1.h:177
MonitorElement * hL1EmNotIso2Pt
Definition: PlotMakerL1.h:170
std::vector< MonitorElement * > hL1EmIso1PhiAfterHLT
Definition: PlotMakerL1.h:190
MonitorElement * hL1EmIso1Pt
Definition: PlotMakerL1.h:163
std::vector< MonitorElement * > hL1Muon1PtAfterL1
Definition: PlotMakerL1.h:206
std::vector< MonitorElement * > hL1EmNotIsoMultAfterL1
Definition: PlotMakerL1.h:161
MonitorElement * hL1ForwardJet1Pt
Definition: PlotMakerL1.h:100
std::vector< MonitorElement * > hL1ForwardJet1PtAfterL1
Definition: PlotMakerL1.h:104
std::vector< MonitorElement * > hL1ForwardJet2EtaAfterHLT
Definition: PlotMakerL1.h:132
std::vector< MonitorElement * > hL1ForwardJet2PhiAfterHLT
Definition: PlotMakerL1.h:150
std::vector< MonitorElement * > hL1EmNotIso2EtaAfterHLT
Definition: PlotMakerL1.h:186
std::vector< MonitorElement * > hL1EmNotIso2PhiAfterHLT
Definition: PlotMakerL1.h:198
std::vector< MonitorElement * > hL1METAfterHLT
Definition: PlotMakerL1.h:234
std::vector< MonitorElement * > hL1TauJet2PhiAfterHLT
Definition: PlotMakerL1.h:152
MonitorElement * hL1EmNotIso1Eta
Definition: PlotMakerL1.h:176
MonitorElement * hL1CentralJet1Eta
Definition: PlotMakerL1.h:117
MonitorElement * hL1CentralJet2Eta
Definition: PlotMakerL1.h:126
std::vector< MonitorElement * > hL1ForwardJet1PhiAfterHLT
Definition: PlotMakerL1.h:141
std::vector< MonitorElement * > hL1TauJet2EtaAfterHLT
Definition: PlotMakerL1.h:134
l1extra::L1MuonParticleCollection theL1MuonCollection
Definition: PlotMakerL1.h:83
std::vector< MonitorElement * > hL1CentralJetMultAfterHLT
Definition: PlotMakerL1.h:94
std::vector< MonitorElement * > hL1CentralJet2PhiAfterL1
Definition: PlotMakerL1.h:147
std::vector< MonitorElement * > hL1EmIso2PtAfterL1
Definition: PlotMakerL1.h:171
std::vector< MonitorElement * > hL1METxAfterHLT
Definition: PlotMakerL1.h:238
MonitorElement * hL1Muon2Phi
Definition: PlotMakerL1.h:220
MonitorElement * hL1EmNotIso1Pt
Definition: PlotMakerL1.h:164
std::vector< MonitorElement * > hL1Muon2PhiAfterL1
Definition: PlotMakerL1.h:221
MonitorElement * hL1METSignificance
Definition: PlotMakerL1.h:231
std::vector< MonitorElement * > hL1EmIso1PtAfterL1
Definition: PlotMakerL1.h:165
MonitorElement * hL1ForwardJet2Eta
Definition: PlotMakerL1.h:127
std::vector< MonitorElement * > hL1TauJet1PtAfterHLT
Definition: PlotMakerL1.h:107
MonitorElement * hL1CentralJet2Phi
Definition: PlotMakerL1.h:144
std::vector< MonitorElement * > hL1ForwardJet2PhiAfterL1
Definition: PlotMakerL1.h:149
MonitorElement * hL1Muon1Phi
Definition: PlotMakerL1.h:217
MonitorElement * hL1Muon2Pt
Definition: PlotMakerL1.h:208
MonitorElement * hL1EmIsoMult
Definition: PlotMakerL1.h:157
MonitorElement * hL1TauJet2Phi
Definition: PlotMakerL1.h:146
std::vector< MonitorElement * > hL1Muon2EtaAfterL1
Definition: PlotMakerL1.h:215
MonitorElement * hL1ForwardJet2Phi
Definition: PlotMakerL1.h:145
std::vector< MonitorElement * > hL1CentralJet2EtaAfterHLT
Definition: PlotMakerL1.h:130
std::vector< MonitorElement * > hL1TauJet1PhiAfterHLT
Definition: PlotMakerL1.h:143
std::vector< MonitorElement * > hL1Muon1EtaAfterHLT
Definition: PlotMakerL1.h:213
MonitorElement * hL1MuonMult
Definition: PlotMakerL1.h:202
std::vector< MonitorElement * > hL1ForwardJet1EtaAfterHLT
Definition: PlotMakerL1.h:123
std::vector< MonitorElement * > hL1ForwardJetMultAfterHLT
Definition: PlotMakerL1.h:96
MonitorElement * hL1EmIso2Pt
Definition: PlotMakerL1.h:169
std::vector< MonitorElement * > hL1EmNotIso1PhiAfterHLT
Definition: PlotMakerL1.h:192
MonitorElement * hL1METphi
Definition: PlotMakerL1.h:227
MonitorElement * hL1TauJet2Pt
Definition: PlotMakerL1.h:110
std::vector< MonitorElement * > hL1MuonMultAfterHLT
Definition: PlotMakerL1.h:204
Definition: DDAxes.h:10
std::vector< MonitorElement * > hL1METyAfterL1
Definition: PlotMakerL1.h:239
std::vector< MonitorElement * > hL1ForwardJet1PhiAfterL1
Definition: PlotMakerL1.h:140
void PlotMakerL1::handleObjects ( const edm::Event iEvent)

Definition at line 820 of file PlotMakerL1.cc.

References edm::Event::getByToken(), and python.multivaluedict::sort().

821 {
822 
823 
824  //**************************************************
825  // Get the L1 Objects through the l1extra Collection
826  //**************************************************
827 
828  //Get the EM objects
829 
830  Handle<l1extra::L1EmParticleCollection> theL1EmIsoHandle, theL1EmNotIsoHandle;
831  iEvent.getByToken(m_l1extra_emIsolated_,theL1EmIsoHandle);
832  iEvent.getByToken(m_l1extra_emNonIsolated_,theL1EmNotIsoHandle);
833  theL1EmIsoCollection = *theL1EmIsoHandle;
835  theL1EmNotIsoCollection = *theL1EmNotIsoHandle;
836  std::sort(theL1EmNotIsoCollection.begin(), theL1EmNotIsoCollection.end(), PtSorter());
837 
838  //Get the Muons
840  iEvent.getByToken(m_l1extra_muons_,theL1MuonHandle);
841  theL1MuonCollection = *theL1MuonHandle;
843 
844  //Get the Jets
845  Handle<l1extra::L1JetParticleCollection> theL1CentralJetHandle,theL1ForwardJetHandle,theL1TauJetHandle;
846  iEvent.getByToken(m_l1extra_jetCentral_,theL1CentralJetHandle);
847  iEvent.getByToken(m_l1extra_jetFwd_,theL1ForwardJetHandle);
848  iEvent.getByToken(m_l1extra_jetTau_,theL1TauJetHandle);
849  theL1CentralJetCollection = *theL1CentralJetHandle;
851  theL1ForwardJetCollection = *theL1ForwardJetHandle;
852  std::sort(theL1ForwardJetCollection.begin(), theL1ForwardJetCollection.end(), PtSorter());
853  theL1TauJetCollection = *theL1TauJetHandle;
854  std::sort(theL1TauJetCollection.begin(), theL1TauJetCollection.end(), PtSorter());
855 
856 
857  //Get the MET
859  iEvent.getByToken(m_l1extra_MET_,theL1METHandle);
860  theL1METCollection = *theL1METHandle;
862 
863 }
l1extra::L1JetParticleCollection theL1ForwardJetCollection
Definition: PlotMakerL1.h:84
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > m_l1extra_muons_
Definition: PlotMakerL1.h:74
l1extra::L1EmParticleCollection theL1EmNotIsoCollection
Definition: PlotMakerL1.h:82
l1extra::L1EtMissParticleCollection theL1METCollection
Definition: PlotMakerL1.h:85
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_l1extra_jetTau_
Definition: PlotMakerL1.h:78
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_l1extra_emIsolated_
Definition: PlotMakerL1.h:71
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_l1extra_jetCentral_
Definition: PlotMakerL1.h:76
l1extra::L1JetParticleCollection theL1TauJetCollection
Definition: PlotMakerL1.h:84
l1extra::L1EmParticleCollection theL1EmIsoCollection
Definition: PlotMakerL1.h:82
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_l1extra_jetFwd_
Definition: PlotMakerL1.h:77
l1extra::L1JetParticleCollection theL1CentralJetCollection
Definition: PlotMakerL1.h:84
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_l1extra_MET_
Definition: PlotMakerL1.h:80
l1extra::L1MuonParticleCollection theL1MuonCollection
Definition: PlotMakerL1.h:83
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_l1extra_emNonIsolated_
Definition: PlotMakerL1.h:72
double PlotMakerL1::invariantMass ( reco::Candidate p1,
reco::Candidate p2 
)
private

Definition at line 865 of file PlotMakerL1.cc.

References reco::Candidate::energy(), reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), and mathSSE::sqrt().

865  {
866  double mass = sqrt( (p1->energy() + p2->energy())*(p1->energy() + p2->energy()) -
867  (p1->px() + p2->px())*(p1->px() + p2->px()) -
868  (p1->py() + p2->py())*(p1->py() + p2->py()) -
869  (p1->pz() + p2->pz())*(p1->pz() + p2->pz()) );
870 
871 
872 // cout << "p1->energy() = " << p1->energy() << " p2->energy() = " << p2->energy() << endl;
873 // cout << "p1->px() = " << p1->px() << " p2->px() = " << p2->px() << endl;
874 // cout << "p1->py() = " << p1->py() << " p2->py() = " << p2->py() << endl;
875 // cout << "p1->pz() = " << p1->pz() << " p2->pz() = " << p2->pz() << endl;
876 // cout << "invmass = " << mass << endl;
877 
878 
879  return mass;
880 }
virtual double energy() const =0
energy
virtual double pz() const =0
z coordinate of momentum vector
T sqrt(T t)
Definition: SSEVec.h:48
virtual double py() const =0
y coordinate of momentum vector
virtual double px() const =0
x coordinate of momentum vector
void PlotMakerL1::setBits ( std::vector< int > *  l1bits,
std::vector< int > *  hltbits 
)
inlineprivate

Definition at line 62 of file PlotMakerL1.h.

References hltbits_, and l1bits_.

62 {l1bits_=l1bits; hltbits_=hltbits;}
std::vector< int > * l1bits_
Definition: PlotMakerL1.h:64
std::vector< int > * hltbits_
Definition: PlotMakerL1.h:65

Member Data Documentation

std::string PlotMakerL1::dirname_
private

Definition at line 60 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJet1Eta
private

Definition at line 117 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet1EtaAfterHLT
private

Definition at line 121 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet1EtaAfterL1
private

Definition at line 120 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJet1Phi
private

Definition at line 135 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet1PhiAfterHLT
private

Definition at line 139 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet1PhiAfterL1
private

Definition at line 138 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJet1Pt
private

Definition at line 99 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet1PtAfterHLT
private

Definition at line 103 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet1PtAfterL1
private

Definition at line 102 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJet2Eta
private

Definition at line 126 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet2EtaAfterHLT
private

Definition at line 130 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet2EtaAfterL1
private

Definition at line 129 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJet2Phi
private

Definition at line 144 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet2PhiAfterHLT
private

Definition at line 148 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet2PhiAfterL1
private

Definition at line 147 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJet2Pt
private

Definition at line 108 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet2PtAfterHLT
private

Definition at line 112 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJet2PtAfterL1
private

Definition at line 111 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1CentralJetMult
private

Definition at line 90 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJetMultAfterHLT
private

Definition at line 94 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1CentralJetMultAfterL1
private

Definition at line 93 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIso1Eta
private

Definition at line 175 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso1EtaAfterHLT
private

Definition at line 178 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso1EtaAfterL1
private

Definition at line 177 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIso1Phi
private

Definition at line 187 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso1PhiAfterHLT
private

Definition at line 190 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso1PhiAfterL1
private

Definition at line 189 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIso1Pt
private

Definition at line 163 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso1PtAfterHLT
private

Definition at line 166 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso1PtAfterL1
private

Definition at line 165 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIso2Eta
private

Definition at line 181 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso2EtaAfterHLT
private

Definition at line 184 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso2EtaAfterL1
private

Definition at line 183 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIso2Phi
private

Definition at line 193 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso2PhiAfterHLT
private

Definition at line 196 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso2PhiAfterL1
private

Definition at line 195 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIso2Pt
private

Definition at line 169 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso2PtAfterHLT
private

Definition at line 172 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIso2PtAfterL1
private

Definition at line 171 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmIsoMult
private

Definition at line 157 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIsoMultAfterHLT
private

Definition at line 160 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmIsoMultAfterL1
private

Definition at line 159 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIso1Eta
private

Definition at line 176 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso1EtaAfterHLT
private

Definition at line 180 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso1EtaAfterL1
private

Definition at line 179 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIso1Phi
private

Definition at line 188 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso1PhiAfterHLT
private

Definition at line 192 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso1PhiAfterL1
private

Definition at line 191 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIso1Pt
private

Definition at line 164 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso1PtAfterHLT
private

Definition at line 168 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso1PtAfterL1
private

Definition at line 167 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIso2Eta
private

Definition at line 182 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso2EtaAfterHLT
private

Definition at line 186 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso2EtaAfterL1
private

Definition at line 185 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIso2Phi
private

Definition at line 194 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso2PhiAfterHLT
private

Definition at line 198 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso2PhiAfterL1
private

Definition at line 197 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIso2Pt
private

Definition at line 170 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso2PtAfterHLT
private

Definition at line 174 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIso2PtAfterL1
private

Definition at line 173 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1EmNotIsoMult
private

Definition at line 158 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIsoMultAfterHLT
private

Definition at line 162 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1EmNotIsoMultAfterL1
private

Definition at line 161 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJet1Eta
private

Definition at line 118 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet1EtaAfterHLT
private

Definition at line 123 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet1EtaAfterL1
private

Definition at line 122 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJet1Phi
private

Definition at line 136 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet1PhiAfterHLT
private

Definition at line 141 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet1PhiAfterL1
private

Definition at line 140 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJet1Pt
private

Definition at line 100 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet1PtAfterHLT
private

Definition at line 105 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet1PtAfterL1
private

Definition at line 104 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJet2Eta
private

Definition at line 127 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet2EtaAfterHLT
private

Definition at line 132 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet2EtaAfterL1
private

Definition at line 131 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJet2Phi
private

Definition at line 145 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet2PhiAfterHLT
private

Definition at line 150 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet2PhiAfterL1
private

Definition at line 149 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJet2Pt
private

Definition at line 109 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet2PtAfterHLT
private

Definition at line 114 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJet2PtAfterL1
private

Definition at line 113 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1ForwardJetMult
private

Definition at line 91 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJetMultAfterHLT
private

Definition at line 96 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1ForwardJetMultAfterL1
private

Definition at line 95 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1MET
private

Definition at line 226 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METAfterHLT
private

Definition at line 234 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METAfterL1
private

Definition at line 233 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1METphi
private

Definition at line 227 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METphiAfterHLT
private

Definition at line 236 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METphiAfterL1
private

Definition at line 235 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1METSignificance
private

Definition at line 231 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METSignificanceAfterHLT
private

Definition at line 244 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METSignificanceAfterL1
private

Definition at line 243 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1METx
private

Definition at line 228 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METxAfterHLT
private

Definition at line 238 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METxAfterL1
private

Definition at line 237 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1METy
private

Definition at line 229 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METyAfterHLT
private

Definition at line 240 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1METyAfterL1
private

Definition at line 239 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1Muon1Eta
private

Definition at line 211 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon1EtaAfterHLT
private

Definition at line 213 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon1EtaAfterL1
private

Definition at line 212 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1Muon1Phi
private

Definition at line 217 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon1PhiAfterHLT
private

Definition at line 219 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon1PhiAfterL1
private

Definition at line 218 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1Muon1Pt
private

Definition at line 205 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon1PtAfterHLT
private

Definition at line 207 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon1PtAfterL1
private

Definition at line 206 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1Muon2Eta
private

Definition at line 214 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon2EtaAfterHLT
private

Definition at line 216 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon2EtaAfterL1
private

Definition at line 215 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1Muon2Phi
private

Definition at line 220 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon2PhiAfterHLT
private

Definition at line 222 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon2PhiAfterL1
private

Definition at line 221 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1Muon2Pt
private

Definition at line 208 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon2PtAfterHLT
private

Definition at line 210 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1Muon2PtAfterL1
private

Definition at line 209 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1MuonMult
private

Definition at line 202 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1MuonMultAfterHLT
private

Definition at line 204 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1MuonMultAfterL1
private

Definition at line 203 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1SumEt
private

Definition at line 230 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1SumEtAfterHLT
private

Definition at line 242 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1SumEtAfterL1
private

Definition at line 241 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJet1Eta
private

Definition at line 119 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet1EtaAfterHLT
private

Definition at line 125 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet1EtaAfterL1
private

Definition at line 124 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJet1Phi
private

Definition at line 137 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet1PhiAfterHLT
private

Definition at line 143 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet1PhiAfterL1
private

Definition at line 142 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJet1Pt
private

Definition at line 101 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet1PtAfterHLT
private

Definition at line 107 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet1PtAfterL1
private

Definition at line 106 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJet2Eta
private

Definition at line 128 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet2EtaAfterHLT
private

Definition at line 134 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet2EtaAfterL1
private

Definition at line 133 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJet2Phi
private

Definition at line 146 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet2PhiAfterHLT
private

Definition at line 152 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet2PhiAfterL1
private

Definition at line 151 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJet2Pt
private

Definition at line 110 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet2PtAfterHLT
private

Definition at line 116 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJet2PtAfterL1
private

Definition at line 115 of file PlotMakerL1.h.

MonitorElement* PlotMakerL1::hL1TauJetMult
private

Definition at line 92 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJetMultAfterHLT
private

Definition at line 98 of file PlotMakerL1.h.

std::vector<MonitorElement*> PlotMakerL1::hL1TauJetMultAfterL1
private

Definition at line 97 of file PlotMakerL1.h.

std::vector<int>* PlotMakerL1::hltbits_
private

Definition at line 65 of file PlotMakerL1.h.

Referenced by setBits().

std::vector<int>* PlotMakerL1::l1bits_
private

Definition at line 64 of file PlotMakerL1.h.

Referenced by setBits().

std::string PlotMakerL1::m_l1extra
private

Definition at line 70 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1EmParticleCollection> PlotMakerL1::m_l1extra_emIsolated_
private

Definition at line 71 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1EmParticleCollection> PlotMakerL1::m_l1extra_emNonIsolated_
private

Definition at line 72 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1JetParticleCollection> PlotMakerL1::m_l1extra_jetCentral_
private

Definition at line 76 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1JetParticleCollection> PlotMakerL1::m_l1extra_jetFwd_
private

Definition at line 77 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1JetParticleCollection> PlotMakerL1::m_l1extra_jetTau_
private

Definition at line 78 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1EtMissParticleCollection> PlotMakerL1::m_l1extra_MET_
private

Definition at line 80 of file PlotMakerL1.h.

edm::EDGetTokenT<l1extra::L1MuonParticleCollection> PlotMakerL1::m_l1extra_muons_
private

Definition at line 74 of file PlotMakerL1.h.

std::string PlotMakerL1::myHistoName
private

Definition at line 246 of file PlotMakerL1.h.

std::string PlotMakerL1::myHistoTitle
private

Definition at line 247 of file PlotMakerL1.h.

l1extra::L1JetParticleCollection PlotMakerL1::theL1CentralJetCollection
private

Definition at line 84 of file PlotMakerL1.h.

l1extra::L1EmParticleCollection PlotMakerL1::theL1EmIsoCollection
private

Definition at line 82 of file PlotMakerL1.h.

l1extra::L1EmParticleCollection PlotMakerL1::theL1EmNotIsoCollection
private

Definition at line 82 of file PlotMakerL1.h.

l1extra::L1JetParticleCollection PlotMakerL1::theL1ForwardJetCollection
private

Definition at line 84 of file PlotMakerL1.h.

l1extra::L1EtMissParticleCollection PlotMakerL1::theL1METCollection
private

Definition at line 85 of file PlotMakerL1.h.

l1extra::L1MuonParticleCollection PlotMakerL1::theL1MuonCollection
private

Definition at line 83 of file PlotMakerL1.h.

l1extra::L1JetParticleCollection PlotMakerL1::theL1TauJetCollection
private

Definition at line 84 of file PlotMakerL1.h.