26 author =
Book1D(
"author",
"Electron Author ; author;Events", 20, -0.5, 19.5);
27 res_et =
BookTProfile(
"res_et",
" IsoElectron;E_{T}^{Truth}, [GeV];(E_{T} - E_{T}^{Truth})/E_{T}^{Truth}",100, 0., 200.);
28 res_eta =
BookTProfile(
"res_eta",
" IsoElectron;#eta;(E_{T} - E_{T}^{Truth})/E_{T}^{Truth}",50, -2.5, 2.5);
29 res_et_cut =
BookTProfile(
"res_et_cut",
" IsoElectron;E_{T}^{Truth}, [GeV];(E_{T} - E_{T}^{Truth})/E_{T}^{Truth}",100, 0., 200.);
30 res_eta_cut =
BookTProfile(
"res_eta_cut",
" IsoElectron;#eta;(E_{T} - E_{T}^{Truth})/E_{T}^{Truth}",50, -2.5, 2.5);
31 res_et_cut_pt_20 =
BookTProfile(
"res_et_cut_pt_20",
" Prompt Electron;E_{T}^{Truth}, [GeV];(E_{T} - E_{T}^{Truth})/E_{T}^{Truth}",100, 0., 200.);
33 matrix =
Book2D(
"matrix",
"reco vs truth pt",200,0.,200.,200,0.,200.);
42 author->Fill(electron.author(),weight);
Egamma::ElectronFrwdPlots m_oFrwdElecPlots
Egamma::KinematicsPlots m_oTruthIsoPlots
ElectronValidationPlots(PlotBase *pParent, const std::string &sDir)
virtual void initializePlots()
TProfile * res_eta_cut_pt_20
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo, bool isPrompt)
Egamma::ElectronPlots m_oCentralElecPlots
TProfile * res_et_cut_pt_20
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, const std::string &sDir)
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.
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.
float beamSpotWeight() const
Weight for beam spot size reweighting.
const uint16_t AuthorElectron
Object Reconstructed by standard cluster-based algorithm.
const uint16_t AuthorAmbiguous
Object Reconstructed by standard cluster-based algorithm.
const uint16_t AuthorFwdElectron
Electron reconstructed by the Forward cluster-based algorithm.
EventInfo_v1 EventInfo
Definition of the latest event info version.
Electron_v1 Electron
Definition of the current "egamma version".