#include <ZeePlots.h>
Public Member Functions | |
void | bookEleClassesPlots () |
void | bookEleHistograms () |
void | bookEleMCHistograms () |
void | bookHLTHistograms () |
void | bookZHistograms () |
void | bookZMCHistograms () |
void | fillEleClassesPlots (calib::CalibElectron *) |
void | fillEleInfo (const reco::GsfElectronCollection *) |
void | fillEleMCInfo (const HepMC::GenEvent *) |
void | fillHLTInfo (edm::Handle< edm::TriggerResults >) |
void | fillZInfo (std::pair< calib::CalibElectron *, calib::CalibElectron *> myZeeCandidate) |
void | fillZMCInfo (const HepMC::GenEvent *) |
void | openFile () |
void | writeEleClassesPlots () |
void | writeEleHistograms () |
void | writeHLTHistograms () |
void | writeMCEleHistograms () |
void | writeMCZHistograms () |
void | writeZHistograms () |
ZeePlots (const char *) | |
~ZeePlots () | |
Private Attributes | |
TFile * | file_ |
const char * | fileName_ |
TH1F * | h1_FiredTriggers_ |
TH1F * | h1_gen_ZEta_ |
TH1F * | h1_gen_ZMass_ |
TH1F * | h1_gen_ZPhi_ |
TH1F * | h1_gen_ZPt_ |
TH1F * | h1_gen_ZRapidity_ |
TH1F * | h1_HLT1Electron_FiredEvents_ |
TH1F * | h1_HLT1Electron_HLT2Electron_FiredEvents_ |
TH1F * | h1_HLT1Electron_HLT2Electron_HLT2ElectronRelaxed_FiredEvents_ |
TH1F * | h1_HLT1Electron_HLT2ElectronRelaxed_FiredEvents_ |
TH1F * | h1_HLT2Electron_FiredEvents_ |
TH1F * | h1_HLT2Electron_HLT2ElectronRelaxed_FiredEvents_ |
TH1F * | h1_HLT2ElectronRelaxed_FiredEvents_ |
TH1F * | h1_HLTVisitedEvents_ |
TH1F * | h1_mcEle_Energy_ |
TH1F * | h1_mcEleEta_ |
TH1F * | h1_mcElePhi_ |
TH1F * | h1_mcElePt_ |
TH1F * | h1_nEleReco_ |
TH1F * | h1_occupancyVsEtaCrack_ |
TH1F * | h1_occupancyVsEtaGold_ |
TH1F * | h1_occupancyVsEtaShower_ |
TH1F * | h1_occupancyVsEtaSilver_ |
TH1F * | h1_reco_ZEta_ |
TH1F * | h1_reco_ZPhi_ |
TH1F * | h1_reco_ZPt_ |
TH1F * | h1_reco_ZRapidity_ |
TH1F * | h1_reco_ZTheta_ |
TH1F * | h1_recoEleEnergy_ |
TH1F * | h1_recoEleEta_ |
TH1F * | h1_recoElePhi_ |
TH1F * | h1_recoElePt_ |
Definition at line 49 of file ZeePlots.h.
ZeePlots::ZeePlots | ( | const char * | fileName | ) |
Definition at line 34 of file ZeePlots.cc.
References file_, MillePedeFileConverter_cfg::fileName, and fileName_.
ZeePlots::~ZeePlots | ( | ) |
void ZeePlots::bookEleClassesPlots | ( | ) |
Definition at line 366 of file ZeePlots.cc.
References file_, h1_occupancyVsEtaCrack_, h1_occupancyVsEtaGold_, h1_occupancyVsEtaShower_, and h1_occupancyVsEtaSilver_.
void ZeePlots::bookEleHistograms | ( | ) |
Definition at line 195 of file ZeePlots.cc.
References file_, h1_nEleReco_, h1_recoEleEnergy_, h1_recoEleEta_, h1_recoElePhi_, and h1_recoElePt_.
Referenced by ZeeCalibration::bookHistograms().
void ZeePlots::bookEleMCHistograms | ( | ) |
Definition at line 156 of file ZeePlots.cc.
References file_, h1_mcEle_Energy_, h1_mcEleEta_, h1_mcElePhi_, and h1_mcElePt_.
Referenced by ZeeCalibration::bookHistograms().
void ZeePlots::bookHLTHistograms | ( | ) |
Definition at line 270 of file ZeePlots.cc.
References file_, h1_FiredTriggers_, h1_HLT1Electron_FiredEvents_, h1_HLT1Electron_HLT2Electron_FiredEvents_, h1_HLT1Electron_HLT2Electron_HLT2ElectronRelaxed_FiredEvents_, h1_HLT1Electron_HLT2ElectronRelaxed_FiredEvents_, h1_HLT2Electron_FiredEvents_, h1_HLT2Electron_HLT2ElectronRelaxed_FiredEvents_, h1_HLT2ElectronRelaxed_FiredEvents_, and h1_HLTVisitedEvents_.
Referenced by ZeeCalibration::bookHistograms().
void ZeePlots::bookZHistograms | ( | ) |
Definition at line 74 of file ZeePlots.cc.
References file_, h1_reco_ZEta_, h1_reco_ZPhi_, h1_reco_ZPt_, h1_reco_ZRapidity_, and h1_reco_ZTheta_.
Referenced by ZeeCalibration::bookHistograms().
void ZeePlots::bookZMCHistograms | ( | ) |
Definition at line 50 of file ZeePlots.cc.
References file_, h1_gen_ZEta_, h1_gen_ZMass_, h1_gen_ZPhi_, h1_gen_ZPt_, and h1_gen_ZRapidity_.
Referenced by ZeeCalibration::bookHistograms().
void ZeePlots::fillEleClassesPlots | ( | calib::CalibElectron * | myEle | ) |
Definition at line 340 of file ZeePlots.cc.
References reco::GsfElectron::classification(), gather_cfg::cout, reco::LeafCandidate::eta(), calib::CalibElectron::getRecoElectron(), h1_occupancyVsEtaCrack_, h1_occupancyVsEtaGold_, h1_occupancyVsEtaShower_, and h1_occupancyVsEtaSilver_.
void ZeePlots::fillEleInfo | ( | const reco::GsfElectronCollection * | electronCollection | ) |
Definition at line 220 of file ZeePlots.cc.
References pdwgLeptonRecoSkim_cfi::electronCollection, file_, h1_nEleReco_, h1_recoEleEnergy_, h1_recoEleEta_, h1_recoElePhi_, and h1_recoElePt_.
Referenced by ZeeCalibration::duringLoop().
void ZeePlots::fillEleMCInfo | ( | const HepMC::GenEvent * | myGenEvent | ) |
Definition at line 178 of file ZeePlots.cc.
References funct::abs(), file_, h1_mcEle_Energy_, h1_mcEleEta_, h1_mcElePhi_, h1_mcElePt_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by ZeeCalibration::duringLoop().
void ZeePlots::fillHLTInfo | ( | edm::Handle< edm::TriggerResults > | hltTriggerResultHandle | ) |
Definition at line 299 of file ZeePlots.cc.
References edm::HLTGlobalStatus::accept(), file_, h1_FiredTriggers_, h1_HLT1Electron_FiredEvents_, h1_HLT1Electron_HLT2Electron_FiredEvents_, h1_HLT1Electron_HLT2Electron_HLT2ElectronRelaxed_FiredEvents_, h1_HLT1Electron_HLT2ElectronRelaxed_FiredEvents_, h1_HLT2Electron_FiredEvents_, h1_HLT2Electron_HLT2ElectronRelaxed_FiredEvents_, h1_HLT2ElectronRelaxed_FiredEvents_, h1_HLTVisitedEvents_, mps_fire::i, and edm::HLTGlobalStatus::size().
Referenced by ZeeCalibration::duringLoop().
void ZeePlots::fillZInfo | ( | std::pair< calib::CalibElectron *, calib::CalibElectron *> | myZeeCandidate | ) |
Definition at line 100 of file ZeePlots.cc.
References ZeeKinematicTools::calculateZEta(), ZeeKinematicTools::calculateZPhi(), ZeeKinematicTools::calculateZPt(), ZeeKinematicTools::calculateZRapidity(), ZeeKinematicTools::calculateZTheta(), h1_reco_ZEta_, h1_reco_ZPhi_, h1_reco_ZPt_, h1_reco_ZRapidity_, and h1_reco_ZTheta_.
Referenced by ZeeCalibration::duringLoop().
void ZeePlots::fillZMCInfo | ( | const HepMC::GenEvent * | myGenEvent | ) |
Definition at line 132 of file ZeePlots.cc.
References file_, h1_gen_ZEta_, h1_gen_ZMass_, h1_gen_ZPhi_, h1_gen_ZPt_, h1_gen_ZRapidity_, dqm-mbProfile::log, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by ZeeCalibration::duringLoop().
void ZeePlots::openFile | ( | ) |
void ZeePlots::writeEleClassesPlots | ( | ) |
Definition at line 386 of file ZeePlots.cc.
References file_, h1_occupancyVsEtaCrack_, h1_occupancyVsEtaGold_, h1_occupancyVsEtaShower_, and h1_occupancyVsEtaSilver_.
void ZeePlots::writeEleHistograms | ( | ) |
Definition at line 240 of file ZeePlots.cc.
References gather_cfg::cout, file_, h1_recoEleEnergy_, h1_recoEleEta_, h1_recoElePhi_, and h1_recoElePt_.
Referenced by ZeeCalibration::endOfJob().
void ZeePlots::writeHLTHistograms | ( | ) |
void ZeePlots::writeMCEleHistograms | ( | ) |
Definition at line 255 of file ZeePlots.cc.
References gather_cfg::cout, file_, h1_mcEle_Energy_, h1_mcEleEta_, h1_mcElePhi_, and h1_mcElePt_.
Referenced by ZeeCalibration::endOfJob().
void ZeePlots::writeMCZHistograms | ( | ) |
Definition at line 122 of file ZeePlots.cc.
References file_, h1_gen_ZPhi_, h1_gen_ZPt_, and h1_gen_ZRapidity_.
Referenced by ZeeCalibration::endOfJob().
void ZeePlots::writeZHistograms | ( | ) |
Definition at line 110 of file ZeePlots.cc.
References file_, h1_reco_ZEta_, h1_reco_ZPhi_, h1_reco_ZPt_, h1_reco_ZRapidity_, and h1_reco_ZTheta_.
Referenced by ZeeCalibration::endOfJob().
|
private |
Definition at line 78 of file ZeePlots.h.
Referenced by bookEleClassesPlots(), bookEleHistograms(), bookEleMCHistograms(), bookHLTHistograms(), bookZHistograms(), bookZMCHistograms(), fillEleInfo(), fillEleMCInfo(), fillHLTInfo(), fillZMCInfo(), openFile(), writeEleClassesPlots(), writeEleHistograms(), writeMCEleHistograms(), writeMCZHistograms(), writeZHistograms(), ZeePlots(), and ~ZeePlots().
|
private |
Definition at line 79 of file ZeePlots.h.
Referenced by ZeePlots().
|
private |
Definition at line 87 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 83 of file ZeePlots.h.
Referenced by bookZMCHistograms(), and fillZMCInfo().
|
private |
Definition at line 81 of file ZeePlots.h.
Referenced by bookZMCHistograms(), and fillZMCInfo().
|
private |
Definition at line 84 of file ZeePlots.h.
Referenced by bookZMCHistograms(), fillZMCInfo(), and writeMCZHistograms().
|
private |
Definition at line 85 of file ZeePlots.h.
Referenced by bookZMCHistograms(), fillZMCInfo(), and writeMCZHistograms().
|
private |
Definition at line 82 of file ZeePlots.h.
Referenced by bookZMCHistograms(), fillZMCInfo(), and writeMCZHistograms().
|
private |
Definition at line 88 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 91 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 94 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 92 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 89 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 93 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 90 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 95 of file ZeePlots.h.
Referenced by bookHLTHistograms(), and fillHLTInfo().
|
private |
Definition at line 97 of file ZeePlots.h.
Referenced by bookEleMCHistograms(), fillEleMCInfo(), and writeMCEleHistograms().
|
private |
Definition at line 99 of file ZeePlots.h.
Referenced by bookEleMCHistograms(), fillEleMCInfo(), and writeMCEleHistograms().
|
private |
Definition at line 100 of file ZeePlots.h.
Referenced by bookEleMCHistograms(), fillEleMCInfo(), and writeMCEleHistograms().
|
private |
Definition at line 98 of file ZeePlots.h.
Referenced by bookEleMCHistograms(), fillEleMCInfo(), and writeMCEleHistograms().
|
private |
Definition at line 106 of file ZeePlots.h.
Referenced by bookEleHistograms(), and fillEleInfo().
|
private |
Definition at line 116 of file ZeePlots.h.
Referenced by bookEleClassesPlots(), fillEleClassesPlots(), and writeEleClassesPlots().
|
private |
Definition at line 114 of file ZeePlots.h.
Referenced by bookEleClassesPlots(), fillEleClassesPlots(), and writeEleClassesPlots().
|
private |
Definition at line 117 of file ZeePlots.h.
Referenced by bookEleClassesPlots(), fillEleClassesPlots(), and writeEleClassesPlots().
|
private |
Definition at line 115 of file ZeePlots.h.
Referenced by bookEleClassesPlots(), fillEleClassesPlots(), and writeEleClassesPlots().
|
private |
Definition at line 108 of file ZeePlots.h.
Referenced by bookZHistograms(), fillZInfo(), and writeZHistograms().
|
private |
Definition at line 111 of file ZeePlots.h.
Referenced by bookZHistograms(), fillZInfo(), and writeZHistograms().
|
private |
Definition at line 112 of file ZeePlots.h.
Referenced by bookZHistograms(), fillZInfo(), and writeZHistograms().
|
private |
Definition at line 110 of file ZeePlots.h.
Referenced by bookZHistograms(), fillZInfo(), and writeZHistograms().
|
private |
Definition at line 109 of file ZeePlots.h.
Referenced by bookZHistograms(), fillZInfo(), and writeZHistograms().
|
private |
Definition at line 102 of file ZeePlots.h.
Referenced by bookEleHistograms(), fillEleInfo(), and writeEleHistograms().
|
private |
Definition at line 104 of file ZeePlots.h.
Referenced by bookEleHistograms(), fillEleInfo(), and writeEleHistograms().
|
private |
Definition at line 105 of file ZeePlots.h.
Referenced by bookEleHistograms(), fillEleInfo(), and writeEleHistograms().
|
private |
Definition at line 103 of file ZeePlots.h.
Referenced by bookEleHistograms(), fillEleInfo(), and writeEleHistograms().