![]() |
ATLAS Offline Software
|
#include <TrueFwdElectronsPlots.h>
Public Member Functions | |
| TrueFwdElectronsPlots (PlotBase *pParent, const std::string &sDir, const std::string &sParticleType) | |
| void | fill (const xAOD::IParticle *part, int level) |
| void | fillResponse (const xAOD::IParticle *part, const xAOD::Electron *electron) |
| void | makeEfficiencyPlot (TH1 *hDenom, TH1 *hNom, TProfile *hEff) |
| void | initialize () |
| void | finalize () |
| void | setDetailLevel (int iDetailLevel) |
| void | RegisterSubPlot (PlotBase *pPlotBase) |
| std::vector< HistData > | retrieveBookedHistograms () |
| Retrieve all booked histograms. | |
| std::vector< TreeData > | retrieveBookedTrees () |
| Retrieve all booked trees. | |
| std::vector< EfficiencyData > | retrieveBookedEfficiencies () |
| Retrieve all booked efficiency objects. | |
| TTree * | BookTree (const std::string &name, bool prependDir=true) |
| Book a TTree. | |
| const std::string & | getDirectory () |
Methods to book monitoring histograms | |
Note: methods starting with capitals should be deprecated in favour of camel-cased methods | |
| TH1D * | Book1D (const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true) |
| Book a TH1D histogram. | |
| TH1D * | Book1D (const std::string &name, TH1 *refHist, const std::string &labels, bool prependDir=true) |
| Book a TH1D histogram using refHist as reference for number of bins and axis range. | |
| TH2F * | Book2D (const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true) |
| Book a TH2F histogram. | |
| TH2F * | Book2D (const std::string &name, TH2 *refHist, const std::string &labels, bool prependDir=true) |
| Book a TH2D histogram using refHist as reference for number of bins and axis range. | |
| TH2F * | Book2D (const std::string &name, const std::string &labels, int nBinsX, Double_t *binsX, int nBinsY, Double_t startY, Double_t endY, bool prependDir=true) |
| Book a TH2F histogram with variable x axis binning. | |
| TH3F * | Book3D (const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, int nBinsZ, float startZ, float endZ, bool prependDir=true) |
| Book a TH3F histogram. | |
| TH3F * | Book3D (const std::string &name, TH3 *refHist, const std::string &labels, bool prependDir=true) |
| Book a TH3F histogram using refHist as reference for number of bins and axis range. | |
| TProfile * | BookTProfile (const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, float startY=-1, float endY=-1, bool prependDir=true, bool useRMS=false) |
| Book a TProfile histogram. | |
| TProfile * | BookTProfile (const std::string &name, const std::string &labels, int nBinsX, float *binsX, bool prependDir=true) |
| Book a TProfile histogram with variable binning in x-axis. | |
| TProfile * | BookTProfileRangeY (const std::string &name, const std::string &labels, int nBinsX, double *binsX, double startY, double endY, bool prependDir=true) |
| Book a TProfile histogram with variable binning in x-axis and limits in y-values. | |
| TProfile2D * | BookTProfile2D (const std::string &name, const std::string &labels, const int nBinsX, const double xlo, const double xhi, const int nBinsY, const double ylo, const double yhi, bool prependDir=true, bool useRMS=false) |
| Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values. | |
| TProfile2D * | BookTProfile2D (const std::string &name, const std::string &labels, const int nBinsX, double *binsX, const int nBinsY, double *binsY, bool prependDir=true, bool useRMS=false) |
| Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values. | |
| TEfficiency * | BookTEfficiency (const std::string &name, const std::string &labels, const int nBinsX, const float xlo, const float xhi, const bool prependDir=true) |
| Book a (1-D) TEfficiency histogram. | |
| TEfficiency * | BookTEfficiency (const std::string &name, const std::string &labels, const int nBinsX, const float xlo, const float xhi, const int nBinsy, const float ylo, const float yhi, const bool prependDir=true) |
| Book a (2-D) TEfficiency histogram. | |
Public Attributes | |
| std::string | m_sParticleType |
| TH1 * | h_true_fwd_electron_pt [nLevels] |
| TH1 * | h_true_fwd_electron_eta [nLevels] |
| TH1 * | h_true_fwd_electron_abseta [nLevels] |
| TH1 * | h_true_fwd_electron_phi [nLevels] |
| TProfile * | h_true_fwd_electron_eff_pt [nLevels-1] |
| TProfile * | h_true_fwd_electron_eff_eta [nLevels-1] |
| TProfile * | h_true_fwd_electron_eff_abseta [nLevels-1] |
| TProfile * | h_true_fwd_electron_eff_phi [nLevels-1] |
| TProfile * | h_fwd_e_response_vs_e |
| TProfile * | h_fwd_e_response_vs_eta |
| TProfile * | h_fwd_e_response_vs_abseta |
| TProfile * | h_fwd_e_response_vs_phi |
| TH1 * | h_fwd_dr_electron |
| TH1 * | h_fwd_dphi_electron |
| TH1 * | h_fwd_deta_electron |
Static Public Attributes | |
| static const int | nLevels = 4 |
| static const std::string | cLevelLabel [nLevels] |
Protected Attributes | |
| std::vector< PlotBase * > | m_vSubNodes |
| std::vector< HistData > | m_vBookedHistograms |
| std::vector< TreeData > | m_vBookedTrees |
| std::vector< EfficiencyData > | m_vBookedEfficiencies |
| std::string | m_sDirectory |
| int | m_iDetailLevel |
Private Member Functions | |
| virtual void | initializePlots () |
| virtual void | finalizePlots () |
Static Private Member Functions | |
| static std::string | constructPrefix (std::string dir, bool prependDir) |
Definition at line 15 of file TrueFwdElectronsPlots.h.
| ZeeValidation::TrueFwdElectronsPlots::TrueFwdElectronsPlots | ( | PlotBase * | pParent, |
| const std::string & | sDir, | ||
| const std::string & | sParticleType ) |
Definition at line 11 of file TrueFwdElectronsPlots.cxx.
|
inherited |
Book a TH1D histogram.
Definition at line 94 of file PlotBase.cxx.
|
inherited |
Book a TH1D histogram using refHist as reference for number of bins and axis range.
Definition at line 108 of file PlotBase.cxx.
|
inherited |
Book a TH2F histogram with variable x axis binning.
Definition at line 144 of file PlotBase.cxx.
|
inherited |
Book a TH2F histogram.
Definition at line 123 of file PlotBase.cxx.
|
inherited |
Book a TH2D histogram using refHist as reference for number of bins and axis range.
Definition at line 138 of file PlotBase.cxx.
|
inherited |
Book a TH3F histogram.
Definition at line 157 of file PlotBase.cxx.
|
inherited |
Book a TH3F histogram using refHist as reference for number of bins and axis range.
Definition at line 171 of file PlotBase.cxx.
|
inherited |
Book a (1-D) TEfficiency histogram.
Definition at line 257 of file PlotBase.cxx.
|
inherited |
Book a (2-D) TEfficiency histogram.
Definition at line 270 of file PlotBase.cxx.
|
inherited |
Book a TProfile histogram with variable binning in x-axis.
Definition at line 204 of file PlotBase.cxx.
|
inherited |
Book a TProfile histogram.
Definition at line 186 of file PlotBase.cxx.
|
inherited |
Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.
Definition at line 231 of file PlotBase.cxx.
|
inherited |
Book a TProfile 2D histogram with variable binning in x-axis and limits in y-values.
Definition at line 245 of file PlotBase.cxx.
|
inherited |
Book a TProfile histogram with variable binning in x-axis and limits in y-values.
Definition at line 217 of file PlotBase.cxx.
|
inherited |
Book a TTree.
Definition at line 281 of file PlotBase.cxx.
|
staticprivateinherited |
Definition at line 293 of file PlotBase.cxx.
| void ZeeValidation::TrueFwdElectronsPlots::fill | ( | const xAOD::IParticle * | part, |
| int | level ) |
Definition at line 71 of file TrueFwdElectronsPlots.cxx.
| void ZeeValidation::TrueFwdElectronsPlots::fillResponse | ( | const xAOD::IParticle * | part, |
| const xAOD::Electron * | electron ) |
Definition at line 80 of file TrueFwdElectronsPlots.cxx.
|
inherited |
Definition at line 47 of file PlotBase.cxx.
|
privatevirtual |
Reimplemented from PlotBase.
Definition at line 108 of file TrueFwdElectronsPlots.cxx.
|
inlineinherited |
Definition at line 88 of file PlotBase.h.
|
inherited |
Definition at line 39 of file PlotBase.cxx.
|
privatevirtual |
Reimplemented from PlotBase.
Definition at line 43 of file TrueFwdElectronsPlots.cxx.
| void ZeeValidation::TrueFwdElectronsPlots::makeEfficiencyPlot | ( | TH1 * | hDenom, |
| TH1 * | hNom, | ||
| TProfile * | hEff ) |
Definition at line 93 of file TrueFwdElectronsPlots.cxx.
|
inlineinherited |
Definition at line 41 of file PlotBase.h.
|
inherited |
Retrieve all booked efficiency objects.
Definition at line 83 of file PlotBase.cxx.
|
inherited |
Retrieve all booked histograms.
Definition at line 63 of file PlotBase.cxx.
|
inherited |
Retrieve all booked trees.
Definition at line 73 of file PlotBase.cxx.
|
inherited |
Definition at line 55 of file PlotBase.cxx.
|
static |
Definition at line 28 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_fwd_deta_electron |
Definition at line 47 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_fwd_dphi_electron |
Definition at line 46 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_fwd_dr_electron |
Definition at line 45 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_abseta |
Definition at line 42 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_e |
Definition at line 40 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_eta |
Definition at line 41 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_fwd_e_response_vs_phi |
Definition at line 43 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_abseta[nLevels] |
Definition at line 32 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_abseta[nLevels-1] |
Definition at line 37 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_eta[nLevels-1] |
Definition at line 36 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_phi[nLevels-1] |
Definition at line 38 of file TrueFwdElectronsPlots.h.
| TProfile* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eff_pt[nLevels-1] |
Definition at line 35 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_eta[nLevels] |
Definition at line 31 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_phi[nLevels] |
Definition at line 33 of file TrueFwdElectronsPlots.h.
| TH1* ZeeValidation::TrueFwdElectronsPlots::h_true_fwd_electron_pt[nLevels] |
Definition at line 30 of file TrueFwdElectronsPlots.h.
|
protectedinherited |
Definition at line 101 of file PlotBase.h.
|
protectedinherited |
Definition at line 100 of file PlotBase.h.
| std::string ZeeValidation::TrueFwdElectronsPlots::m_sParticleType |
Definition at line 24 of file TrueFwdElectronsPlots.h.
|
protectedinherited |
Definition at line 99 of file PlotBase.h.
|
protectedinherited |
Definition at line 97 of file PlotBase.h.
|
protectedinherited |
Definition at line 98 of file PlotBase.h.
|
protectedinherited |
Definition at line 96 of file PlotBase.h.
|
static |
Definition at line 27 of file TrueFwdElectronsPlots.h.