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
PlotMakerReco Class Reference

#include <PlotMakerReco.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 &)
 
 PlotMakerReco (const edm::ParameterSet &objectList, edm::ConsumesCollector &&iC)
 
virtual ~PlotMakerReco ()
 

Private Member Functions

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

Private Attributes

int binFactor
 
double def_electronPtMin
 
double def_jetPtMin
 
double def_muonPtMin
 
double def_photonPtMin
 
std::string dirname_
 
MonitorElementhDiElecInvMass
 
std::vector< MonitorElement * > hDiElecInvMassAfterHLT
 
std::vector< MonitorElement * > hDiElecInvMassAfterL1
 
MonitorElementhDiJetInvMass
 
std::vector< MonitorElement * > hDiJetInvMassAfterHLT
 
std::vector< MonitorElement * > hDiJetInvMassAfterL1
 
MonitorElementhDiMuonInvMass
 
std::vector< MonitorElement * > hDiMuonInvMassAfterHLT
 
std::vector< MonitorElement * > hDiMuonInvMassAfterL1
 
MonitorElementhDiPhotonInvMass
 
std::vector< MonitorElement * > hDiPhotonInvMassAfterHLT
 
std::vector< MonitorElement * > hDiPhotonInvMassAfterL1
 
MonitorElementhElec1Eta
 
std::vector< MonitorElement * > hElec1EtaAfterHLT
 
std::vector< MonitorElement * > hElec1EtaAfterL1
 
MonitorElementhElec1Phi
 
std::vector< MonitorElement * > hElec1PhiAfterHLT
 
std::vector< MonitorElement * > hElec1PhiAfterL1
 
MonitorElementhElec1Pt
 
std::vector< MonitorElement * > hElec1PtAfterHLT
 
std::vector< MonitorElement * > hElec1PtAfterL1
 
MonitorElementhElec2Eta
 
std::vector< MonitorElement * > hElec2EtaAfterHLT
 
std::vector< MonitorElement * > hElec2EtaAfterL1
 
MonitorElementhElec2Phi
 
std::vector< MonitorElement * > hElec2PhiAfterHLT
 
std::vector< MonitorElement * > hElec2PhiAfterL1
 
MonitorElementhElec2Pt
 
std::vector< MonitorElement * > hElec2PtAfterHLT
 
std::vector< MonitorElement * > hElec2PtAfterL1
 
MonitorElementhElecMult
 
std::vector< MonitorElement * > hElecMultAfterHLT
 
std::vector< MonitorElement * > hElecMultAfterL1
 
MonitorElementhJet1Eta
 
std::vector< MonitorElement * > hJet1EtaAfterHLT
 
std::vector< MonitorElement * > hJet1EtaAfterL1
 
MonitorElementhJet1Phi
 
std::vector< MonitorElement * > hJet1PhiAfterHLT
 
std::vector< MonitorElement * > hJet1PhiAfterL1
 
MonitorElementhJet1Pt
 
std::vector< MonitorElement * > hJet1PtAfterHLT
 
std::vector< MonitorElement * > hJet1PtAfterL1
 
MonitorElementhJet2Eta
 
std::vector< MonitorElement * > hJet2EtaAfterHLT
 
std::vector< MonitorElement * > hJet2EtaAfterL1
 
MonitorElementhJet2Phi
 
std::vector< MonitorElement * > hJet2PhiAfterHLT
 
std::vector< MonitorElement * > hJet2PhiAfterL1
 
MonitorElementhJet2Pt
 
std::vector< MonitorElement * > hJet2PtAfterHLT
 
std::vector< MonitorElement * > hJet2PtAfterL1
 
MonitorElementhJetMult
 
std::vector< MonitorElement * > hJetMultAfterHLT
 
std::vector< MonitorElement * > hJetMultAfterL1
 
std::vector< int > * hltbits_
 
MonitorElementhMET
 
std::vector< MonitorElement * > hMETAfterHLT
 
std::vector< MonitorElement * > hMETAfterL1
 
MonitorElementhMETphi
 
std::vector< MonitorElement * > hMETphiAfterHLT
 
std::vector< MonitorElement * > hMETphiAfterL1
 
MonitorElementhMETSignificance
 
std::vector< MonitorElement * > hMETSignificanceAfterHLT
 
std::vector< MonitorElement * > hMETSignificanceAfterL1
 
MonitorElementhMETx
 
std::vector< MonitorElement * > hMETxAfterHLT
 
std::vector< MonitorElement * > hMETxAfterL1
 
MonitorElementhMETy
 
std::vector< MonitorElement * > hMETyAfterHLT
 
std::vector< MonitorElement * > hMETyAfterL1
 
MonitorElementhMuon1Eta
 
std::vector< MonitorElement * > hMuon1EtaAfterHLT
 
std::vector< MonitorElement * > hMuon1EtaAfterL1
 
MonitorElementhMuon1Phi
 
std::vector< MonitorElement * > hMuon1PhiAfterHLT
 
std::vector< MonitorElement * > hMuon1PhiAfterL1
 
MonitorElementhMuon1Pt
 
std::vector< MonitorElement * > hMuon1PtAfterHLT
 
std::vector< MonitorElement * > hMuon1PtAfterL1
 
MonitorElementhMuon2Eta
 
std::vector< MonitorElement * > hMuon2EtaAfterHLT
 
std::vector< MonitorElement * > hMuon2EtaAfterL1
 
MonitorElementhMuon2Phi
 
std::vector< MonitorElement * > hMuon2PhiAfterHLT
 
std::vector< MonitorElement * > hMuon2PhiAfterL1
 
MonitorElementhMuon2Pt
 
std::vector< MonitorElement * > hMuon2PtAfterHLT
 
std::vector< MonitorElement * > hMuon2PtAfterL1
 
MonitorElementhMuonMult
 
std::vector< MonitorElement * > hMuonMultAfterHLT
 
std::vector< MonitorElement * > hMuonMultAfterL1
 
MonitorElementhPhoton1Eta
 
std::vector< MonitorElement * > hPhoton1EtaAfterHLT
 
std::vector< MonitorElement * > hPhoton1EtaAfterL1
 
MonitorElementhPhoton1Phi
 
std::vector< MonitorElement * > hPhoton1PhiAfterHLT
 
std::vector< MonitorElement * > hPhoton1PhiAfterL1
 
MonitorElementhPhoton1Pt
 
std::vector< MonitorElement * > hPhoton1PtAfterHLT
 
std::vector< MonitorElement * > hPhoton1PtAfterL1
 
MonitorElementhPhoton2Eta
 
std::vector< MonitorElement * > hPhoton2EtaAfterHLT
 
std::vector< MonitorElement * > hPhoton2EtaAfterL1
 
MonitorElementhPhoton2Phi
 
std::vector< MonitorElement * > hPhoton2PhiAfterHLT
 
std::vector< MonitorElement * > hPhoton2PhiAfterL1
 
MonitorElementhPhoton2Pt
 
std::vector< MonitorElement * > hPhoton2PtAfterHLT
 
std::vector< MonitorElement * > hPhoton2PtAfterL1
 
MonitorElementhPhotonMult
 
std::vector< MonitorElement * > hPhotonMultAfterHLT
 
std::vector< MonitorElement * > hPhotonMultAfterL1
 
MonitorElementhSumEt
 
std::vector< MonitorElement * > hSumEtAfterHLT
 
std::vector< MonitorElement * > hSumEtAfterL1
 
std::vector< int > * l1bits_
 
edm::EDGetTokenT
< reco::CaloMETCollection
m_calometSrc
 
edm::EDGetTokenT
< reco::GsfElectronCollection
m_electronSrc
 
edm::EDGetTokenT
< reco::CaloJetCollection
m_jetsSrc
 
edm::EDGetTokenT
< reco::MuonCollection
m_muonSrc
 
edm::EDGetTokenT
< reco::PhotonCollection
m_photon_token_
 
std::string m_photonProducerSrc
 
std::string m_photonSrc
 
std::string myHistoName
 
std::string myHistoTitle
 
reco::CaloJetCollection theCaloJetCollection
 
reco::CaloMETCollection theCaloMETCollection
 
reco::GsfElectronCollection theElectronCollection
 
reco::MuonCollection theMuonCollection
 
reco::PhotonCollection thePhotonCollection
 

Detailed Description

Definition at line 57 of file PlotMakerReco.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file PlotMakerReco.cc.

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

26 {
27  m_electronSrc = iC.consumes<GsfElectronCollection>(PlotMakerRecoInput.getParameter<string>("electrons"));
28  m_muonSrc = iC.consumes<MuonCollection>(PlotMakerRecoInput.getParameter<string>("muons"));
29  m_jetsSrc = iC.consumes<CaloJetCollection>(PlotMakerRecoInput.getParameter<string>("jets"));
30  m_photonProducerSrc = PlotMakerRecoInput.getParameter<string>("photonProducer");
31  m_photonSrc = PlotMakerRecoInput.getParameter<string>("photons");
33  m_calometSrc = iC.consumes<CaloMETCollection>(PlotMakerRecoInput.getParameter<string>("calomet"));
34 
35  def_electronPtMin = PlotMakerRecoInput.getParameter<double>("def_electronPtMin");
36  def_muonPtMin = PlotMakerRecoInput.getParameter<double>("def_muonPtMin");
37  def_jetPtMin = PlotMakerRecoInput.getParameter<double>("def_jetPtMin");
38  def_photonPtMin = PlotMakerRecoInput.getParameter<double>("def_photonPtMin");
39 
40  binFactor = PlotMakerRecoInput.getParameter<int>("BinFactor");
41 
42  dirname_ = PlotMakerRecoInput.getParameter<std::string>("dirname");
43 
44  edm::LogInfo("PlotMakerRecoObjects") << endl;
45  edm::LogInfo("PlotMakerRecoObjects") << "Object definition cuts:" << endl;
46  edm::LogInfo("PlotMakerRecoObjects") << " def_electronPtMin " << def_electronPtMin << endl;
47  edm::LogInfo("PlotMakerRecoObjects") << " def_muonPtMin " << def_muonPtMin << endl;
48  edm::LogInfo("PlotMakerRecoObjects") << " def_jetPtMin " << def_jetPtMin << endl;
49  edm::LogInfo("PlotMakerRecoObjects") << " def_photonPtMin " << def_photonPtMin << endl;
50 
51 
52 }
edm::EDGetTokenT< reco::CaloJetCollection > m_jetsSrc
Definition: PlotMakerReco.h:83
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::string m_photonSrc
Definition: PlotMakerReco.h:85
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
Collection of Calo MET.
std::string dirname_
Definition: PlotMakerReco.h:71
std::string m_photonProducerSrc
Definition: PlotMakerReco.h:84
double def_electronPtMin
Definition: PlotMakerReco.h:90
double def_jetPtMin
Definition: PlotMakerReco.h:92
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
edm::EDGetTokenT< reco::MuonCollection > m_muonSrc
Definition: PlotMakerReco.h:82
edm::EDGetTokenT< reco::GsfElectronCollection > m_electronSrc
Definition: PlotMakerReco.h:81
edm::EDGetTokenT< reco::CaloMETCollection > m_calometSrc
Definition: PlotMakerReco.h:87
double def_muonPtMin
Definition: PlotMakerReco.h:91
double def_photonPtMin
Definition: PlotMakerReco.h:93
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
edm::EDGetTokenT< reco::PhotonCollection > m_photon_token_
Definition: PlotMakerReco.h:86
virtual PlotMakerReco::~PlotMakerReco ( )
inlinevirtual

Definition at line 61 of file PlotMakerReco.h.

61 {};

Member Function Documentation

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

Definition at line 358 of file PlotMakerReco.cc.

References i.

Referenced by TriggerValidator::analyze().

360 {
361 
362  this->setBits(l1bits, hltbits);
363 
364 
365  //******************
366  //Book histos Reco Objects
367  //******************
368 
369  //******************
370  //Book Jets
371  //******************
372 
373  dbe_->setCurrentFolder(dirname_+"/RecoJets/General");
374  hJetMult = dbe_->book1D("JetMult", "Jet Multiplicity", 10, 0, 10);
375  hJet1Pt = dbe_->book1D("Jet1Pt", "Jet 1 Pt ", 100, 0, 1000);
376  hJet2Pt = dbe_->book1D("Jet2Pt", "Jet 2 Pt ", 100, 0, 1000);
377  hJet1Eta = dbe_->book1D("Jet1Eta", "Jet 1 Eta ", 10*binFactor, -3 , 3 );
378  hJet2Eta = dbe_->book1D("Jet2Eta", "Jet 2 Eta ", 10*binFactor, -3 , 3 );
379  hJet1Phi = dbe_->book1D("Jet1Phi", "Jet 1 Phi ", 10*binFactor, -3.2 , 3.2 );
380  hJet2Phi = dbe_->book1D("Jet2Phi", "Jet 2 Phi ", 10*binFactor, -3.2 , 3.2 );
381 
382  hDiJetInvMass = dbe_->book1D("DiJetInvMass", "DiJet Invariant Mass", 100*binFactor, 0, 1000);
383 
384 
385  dbe_->setCurrentFolder(dirname_+"/RecoJets/L1");
386  for(unsigned int i=0; i<l1bits_->size(); i++){
387  myHistoName = "JetMult_" + (*l1Names_)[i];
388  myHistoTitle = "Jet Multiplicity for L1 path " + (*l1Names_)[i];
389  hJetMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
390  myHistoName = "Jet1Pt_" + (*l1Names_)[i];
391  myHistoTitle = "Jet 1 Pt for L1 path " + (*l1Names_)[i];
392  hJet1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
393  myHistoName = "Jet2Pt_" + (*l1Names_)[i];
394  myHistoTitle = "Jet 2 Pt for L1 path " + (*l1Names_)[i];
395  hJet2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
396  myHistoName = "Jet1Eta_" + (*l1Names_)[i];
397  myHistoTitle = "Jet 1 Eta for L1 path " + (*l1Names_)[i];
398  hJet1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
399  myHistoName = "Jet2Eta_" + (*l1Names_)[i];
400  myHistoTitle = "Jet 2 Eta for L1 path " + (*l1Names_)[i];
401  hJet2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
402  myHistoName = "Jet1Phi_" + (*l1Names_)[i];
403  myHistoTitle = "Jet 1 Phi for L1 path " + (*l1Names_)[i];
404  hJet1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
405  myHistoName = "Jet2Phi_" + (*l1Names_)[i];
406  myHistoTitle = "Jet 2 Phi for L1 path " + (*l1Names_)[i];
407  hJet2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
408 
409  myHistoName = "DiJetInvMass_" + (*l1Names_)[i];
410  myHistoTitle = "DiJet Invariant Mass for L1 path " + (*l1Names_)[i];
411  hDiJetInvMassAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
412 
413  }
414 
415  dbe_->setCurrentFolder(dirname_+"/RecoJets/HLT");
416  for(unsigned int i=0; i<hltbits_->size(); i++){
417  myHistoName = "JetMult_" + (*hlNames_)[i];
418  myHistoTitle = "Jet Multiplicity for HLT path " + (*hlNames_)[i];
419  hJetMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
420  myHistoName = "Jet1Pt_" + (*hlNames_)[i];
421  myHistoTitle = "Jet 1 Pt for HLT path " + (*hlNames_)[i];
422  hJet1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
423  myHistoName = "Jet2Pt_" + (*hlNames_)[i];
424  myHistoTitle = "Jet 2 Pt for HLT path " + (*hlNames_)[i];
425  hJet2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 1000));
426  myHistoName = "Jet1Eta_" + (*hlNames_)[i];
427  myHistoTitle = "Jet 1 Eta for HLT path " + (*hlNames_)[i];
428  hJet1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
429  myHistoName = "Jet2Eta_" + (*hlNames_)[i];
430  myHistoTitle = "Jet 2 Eta for HLT path " + (*hlNames_)[i];
431  hJet2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
432  myHistoName = "Jet1Phi_" + (*hlNames_)[i];
433  myHistoTitle = "Jet 1 Phi for HLT path " + (*hlNames_)[i];
434  hJet1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
435  myHistoName = "Jet2Phi_" + (*hlNames_)[i];
436  myHistoTitle = "Jet 2 Phi for HLT path " + (*hlNames_)[i];
437  hJet2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
438 
439  myHistoName = "DiJetInvMass_" + (*hlNames_)[i];
440  myHistoTitle = "DiJet Invariant Mass for HLT path " + (*hlNames_)[i];
441  hDiJetInvMassAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
442 
443  }
444  dbe_->setCurrentFolder(dirname_);
445 
446 
447 
448 
449  //******************
450  //Book Electrons
451  //******************
452 
453  dbe_->setCurrentFolder(dirname_+"/RecoElectrons/General");
454  hElecMult = dbe_->book1D("ElecMult", "Elec Multiplicity", 10, 0, 10);
455  hElec1Pt = dbe_->book1D("Elec1Pt", "Elec 1 Pt ", 100, 0, 100);
456  hElec2Pt = dbe_->book1D("Elec2Pt", "Elec 2 Pt ", 100, 0, 100);
457  hElec1Eta = dbe_->book1D("Elec1Eta", "Elec 1 Eta ", 10*binFactor, -3, 3);
458  hElec2Eta = dbe_->book1D("Elec2Eta", "Elec 2 Eta ", 10*binFactor, -3, 3);
459  hElec1Phi = dbe_->book1D("Elec1Phi", "Elec 1 Phi ", 10*binFactor, -3.2, 3.2);
460  hElec2Phi = dbe_->book1D("Elec2Phi", "Elec 2 Phi ", 10*binFactor, -3.2, 3.2);
461 
462  hDiElecInvMass = dbe_->book1D("DiElecInvMass", "DiElec Invariant Mass", 100*binFactor, 0, 1000);
463 
464  dbe_->setCurrentFolder(dirname_+"/RecoElectrons/L1");
465  for(unsigned int i=0; i<l1bits_->size(); i++){
466  myHistoName = "ElecMult_" + (*l1Names_)[i];
467  myHistoTitle = "Elec Multiplicity for L1 path " + (*l1Names_)[i];
468  hElecMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
469  myHistoName = "Elec1Pt_" + (*l1Names_)[i];
470  myHistoTitle = "Elec 1 Pt for L1 path " + (*l1Names_)[i];
471  hElec1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
472  myHistoName = "Elec2Pt_" + (*l1Names_)[i];
473  myHistoTitle = "Elec 2 Pt for L1 path " + (*l1Names_)[i];
474  hElec2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
475  myHistoName = "Elec1Eta_" + (*l1Names_)[i];
476  myHistoTitle = "Elec 1 Eta for L1 path " + (*l1Names_)[i];
477  hElec1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
478  myHistoName = "Elec2Eta_" + (*l1Names_)[i];
479  myHistoTitle = "Elec 2 Eta for L1 path " + (*l1Names_)[i];
480  hElec2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
481  myHistoName = "Elec1Phi_" + (*l1Names_)[i];
482  myHistoTitle = "Elec 1 Phi for L1 path " + (*l1Names_)[i];
483  hElec1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
484  myHistoName = "Elec2Phi_" + (*l1Names_)[i];
485  myHistoTitle = "Elec 2 Phi for L1 path " + (*l1Names_)[i];
486  hElec2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
487 
488  myHistoName = "DiElecInvMass_" + (*l1Names_)[i];
489  myHistoTitle = "DiElec Invariant Mass for L1 path " + (*l1Names_)[i];
490  hDiElecInvMassAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
491 
492  }
493 
494  dbe_->setCurrentFolder(dirname_+"/RecoElectrons/HLT");
495  for(unsigned int i=0; i<hltbits_->size(); i++){
496  myHistoName = "ElecMult_" + (*hlNames_)[i];
497  myHistoTitle = "Elec Multiplicity for HLT path " + (*hlNames_)[i];
498  hElecMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
499  myHistoName = "Elec1Pt_" + (*hlNames_)[i];
500  myHistoTitle = "Elec 1 Pt for HLT path " + (*hlNames_)[i];
501  hElec1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
502  myHistoName = "Elec2Pt_" + (*hlNames_)[i];
503  myHistoTitle = "Elec 2 Pt for HLT path " + (*hlNames_)[i];
504  hElec2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
505  myHistoName = "Elec1Eta_" + (*hlNames_)[i];
506  myHistoTitle = "Elec 1 Eta for HLT path " + (*hlNames_)[i];
507  hElec1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
508  myHistoName = "Elec2Eta_" + (*hlNames_)[i];
509  myHistoTitle = "Elec 2 Eta for HLT path " + (*hlNames_)[i];
510  hElec2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
511  myHistoName = "Elec1Phi_" + (*hlNames_)[i];
512  myHistoTitle = "Elec 1 Phi for HLT path " + (*hlNames_)[i];
513  hElec1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
514  myHistoName = "Elec2Phi_" + (*hlNames_)[i];
515  myHistoTitle = "Elec 2 Phi for HLT path " + (*hlNames_)[i];
516  hElec2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
517 
518  myHistoName = "DiElecInvMass_" + (*hlNames_)[i];
519  myHistoTitle = "DiElec Invariant Mass for HLT path " + (*hlNames_)[i];
520  hDiElecInvMassAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
521 
522  }
523  dbe_->setCurrentFolder(dirname_);
524 
525 
526  //******************
527  //Book Muons
528  //******************
529 
530  dbe_->setCurrentFolder(dirname_+"/RecoMuons/General");
531  hMuonMult = dbe_->book1D("MuonMult", "Muon Multiplicity", 10, 0, 10);
532  hMuon1Pt = dbe_->book1D("Muon1Pt", "Muon 1 Pt ", 100, 0, 100);
533  hMuon2Pt = dbe_->book1D("Muon2Pt", "Muon 2 Pt ", 100, 0, 100);
534  hMuon1Eta = dbe_->book1D("Muon1Eta", "Muon 1 Eta ", 10*binFactor, -3, 3);
535  hMuon2Eta = dbe_->book1D("Muon2Eta", "Muon 2 Eta ", 10*binFactor, -3, 3);
536  hMuon1Phi = dbe_->book1D("Muon1Phi", "Muon 1 Phi ", 10*binFactor, -3.2, 3.2);
537  hMuon2Phi = dbe_->book1D("Muon2Phi", "Muon 2 Phi ", 10*binFactor, -3.2, 3.2);
538 
539  hDiMuonInvMass = dbe_->book1D("DiMuonInvMass", "DiMuon Invariant Mass", 100*binFactor, 0, 1000);
540 
541  dbe_->setCurrentFolder(dirname_+"/RecoMuons/L1");
542  for(unsigned int i=0; i<l1bits_->size(); i++){
543  myHistoName = "MuonMult_" + (*l1Names_)[i];
544  myHistoTitle = "Muon Multiplicity for L1 path " + (*l1Names_)[i];
545  hMuonMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
546  myHistoName = "Muon1Pt_" + (*l1Names_)[i];
547  myHistoTitle = "Muon 1 Pt for L1 path " + (*l1Names_)[i];
548  hMuon1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
549  myHistoName = "Muon2Pt_" + (*l1Names_)[i];
550  myHistoTitle = "Muon 2 Pt for L1 path " + (*l1Names_)[i];
551  hMuon2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
552  myHistoName = "Muon1Eta_" + (*l1Names_)[i];
553  myHistoTitle = "Muon 1 Eta for L1 path " + (*l1Names_)[i];
554  hMuon1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
555  myHistoName = "Muon2Eta_" + (*l1Names_)[i];
556  myHistoTitle = "Muon 2 Eta for L1 path " + (*l1Names_)[i];
557  hMuon2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
558  myHistoName = "Muon1Phi_" + (*l1Names_)[i];
559  myHistoTitle = "Muon 1 Phi for L1 path " + (*l1Names_)[i];
560  hMuon1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
561  myHistoName = "Muon2Phi_" + (*l1Names_)[i];
562  myHistoTitle = "Muon 2 Phi for L1 path " + (*l1Names_)[i];
563  hMuon2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
564 
565  myHistoName = "DiMuonInvMass_" + (*l1Names_)[i];
566  myHistoTitle = "DiMuon Invariant Mass for L1 path " + (*l1Names_)[i];
567  hDiMuonInvMassAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
568 
569  }
570 
571  dbe_->setCurrentFolder(dirname_+"/RecoMuons/HLT");
572  for(unsigned int i=0; i<hltbits_->size(); i++){
573  myHistoName = "MuonMult_" + (*hlNames_)[i];
574  myHistoTitle = "Muon Multiplicity for HLT path " + (*hlNames_)[i];
575  hMuonMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
576  myHistoName = "Muon1Pt_" + (*hlNames_)[i];
577  myHistoTitle = "Muon 1 Pt for HLT path " + (*hlNames_)[i];
578  hMuon1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
579  myHistoName = "Muon2Pt_" + (*hlNames_)[i];
580  myHistoTitle = "Muon 2 Pt for HLT path " + (*hlNames_)[i];
581  hMuon2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
582  myHistoName = "Muon1Eta_" + (*hlNames_)[i];
583  myHistoTitle = "Muon 1 Eta for HLT path " + (*hlNames_)[i];
584  hMuon1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
585  myHistoName = "Muon2Eta_" + (*hlNames_)[i];
586  myHistoTitle = "Muon 2 Eta for HLT path " + (*hlNames_)[i];
587  hMuon2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
588  myHistoName = "Muon1Phi_" + (*hlNames_)[i];
589  myHistoTitle = "Muon 1 Phi for HLT path " + (*hlNames_)[i];
590  hMuon1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
591  myHistoName = "Muon2Phi_" + (*hlNames_)[i];
592  myHistoTitle = "Muon 2 Phi for HLT path " + (*hlNames_)[i];
593  hMuon2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
594 
595  myHistoName = "DiMuonInvMass_" + (*hlNames_)[i];
596  myHistoTitle = "DiMuon Invariant Mass for HLT path " + (*hlNames_)[i];
597  hDiMuonInvMassAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
598 
599  }
600  dbe_->setCurrentFolder(dirname_);
601 
602 
603 
604  //******************
605  //Book Photons
606  //******************
607 
608  dbe_->setCurrentFolder(dirname_+"/RecoPhotons/General");
609  hPhotonMult = dbe_->book1D("PhotonMult", "Photon Multiplicity", 10, 0, 10);
610  hPhoton1Pt = dbe_->book1D("Photon1Pt", "Photon 1 Pt ", 100, 0, 100);
611  hPhoton2Pt = dbe_->book1D("Photon2Pt", "Photon 2 Pt ", 100, 0, 100);
612  hPhoton1Eta = dbe_->book1D("Photon1Eta", "Photon 1 Eta ", 10*binFactor, -3, 3);
613  hPhoton2Eta = dbe_->book1D("Photon2Eta", "Photon 2 Eta ", 10*binFactor, -3, 3);
614  hPhoton1Phi = dbe_->book1D("Photon1Phi", "Photon 1 Phi ", 10*binFactor, -3.2, 3.2);
615  hPhoton2Phi = dbe_->book1D("Photon2Phi", "Photon 2 Phi ", 10*binFactor, -3.2, 3.2);
616 
617  hDiPhotonInvMass = dbe_->book1D("DiPhotonInvMass", "DiPhoton Invariant Mass", 100*binFactor, 0, 1000);
618 
619  dbe_->setCurrentFolder(dirname_+"/RecoPhotons/L1");
620  for(unsigned int i=0; i<l1bits_->size(); i++){
621  myHistoName = "PhotonMult_" + (*l1Names_)[i];
622  myHistoTitle = "Photon Multiplicity for L1 path " + (*l1Names_)[i];
623  hPhotonMultAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
624  myHistoName = "Photon1Pt_" + (*l1Names_)[i];
625  myHistoTitle = "Photon 1 Pt for L1 path " + (*l1Names_)[i];
626  hPhoton1PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
627  myHistoName = "Photon2Pt_" + (*l1Names_)[i];
628  myHistoTitle = "Photon 2 Pt for L1 path " + (*l1Names_)[i];
629  hPhoton2PtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
630  myHistoName = "Photon1Eta_" + (*l1Names_)[i];
631  myHistoTitle = "Photon 1 Eta for L1 path " + (*l1Names_)[i];
632  hPhoton1EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
633  myHistoName = "Photon2Eta_" + (*l1Names_)[i];
634  myHistoTitle = "Photon 2 Eta for L1 path " + (*l1Names_)[i];
635  hPhoton2EtaAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
636  myHistoName = "Photon1Phi_" + (*l1Names_)[i];
637  myHistoTitle = "Photon 1 Phi for L1 path " + (*l1Names_)[i];
638  hPhoton1PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
639  myHistoName = "Photon2Phi_" + (*l1Names_)[i];
640  myHistoTitle = "Photon 2 Phi for L1 path " + (*l1Names_)[i];
641  hPhoton2PhiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
642 
643  myHistoName = "DiPhotonInvMass_" + (*l1Names_)[i];
644  myHistoTitle = "DiPhoton Invariant Mass for L1 path " + (*l1Names_)[i];
645  hDiPhotonInvMassAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
646 
647  }
648 
649  dbe_->setCurrentFolder(dirname_+"/RecoPhotons/HLT");
650  for(unsigned int i=0; i<hltbits_->size(); i++){
651  myHistoName = "PhotonMult_" + (*hlNames_)[i];
652  myHistoTitle = "Photon Multiplicity for HLT path " + (*hlNames_)[i];
653  hPhotonMultAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10, 0, 10));
654  myHistoName = "Photon1Pt_" + (*hlNames_)[i];
655  myHistoTitle = "Photon 1 Pt for HLT path " + (*hlNames_)[i];
656  hPhoton1PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
657  myHistoName = "Photon2Pt_" + (*hlNames_)[i];
658  myHistoTitle = "Photon 2 Pt for HLT path " + (*hlNames_)[i];
659  hPhoton2PtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100, 0, 100));
660  myHistoName = "Photon1Eta_" + (*hlNames_)[i];
661  myHistoTitle = "Photon 1 Eta for HLT path " + (*hlNames_)[i];
662  hPhoton1EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
663  myHistoName = "Photon2Eta_" + (*hlNames_)[i];
664  myHistoTitle = "Photon 2 Eta for HLT path " + (*hlNames_)[i];
665  hPhoton2EtaAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3, 3));
666  myHistoName = "Photon1Phi_" + (*hlNames_)[i];
667  myHistoTitle = "Photon 1 Phi for HLT path " + (*hlNames_)[i];
668  hPhoton1PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
669  myHistoName = "Photon2Phi_" + (*hlNames_)[i];
670  myHistoTitle = "Photon 2 Phi for HLT path " + (*hlNames_)[i];
671  hPhoton2PhiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
672 
673  myHistoName = "DiPhotonInvMass_" + (*hlNames_)[i];
674  myHistoTitle = "DiPhoton Invariant Mass for HLT path " + (*hlNames_)[i];
675  hDiPhotonInvMassAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 100*binFactor, 0, 1000));
676 
677  }
678  dbe_->setCurrentFolder(dirname_);
679 
680 
681 
682  //******************
683  //Book MET
684  //******************
685 
686  dbe_->setCurrentFolder(dirname_+"/RecoMET/General");
687  hMET = dbe_->book1D("MET", "MET", 35, 0, 1050);
688  hMETx = dbe_->book1D("METx", "METx", 35, 0, 1050);
689  hMETy = dbe_->book1D("METy", "METy", 35, 0, 1050);
690  hMETphi = dbe_->book1D("METphi", "METphi", 10*binFactor, -3.2, 3.2);
691  hSumEt = dbe_->book1D("SumEt" , "SumEt", 35, 0, 1050);
692  hMETSignificance = dbe_->book1D("METSignificance", "METSignificance", 100, 0, 100);
693  dbe_->setCurrentFolder(dirname_+"/RecoMET/L1");
694  for(unsigned int i=0; i<l1bits_->size(); i++){
695  myHistoName = "MET_" + (*l1Names_)[i];
696  myHistoTitle = "MET for L1 path " + (*l1Names_)[i];
697  hMETAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
698  myHistoName = "METx_" + (*l1Names_)[i];
699  myHistoTitle = "METx for L1 path " + (*l1Names_)[i];
700  hMETxAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
701  myHistoName = "METy_" + (*l1Names_)[i];
702  myHistoTitle = "METy for L1 path " + (*l1Names_)[i];
703  hMETyAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
704  myHistoName = "METPhi_" + (*l1Names_)[i];
705  myHistoTitle = "METPhi for L1 path " + (*l1Names_)[i];
706  hMETphiAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2));
707  myHistoName = "SumEt_" + (*l1Names_)[i];
708  myHistoTitle = "SumEt for L1 path " + (*l1Names_)[i];
709  hSumEtAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
710  myHistoName = "METSignificance_" + (*l1Names_)[i];
711  myHistoTitle = "METSignificance for L1 path " + (*l1Names_)[i];
712  hMETSignificanceAfterL1.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, 0, 100));
713  }
714 
715  dbe_->setCurrentFolder(dirname_+"/RecoMET/HLT");
716  for(unsigned int i=0; i<hltbits_->size(); i++){
717  myHistoName = "MET_" + (*hlNames_)[i];
718  myHistoTitle = "MET for HLT path " + (*hlNames_)[i];
719  hMETAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
720  myHistoName = "METx_" + (*hlNames_)[i];
721  myHistoTitle = "METx for HLT path " + (*hlNames_)[i];
722  hMETxAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
723  myHistoName = "METy_" + (*hlNames_)[i];
724  myHistoTitle = "METy for HLT path " + (*hlNames_)[i];
725  hMETyAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
726  myHistoName = "METPhi_" + (*hlNames_)[i];
727  myHistoTitle = "METPhi for HLT path " + (*hlNames_)[i];
728  hMETphiAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, -3.2, 3.2 ));
729  myHistoName = "SumEt_" + (*hlNames_)[i];
730  myHistoTitle = "SumEt for HLT path " + (*hlNames_)[i];
731  hSumEtAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 35, 0, 1050));
732  myHistoName = "METSignificance_" + (*hlNames_)[i];
733  myHistoTitle = "METSignificance for HLT path " + (*hlNames_)[i];
734  hMETSignificanceAfterHLT.push_back(dbe_->book1D(myHistoName.c_str(), myHistoTitle.c_str() , 10*binFactor, 0, 100));
735  }
736  dbe_->setCurrentFolder(dirname_);
737 
738 
739 
740 
741 }
std::vector< MonitorElement * > hDiPhotonInvMassAfterHLT
std::vector< MonitorElement * > hElec1EtaAfterHLT
MonitorElement * hJet2Eta
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hMETyAfterL1
std::vector< MonitorElement * > hDiElecInvMassAfterL1
std::vector< MonitorElement * > hJet2PhiAfterHLT
std::vector< MonitorElement * > hElec2PtAfterHLT
MonitorElement * hJet2Pt
std::vector< MonitorElement * > hMuon2EtaAfterHLT
std::vector< MonitorElement * > hMETSignificanceAfterHLT
MonitorElement * hJet1Eta
std::vector< MonitorElement * > hMETAfterHLT
std::vector< MonitorElement * > hPhoton2PtAfterL1
std::vector< MonitorElement * > hJetMultAfterL1
std::vector< MonitorElement * > hDiMuonInvMassAfterHLT
MonitorElement * hPhotonMult
std::vector< MonitorElement * > hElec1PhiAfterHLT
std::vector< MonitorElement * > hDiJetInvMassAfterL1
std::vector< MonitorElement * > hJet1EtaAfterHLT
std::vector< int > * l1bits_
Definition: PlotMakerReco.h:75
std::vector< MonitorElement * > hElec1PhiAfterL1
std::vector< MonitorElement * > hElec2PtAfterL1
std::vector< MonitorElement * > hElec2EtaAfterHLT
std::vector< MonitorElement * > hSumEtAfterL1
MonitorElement * hElec1Eta
MonitorElement * hJet1Pt
MonitorElement * hElec2Phi
MonitorElement * hPhoton2Eta
std::vector< MonitorElement * > hMuon2PtAfterHLT
std::vector< MonitorElement * > hMuonMultAfterL1
MonitorElement * hPhoton1Eta
std::vector< MonitorElement * > hJetMultAfterHLT
std::vector< int > * hltbits_
Definition: PlotMakerReco.h:76
MonitorElement * hElec1Phi
std::vector< MonitorElement * > hElec1PtAfterL1
std::vector< MonitorElement * > hMETyAfterHLT
std::vector< MonitorElement * > hPhoton2PhiAfterL1
std::vector< MonitorElement * > hJet2PhiAfterL1
MonitorElement * hMETphi
std::vector< MonitorElement * > hJet2PtAfterHLT
MonitorElement * hMuonMult
void setBits(std::vector< int > *l1bits, std::vector< int > *hltbits)
Definition: PlotMakerReco.h:73
std::string dirname_
Definition: PlotMakerReco.h:71
std::vector< MonitorElement * > hDiPhotonInvMassAfterL1
std::vector< MonitorElement * > hSumEtAfterHLT
std::string myHistoName
MonitorElement * hPhoton2Pt
std::vector< MonitorElement * > hJet1PhiAfterL1
MonitorElement * hElec1Pt
std::vector< MonitorElement * > hElecMultAfterHLT
MonitorElement * hPhoton1Phi
std::vector< MonitorElement * > hMETSignificanceAfterL1
MonitorElement * hMETy
std::vector< MonitorElement * > hElec1PtAfterHLT
std::vector< MonitorElement * > hMETxAfterL1
std::vector< MonitorElement * > hJet1PhiAfterHLT
std::vector< MonitorElement * > hMETAfterL1
std::vector< MonitorElement * > hPhotonMultAfterL1
MonitorElement * hPhoton2Phi
std::vector< MonitorElement * > hPhoton2PhiAfterHLT
std::vector< MonitorElement * > hPhoton1EtaAfterHLT
std::vector< MonitorElement * > hPhoton1PhiAfterHLT
MonitorElement * hJet1Phi
std::vector< MonitorElement * > hJet1EtaAfterL1
std::vector< MonitorElement * > hElec1EtaAfterL1
std::vector< MonitorElement * > hDiElecInvMassAfterHLT
std::vector< MonitorElement * > hMuon1PtAfterHLT
std::vector< MonitorElement * > hJet1PtAfterHLT
MonitorElement * hElecMult
std::vector< MonitorElement * > hMETxAfterHLT
std::vector< MonitorElement * > hPhoton1PhiAfterL1
std::vector< MonitorElement * > hMuon2PhiAfterHLT
std::vector< MonitorElement * > hElec2EtaAfterL1
std::vector< MonitorElement * > hPhoton1PtAfterL1
std::vector< MonitorElement * > hDiMuonInvMassAfterL1
DQMStore * dbe_
std::vector< MonitorElement * > hMuon2PhiAfterL1
MonitorElement * hSumEt
MonitorElement * hDiPhotonInvMass
MonitorElement * hPhoton1Pt
std::vector< MonitorElement * > hJet2EtaAfterL1
std::vector< MonitorElement * > hMuon1EtaAfterHLT
std::vector< MonitorElement * > hPhoton2PtAfterHLT
MonitorElement * hMuon2Eta
std::vector< MonitorElement * > hMuon2PtAfterL1
std::vector< MonitorElement * > hMuon1PhiAfterHLT
std::vector< MonitorElement * > hMETphiAfterL1
std::vector< MonitorElement * > hJet1PtAfterL1
std::vector< MonitorElement * > hPhoton1PtAfterHLT
std::vector< MonitorElement * > hPhoton2EtaAfterHLT
MonitorElement * hDiJetInvMass
MonitorElement * hElec2Pt
MonitorElement * hJet2Phi
std::vector< MonitorElement * > hElec2PhiAfterHLT
std::vector< MonitorElement * > hElecMultAfterL1
MonitorElement * hDiElecInvMass
std::vector< MonitorElement * > hMuon2EtaAfterL1
MonitorElement * hMuon2Phi
MonitorElement * hJetMult
std::vector< MonitorElement * > hMuon1EtaAfterL1
std::vector< MonitorElement * > hMETphiAfterHLT
MonitorElement * hMET
MonitorElement * hMuon1Eta
std::vector< MonitorElement * > hMuon1PtAfterL1
std::vector< MonitorElement * > hDiJetInvMassAfterHLT
std::vector< MonitorElement * > hJet2PtAfterL1
MonitorElement * hDiMuonInvMass
MonitorElement * hElec2Eta
MonitorElement * hMuon1Phi
std::string myHistoTitle
std::vector< MonitorElement * > hMuonMultAfterHLT
MonitorElement * hMETSignificance
MonitorElement * hMuon2Pt
std::vector< MonitorElement * > hPhoton2EtaAfterL1
std::vector< MonitorElement * > hElec2PhiAfterL1
MonitorElement * hMuon1Pt
std::vector< MonitorElement * > hMuon1PhiAfterL1
std::vector< MonitorElement * > hPhoton1EtaAfterL1
MonitorElement * hMETx
std::vector< MonitorElement * > hPhotonMultAfterHLT
std::vector< MonitorElement * > hJet2EtaAfterHLT
void PlotMakerReco::fillPlots ( const edm::Event iEvent)

Definition at line 54 of file PlotMakerReco.cc.

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

Referenced by TriggerValidator::analyze().

55 {
56  this->handleObjects(iEvent);
57 
58 
59 
60  //**********************
61  // Fill the Reco Object Histos
62  //**********************
63  //**********************
64  // Fill the Jet Histos
65  //**********************
66 
67  int nJets = 0;
68  std::vector<double> diJetInvMass;
69  for(unsigned int i=0; i<theCaloJetCollection.size(); i++) {
71  nJets++;
72  for(unsigned int j=i+1; j<theCaloJetCollection.size(); j++) {
74  diJetInvMass.push_back(invariantMass(&theCaloJetCollection[i],&theCaloJetCollection[j]));
75  }
76  }
77  }
78  }
79 
80  hJetMult->Fill(nJets);
81  for(unsigned int j=0; j<diJetInvMass.size(); j++) {hDiJetInvMass->Fill(diJetInvMass[j]);}
82  if(theCaloJetCollection.size()>0) {
86  }
87  if(theCaloJetCollection.size()>1) {
91  }
92 
93  for(unsigned int i=0; i<l1bits_->size(); i++) {
94  if(l1bits_->at(i)) {
95  hJetMultAfterL1[i]->Fill(nJets);
96  for(unsigned int j=0; j<diJetInvMass.size(); j++) {hDiJetInvMassAfterL1[i]->Fill(diJetInvMass[j]);}
97  if(theCaloJetCollection.size()>0) {
101  }
102  if(theCaloJetCollection.size()>1) {
106  }
107  }
108  }
109  for(unsigned int i=0; i<hltbits_->size(); i++) {
110  if(hltbits_->at(i)) {
111  hJetMultAfterHLT[i]->Fill(nJets);
112  for(unsigned int j=0; j<diJetInvMass.size(); j++) {hDiJetInvMassAfterHLT[i]->Fill(diJetInvMass[j]);}
113  if(theCaloJetCollection.size()>0) {
117  }
118  if(theCaloJetCollection.size()>1) {
122  }
123  }
124  }
125 
126 
127  //**********************
128  // Fill the Electron Histos
129  //**********************
130 
131  int nElectrons = 0;
132  std::vector<double> diElecInvMass;
133  for(unsigned int i=0; i<theElectronCollection.size(); i++) {
135  nElectrons++;
136  for(unsigned int j=i+1; j<theElectronCollection.size(); j++) {
139  diElecInvMass.push_back(invariantMass(&theElectronCollection[i],&theElectronCollection[j]));
140  }
141  }
142  }
143  }
144 
145  hElecMult->Fill(nElectrons);
146  for(unsigned int j=0; j<diElecInvMass.size(); j++) {hDiElecInvMass->Fill(diElecInvMass[j]);}
147  if(theElectronCollection.size()>0) {
151  }
152  if(theElectronCollection.size()>1) {
156  }
157 
158  for(unsigned int i=0; i<l1bits_->size(); i++) {
159  if(l1bits_->at(i)) {
160  hElecMultAfterL1[i]->Fill(nElectrons);
161  for(unsigned int j=0; j<diElecInvMass.size(); j++) {hDiElecInvMassAfterL1[i]->Fill(diElecInvMass[j]);}
162  if(theElectronCollection.size()>0) {
166  }
167  if(theElectronCollection.size()>1) {
171  }
172  }
173  }
174  for(unsigned int i=0; i<hltbits_->size(); i++) {
175  if(hltbits_->at(i)) {
176  hElecMultAfterHLT[i]->Fill(nElectrons);
177  for(unsigned int j=0; j<diElecInvMass.size(); j++) {hDiElecInvMassAfterHLT[i]->Fill(diElecInvMass[j]);}
178  if(theElectronCollection.size()>0) {
182  }
183  if(theElectronCollection.size()>1) {
187  }
188  }
189  }
190 
191 
192  //**********************
193  // Fill the Muon Histos
194  //**********************
195 
196  int nMuons = 0;
197  std::vector<double> diMuonInvMass;
198  for(unsigned int i=0; i<theMuonCollection.size(); i++) {
199  if(theMuonCollection[i].pt() > def_muonPtMin ) {
200  nMuons++;
201  for(unsigned int j=i+1; j<theMuonCollection.size(); j++) {
202  if(theMuonCollection[j].pt() > def_muonPtMin ) {
203  if(theMuonCollection[i].charge()*theMuonCollection[j].charge() < 0)
204  diMuonInvMass.push_back(invariantMass(&theMuonCollection[i],&theMuonCollection[j]));
205  }
206  }
207  }
208  }
209 
210 
211  hMuonMult->Fill(nMuons);
212  for(unsigned int j=0; j<diMuonInvMass.size(); j++) {hDiMuonInvMass->Fill(diMuonInvMass[j]);}
213  if(theMuonCollection.size()>0) {
217  }
218  if(theMuonCollection.size()>1) {
222  }
223 
224  for(unsigned int i=0; i<l1bits_->size(); i++) {
225  if(l1bits_->at(i)) {
226  hMuonMultAfterL1[i]->Fill(nMuons);
227  for(unsigned int j=0; j<diMuonInvMass.size(); j++) {hDiMuonInvMassAfterL1[i]->Fill(diMuonInvMass[j]);}
228  if(theMuonCollection.size()>0) {
229  hMuon1PtAfterL1[i]->Fill(theMuonCollection[0].pt());
232  }
233  if(theMuonCollection.size()>1) {
234  hMuon2PtAfterL1[i]->Fill(theMuonCollection[1].pt());
237  }
238  }
239  }
240  for(unsigned int i=0; i<hltbits_->size(); i++) {
241  if(hltbits_->at(i)) {
242  hMuonMultAfterHLT[i]->Fill(nMuons);
243  for(unsigned int j=0; j<diMuonInvMass.size(); j++) {hDiMuonInvMassAfterHLT[i]->Fill(diMuonInvMass[j]);}
244  if(theMuonCollection.size()>0) {
245  hMuon1PtAfterHLT[i]->Fill(theMuonCollection[0].pt());
248  }
249  if(theMuonCollection.size()>1) {
250  hMuon2PtAfterHLT[i]->Fill(theMuonCollection[1].pt());
253  }
254  }
255  }
256 
257  //**********************
258  // Fill the Photon Histos
259  //**********************
260 
261  int nPhotons = 0;
262  std::vector<double> diPhotonInvMass;
263  for(unsigned int i=0; i<thePhotonCollection.size(); i++) {
265  nPhotons++;
266  for(unsigned int j=i+1; j<thePhotonCollection.size(); j++) {
268  diPhotonInvMass.push_back(invariantMass(&thePhotonCollection[i],&thePhotonCollection[j]));
269  }
270  }
271  }
272  }
273 
274  hPhotonMult->Fill(nPhotons);
275  for(unsigned int j=0; j<diPhotonInvMass.size(); j++) {hDiPhotonInvMass->Fill(diPhotonInvMass[j]);}
276  if(thePhotonCollection.size()>0) {
280  }
281  if(thePhotonCollection.size()>1) {
285  }
286  for(unsigned int i=0; i<l1bits_->size(); i++) {
287  if(l1bits_->at(i)) {
288  hPhotonMultAfterL1[i]->Fill(nPhotons);
289  for(unsigned int j=0; j<diPhotonInvMass.size(); j++) {hDiPhotonInvMassAfterL1[i]->Fill(diPhotonInvMass[j]);}
290  if(thePhotonCollection.size()>0) {
291  hPhoton1PtAfterL1[i]->Fill(thePhotonCollection[0].et());
294  }
295  if(thePhotonCollection.size()>1) {
296  hPhoton2PtAfterL1[i]->Fill(thePhotonCollection[1].et());
299  }
300  }
301  }
302  for(unsigned int i=0; i<hltbits_->size(); i++) {
303  if(hltbits_->at(i)) {
304  hPhotonMultAfterHLT[i]->Fill(nPhotons);
305  for(unsigned int j=0; j<diPhotonInvMass.size(); j++) {hDiPhotonInvMassAfterHLT[i]->Fill(diPhotonInvMass[j]);}
306  if(thePhotonCollection.size()>0) {
307  hPhoton1PtAfterHLT[i]->Fill(thePhotonCollection[0].et());
310  }
311  if(thePhotonCollection.size()>1) {
312  hPhoton2PtAfterHLT[i]->Fill(thePhotonCollection[1].et());
315  }
316  }
317  }
318 
319 
320  //**********************
321  // Fill the MET Histos
322  //**********************
323 
324  hMET->Fill((theCaloMETCollection.front()).pt());
325  hMETx->Fill((theCaloMETCollection.front()).px());
326  hMETy->Fill((theCaloMETCollection.front()).py());
327  hMETphi->Fill((theCaloMETCollection.front()).phi());
328  hSumEt->Fill((theCaloMETCollection.front()).sumEt());
329  double RecoMetSig = (theCaloMETCollection.front()).pt() / sqrt( (theCaloMETCollection.front()).sumEt() );
330  hMETSignificance->Fill(RecoMetSig);
331  for(unsigned int i=0; i<l1bits_->size(); i++) {
332  if(l1bits_->at(i)) {
333  hMETAfterL1[i]->Fill((theCaloMETCollection.front()).pt());
334  hMETxAfterL1[i]->Fill((theCaloMETCollection.front()).px());
335  hMETyAfterL1[i]->Fill((theCaloMETCollection.front()).py());
336  hMETphiAfterL1[i]->Fill((theCaloMETCollection.front()).phi());
337  hSumEtAfterL1[i]->Fill((theCaloMETCollection.front()).sumEt());
338  hMETSignificanceAfterL1[i]->Fill(RecoMetSig);
339  }
340  }
341  for(unsigned int i=0; i<hltbits_->size(); i++) {
342  if(hltbits_->at(i)) {
343  hMETAfterHLT[i]->Fill((theCaloMETCollection.front()).pt());
344  hMETxAfterHLT[i]->Fill((theCaloMETCollection.front()).px());
345  hMETyAfterHLT[i]->Fill((theCaloMETCollection.front()).py());
346  hMETphiAfterHLT[i]->Fill((theCaloMETCollection.front()).phi());
347  hSumEtAfterHLT[i]->Fill((theCaloMETCollection.front()).sumEt());
348  hMETSignificanceAfterHLT[i]->Fill(RecoMetSig);
349  }
350  }
351 
352 
353 }
std::vector< MonitorElement * > hDiPhotonInvMassAfterHLT
double invariantMass(reco::Candidate *, reco::Candidate *)
std::vector< MonitorElement * > hElec1EtaAfterHLT
MonitorElement * hJet2Eta
int i
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hMETyAfterL1
std::vector< MonitorElement * > hDiElecInvMassAfterL1
std::vector< MonitorElement * > hJet2PhiAfterHLT
reco::GsfElectronCollection theElectronCollection
Definition: PlotMakerReco.h:97
reco::CaloJetCollection theCaloJetCollection
std::vector< MonitorElement * > hElec2PtAfterHLT
MonitorElement * hJet2Pt
std::vector< MonitorElement * > hMuon2EtaAfterHLT
std::vector< MonitorElement * > hMETSignificanceAfterHLT
MonitorElement * hJet1Eta
std::vector< MonitorElement * > hMETAfterHLT
std::vector< MonitorElement * > hPhoton2PtAfterL1
std::vector< MonitorElement * > hJetMultAfterL1
std::vector< MonitorElement * > hDiMuonInvMassAfterHLT
MonitorElement * hPhotonMult
std::vector< MonitorElement * > hElec1PhiAfterHLT
std::vector< MonitorElement * > hDiJetInvMassAfterL1
std::vector< MonitorElement * > hJet1EtaAfterHLT
std::vector< int > * l1bits_
Definition: PlotMakerReco.h:75
std::vector< MonitorElement * > hElec1PhiAfterL1
std::vector< MonitorElement * > hElec2PtAfterL1
std::vector< MonitorElement * > hElec2EtaAfterHLT
std::vector< MonitorElement * > hSumEtAfterL1
MonitorElement * hElec1Eta
MonitorElement * hJet1Pt
MonitorElement * hElec2Phi
MonitorElement * hPhoton2Eta
std::vector< MonitorElement * > hMuon2PtAfterHLT
std::vector< MonitorElement * > hMuonMultAfterL1
MonitorElement * hPhoton1Eta
std::vector< MonitorElement * > hJetMultAfterHLT
std::vector< int > * hltbits_
Definition: PlotMakerReco.h:76
MonitorElement * hElec1Phi
std::vector< MonitorElement * > hElec1PtAfterL1
std::vector< MonitorElement * > hMETyAfterHLT
std::vector< MonitorElement * > hPhoton2PhiAfterL1
std::vector< MonitorElement * > hJet2PhiAfterL1
MonitorElement * hMETphi
std::vector< MonitorElement * > hJet2PtAfterHLT
MonitorElement * hMuonMult
void Fill(long long x)
std::vector< MonitorElement * > hDiPhotonInvMassAfterL1
std::vector< MonitorElement * > hSumEtAfterHLT
MonitorElement * hPhoton2Pt
std::vector< MonitorElement * > hJet1PhiAfterL1
MonitorElement * hElec1Pt
std::vector< MonitorElement * > hElecMultAfterHLT
void handleObjects(const edm::Event &)
MonitorElement * hPhoton1Phi
std::vector< MonitorElement * > hMETSignificanceAfterL1
MonitorElement * hMETy
std::vector< MonitorElement * > hElec1PtAfterHLT
std::vector< MonitorElement * > hMETxAfterL1
std::vector< MonitorElement * > hJet1PhiAfterHLT
std::vector< MonitorElement * > hMETAfterL1
double def_electronPtMin
Definition: PlotMakerReco.h:90
T sqrt(T t)
Definition: SSEVec.h:48
std::vector< MonitorElement * > hPhotonMultAfterL1
MonitorElement * hPhoton2Phi
std::vector< MonitorElement * > hPhoton2PhiAfterHLT
std::vector< MonitorElement * > hPhoton1EtaAfterHLT
reco::PhotonCollection thePhotonCollection
Definition: PlotMakerReco.h:99
std::vector< MonitorElement * > hPhoton1PhiAfterHLT
MonitorElement * hJet1Phi
int j
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > hJet1EtaAfterL1
std::vector< MonitorElement * > hElec1EtaAfterL1
std::vector< MonitorElement * > hDiElecInvMassAfterHLT
std::vector< MonitorElement * > hMuon1PtAfterHLT
std::vector< MonitorElement * > hJet1PtAfterHLT
MonitorElement * hElecMult
std::vector< MonitorElement * > hMETxAfterHLT
std::vector< MonitorElement * > hPhoton1PhiAfterL1
std::vector< MonitorElement * > hMuon2PhiAfterHLT
std::vector< MonitorElement * > hElec2EtaAfterL1
std::vector< MonitorElement * > hPhoton1PtAfterL1
std::vector< MonitorElement * > hDiMuonInvMassAfterL1
std::vector< MonitorElement * > hMuon2PhiAfterL1
MonitorElement * hSumEt
double def_jetPtMin
Definition: PlotMakerReco.h:92
MonitorElement * hDiPhotonInvMass
MonitorElement * hPhoton1Pt
std::vector< MonitorElement * > hJet2EtaAfterL1
std::vector< MonitorElement * > hMuon1EtaAfterHLT
std::vector< MonitorElement * > hPhoton2PtAfterHLT
MonitorElement * hMuon2Eta
std::vector< MonitorElement * > hMuon2PtAfterL1
std::vector< MonitorElement * > hMuon1PhiAfterHLT
std::vector< MonitorElement * > hMETphiAfterL1
std::vector< MonitorElement * > hJet1PtAfterL1
std::vector< MonitorElement * > hPhoton1PtAfterHLT
std::vector< MonitorElement * > hPhoton2EtaAfterHLT
MonitorElement * hDiJetInvMass
MonitorElement * hElec2Pt
MonitorElement * hJet2Phi
std::vector< MonitorElement * > hElec2PhiAfterHLT
std::vector< MonitorElement * > hElecMultAfterL1
MonitorElement * hDiElecInvMass
std::vector< MonitorElement * > hMuon2EtaAfterL1
reco::MuonCollection theMuonCollection
Definition: PlotMakerReco.h:98
MonitorElement * hMuon2Phi
MonitorElement * hJetMult
std::vector< MonitorElement * > hMuon1EtaAfterL1
std::vector< MonitorElement * > hMETphiAfterHLT
MonitorElement * hMET
MonitorElement * hMuon1Eta
std::vector< MonitorElement * > hMuon1PtAfterL1
reco::CaloMETCollection theCaloMETCollection
std::vector< MonitorElement * > hDiJetInvMassAfterHLT
std::vector< MonitorElement * > hJet2PtAfterL1
MonitorElement * hDiMuonInvMass
MonitorElement * hElec2Eta
MonitorElement * hMuon1Phi
std::vector< MonitorElement * > hMuonMultAfterHLT
MonitorElement * hMETSignificance
MonitorElement * hMuon2Pt
std::vector< MonitorElement * > hPhoton2EtaAfterL1
std::vector< MonitorElement * > hElec2PhiAfterL1
MonitorElement * hMuon1Pt
std::vector< MonitorElement * > hMuon1PhiAfterL1
double def_muonPtMin
Definition: PlotMakerReco.h:91
double def_photonPtMin
Definition: PlotMakerReco.h:93
std::vector< MonitorElement * > hPhoton1EtaAfterL1
MonitorElement * hMETx
std::vector< MonitorElement * > hPhotonMultAfterHLT
std::vector< MonitorElement * > hJet2EtaAfterHLT
void PlotMakerReco::handleObjects ( const edm::Event iEvent)

Definition at line 748 of file PlotMakerReco.cc.

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

749 {
750 
751 
752  //***********************************************
753  // Get the RECO Objects
754  //***********************************************
755 
756 
757  //Get the electrons
758  Handle<GsfElectronCollection> theElectronCollectionHandle;
759  iEvent.getByToken(m_electronSrc, theElectronCollectionHandle);
760  theElectronCollection = *theElectronCollectionHandle;
762 
763  //Get the Muons
764  Handle<MuonCollection> theMuonCollectionHandle;
765  iEvent.getByToken(m_muonSrc, theMuonCollectionHandle);
766  theMuonCollection = *theMuonCollectionHandle;
768 
769  //Get the Photons
770  Handle<PhotonCollection> thePhotonCollectionHandle;
771  iEvent.getByToken(m_photon_token_, thePhotonCollectionHandle);
772  thePhotonCollection = *thePhotonCollectionHandle;
774 
775  //Get the CaloJets
776  Handle<CaloJetCollection> theCaloJetCollectionHandle;
777  iEvent.getByToken(m_jetsSrc, theCaloJetCollectionHandle);
778  theCaloJetCollection = *theCaloJetCollectionHandle;
780 
781  //Get the CaloMET
782  Handle<CaloMETCollection> theCaloMETCollectionHandle;
783  iEvent.getByToken(m_calometSrc, theCaloMETCollectionHandle);
784  theCaloMETCollection = *theCaloMETCollectionHandle;
785 }
edm::EDGetTokenT< reco::CaloJetCollection > m_jetsSrc
Definition: PlotMakerReco.h:83
reco::GsfElectronCollection theElectronCollection
Definition: PlotMakerReco.h:97
reco::CaloJetCollection theCaloJetCollection
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:464
reco::PhotonCollection thePhotonCollection
Definition: PlotMakerReco.h:99
edm::EDGetTokenT< reco::MuonCollection > m_muonSrc
Definition: PlotMakerReco.h:82
reco::MuonCollection theMuonCollection
Definition: PlotMakerReco.h:98
reco::CaloMETCollection theCaloMETCollection
edm::EDGetTokenT< reco::GsfElectronCollection > m_electronSrc
Definition: PlotMakerReco.h:81
edm::EDGetTokenT< reco::CaloMETCollection > m_calometSrc
Definition: PlotMakerReco.h:87
edm::EDGetTokenT< reco::PhotonCollection > m_photon_token_
Definition: PlotMakerReco.h:86
double PlotMakerReco::invariantMass ( reco::Candidate p1,
reco::Candidate p2 
)
private

Definition at line 787 of file PlotMakerReco.cc.

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

787  {
788  double mass = sqrt( (p1->energy() + p2->energy())*(p1->energy() + p2->energy()) -
789  (p1->px() + p2->px())*(p1->px() + p2->px()) -
790  (p1->py() + p2->py())*(p1->py() + p2->py()) -
791  (p1->pz() + p2->pz())*(p1->pz() + p2->pz()) );
792 
793 
794 // cout << "p1->energy() = " << p1->energy() << " p2->energy() = " << p2->energy() << endl;
795 // cout << "p1->px() = " << p1->px() << " p2->px() = " << p2->px() << endl;
796 // cout << "p1->py() = " << p1->py() << " p2->py() = " << p2->py() << endl;
797 // cout << "p1->pz() = " << p1->pz() << " p2->pz() = " << p2->pz() << endl;
798 // cout << "invmass = " << mass << endl;
799 
800 
801  return mass;
802 }
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 PlotMakerReco::setBits ( std::vector< int > *  l1bits,
std::vector< int > *  hltbits 
)
inlineprivate

Definition at line 73 of file PlotMakerReco.h.

References hltbits_, and l1bits_.

73 {l1bits_=l1bits; hltbits_=hltbits;}
std::vector< int > * l1bits_
Definition: PlotMakerReco.h:75
std::vector< int > * hltbits_
Definition: PlotMakerReco.h:76

Member Data Documentation

int PlotMakerReco::binFactor
private

Definition at line 95 of file PlotMakerReco.h.

double PlotMakerReco::def_electronPtMin
private

Definition at line 90 of file PlotMakerReco.h.

double PlotMakerReco::def_jetPtMin
private

Definition at line 92 of file PlotMakerReco.h.

double PlotMakerReco::def_muonPtMin
private

Definition at line 91 of file PlotMakerReco.h.

double PlotMakerReco::def_photonPtMin
private

Definition at line 93 of file PlotMakerReco.h.

std::string PlotMakerReco::dirname_
private

Definition at line 71 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hDiElecInvMass
private

Definition at line 158 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiElecInvMassAfterHLT
private

Definition at line 160 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiElecInvMassAfterL1
private

Definition at line 159 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hDiJetInvMass
private

Definition at line 128 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiJetInvMassAfterHLT
private

Definition at line 130 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiJetInvMassAfterL1
private

Definition at line 129 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hDiMuonInvMass
private

Definition at line 186 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiMuonInvMassAfterHLT
private

Definition at line 188 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiMuonInvMassAfterL1
private

Definition at line 187 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hDiPhotonInvMass
private

Definition at line 214 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiPhotonInvMassAfterHLT
private

Definition at line 216 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hDiPhotonInvMassAfterL1
private

Definition at line 215 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElec1Eta
private

Definition at line 145 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec1EtaAfterHLT
private

Definition at line 147 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec1EtaAfterL1
private

Definition at line 146 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElec1Phi
private

Definition at line 151 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec1PhiAfterHLT
private

Definition at line 153 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec1PhiAfterL1
private

Definition at line 152 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElec1Pt
private

Definition at line 139 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec1PtAfterHLT
private

Definition at line 141 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec1PtAfterL1
private

Definition at line 140 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElec2Eta
private

Definition at line 148 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec2EtaAfterHLT
private

Definition at line 150 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec2EtaAfterL1
private

Definition at line 149 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElec2Phi
private

Definition at line 154 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec2PhiAfterHLT
private

Definition at line 156 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec2PhiAfterL1
private

Definition at line 155 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElec2Pt
private

Definition at line 142 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec2PtAfterHLT
private

Definition at line 144 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElec2PtAfterL1
private

Definition at line 143 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hElecMult
private

Definition at line 136 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElecMultAfterHLT
private

Definition at line 138 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hElecMultAfterL1
private

Definition at line 137 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJet1Eta
private

Definition at line 115 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet1EtaAfterHLT
private

Definition at line 117 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet1EtaAfterL1
private

Definition at line 116 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJet1Phi
private

Definition at line 121 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet1PhiAfterHLT
private

Definition at line 123 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet1PhiAfterL1
private

Definition at line 122 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJet1Pt
private

Definition at line 109 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet1PtAfterHLT
private

Definition at line 111 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet1PtAfterL1
private

Definition at line 110 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJet2Eta
private

Definition at line 118 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet2EtaAfterHLT
private

Definition at line 120 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet2EtaAfterL1
private

Definition at line 119 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJet2Phi
private

Definition at line 124 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet2PhiAfterHLT
private

Definition at line 126 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet2PhiAfterL1
private

Definition at line 125 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJet2Pt
private

Definition at line 112 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet2PtAfterHLT
private

Definition at line 114 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJet2PtAfterL1
private

Definition at line 113 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hJetMult
private

Definition at line 106 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJetMultAfterHLT
private

Definition at line 108 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hJetMultAfterL1
private

Definition at line 107 of file PlotMakerReco.h.

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

Definition at line 76 of file PlotMakerReco.h.

Referenced by setBits().

MonitorElement* PlotMakerReco::hMET
private

Definition at line 220 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETAfterHLT
private

Definition at line 228 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETAfterL1
private

Definition at line 227 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMETphi
private

Definition at line 221 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETphiAfterHLT
private

Definition at line 230 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETphiAfterL1
private

Definition at line 229 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMETSignificance
private

Definition at line 225 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETSignificanceAfterHLT
private

Definition at line 238 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETSignificanceAfterL1
private

Definition at line 237 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMETx
private

Definition at line 222 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETxAfterHLT
private

Definition at line 232 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETxAfterL1
private

Definition at line 231 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMETy
private

Definition at line 223 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETyAfterHLT
private

Definition at line 234 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMETyAfterL1
private

Definition at line 233 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuon1Eta
private

Definition at line 173 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon1EtaAfterHLT
private

Definition at line 175 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon1EtaAfterL1
private

Definition at line 174 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuon1Phi
private

Definition at line 179 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon1PhiAfterHLT
private

Definition at line 181 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon1PhiAfterL1
private

Definition at line 180 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuon1Pt
private

Definition at line 167 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon1PtAfterHLT
private

Definition at line 169 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon1PtAfterL1
private

Definition at line 168 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuon2Eta
private

Definition at line 176 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon2EtaAfterHLT
private

Definition at line 178 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon2EtaAfterL1
private

Definition at line 177 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuon2Phi
private

Definition at line 182 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon2PhiAfterHLT
private

Definition at line 184 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon2PhiAfterL1
private

Definition at line 183 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuon2Pt
private

Definition at line 170 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon2PtAfterHLT
private

Definition at line 172 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuon2PtAfterL1
private

Definition at line 171 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hMuonMult
private

Definition at line 164 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuonMultAfterHLT
private

Definition at line 166 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hMuonMultAfterL1
private

Definition at line 165 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhoton1Eta
private

Definition at line 201 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton1EtaAfterHLT
private

Definition at line 203 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton1EtaAfterL1
private

Definition at line 202 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhoton1Phi
private

Definition at line 207 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton1PhiAfterHLT
private

Definition at line 209 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton1PhiAfterL1
private

Definition at line 208 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhoton1Pt
private

Definition at line 195 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton1PtAfterHLT
private

Definition at line 197 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton1PtAfterL1
private

Definition at line 196 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhoton2Eta
private

Definition at line 204 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton2EtaAfterHLT
private

Definition at line 206 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton2EtaAfterL1
private

Definition at line 205 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhoton2Phi
private

Definition at line 210 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton2PhiAfterHLT
private

Definition at line 212 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton2PhiAfterL1
private

Definition at line 211 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhoton2Pt
private

Definition at line 198 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton2PtAfterHLT
private

Definition at line 200 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhoton2PtAfterL1
private

Definition at line 199 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hPhotonMult
private

Definition at line 192 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhotonMultAfterHLT
private

Definition at line 194 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hPhotonMultAfterL1
private

Definition at line 193 of file PlotMakerReco.h.

MonitorElement* PlotMakerReco::hSumEt
private

Definition at line 224 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hSumEtAfterHLT
private

Definition at line 236 of file PlotMakerReco.h.

std::vector<MonitorElement*> PlotMakerReco::hSumEtAfterL1
private

Definition at line 235 of file PlotMakerReco.h.

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

Definition at line 75 of file PlotMakerReco.h.

Referenced by setBits().

edm::EDGetTokenT<reco::CaloMETCollection> PlotMakerReco::m_calometSrc
private

Definition at line 87 of file PlotMakerReco.h.

edm::EDGetTokenT<reco::GsfElectronCollection> PlotMakerReco::m_electronSrc
private

Definition at line 81 of file PlotMakerReco.h.

edm::EDGetTokenT<reco::CaloJetCollection> PlotMakerReco::m_jetsSrc
private

Definition at line 83 of file PlotMakerReco.h.

edm::EDGetTokenT<reco::MuonCollection> PlotMakerReco::m_muonSrc
private

Definition at line 82 of file PlotMakerReco.h.

edm::EDGetTokenT<reco::PhotonCollection> PlotMakerReco::m_photon_token_
private

Definition at line 86 of file PlotMakerReco.h.

std::string PlotMakerReco::m_photonProducerSrc
private

Definition at line 84 of file PlotMakerReco.h.

std::string PlotMakerReco::m_photonSrc
private

Definition at line 85 of file PlotMakerReco.h.

std::string PlotMakerReco::myHistoName
private

Definition at line 244 of file PlotMakerReco.h.

std::string PlotMakerReco::myHistoTitle
private

Definition at line 245 of file PlotMakerReco.h.

reco::CaloJetCollection PlotMakerReco::theCaloJetCollection
private

Definition at line 100 of file PlotMakerReco.h.

reco::CaloMETCollection PlotMakerReco::theCaloMETCollection
private

Definition at line 101 of file PlotMakerReco.h.

reco::GsfElectronCollection PlotMakerReco::theElectronCollection
private

Definition at line 97 of file PlotMakerReco.h.

reco::MuonCollection PlotMakerReco::theMuonCollection
private

Definition at line 98 of file PlotMakerReco.h.

reco::PhotonCollection PlotMakerReco::thePhotonCollection
private

Definition at line 99 of file PlotMakerReco.h.