14 m_oKinAllPlots(this,
"All/KinPlots/",
"Reco " + sParticleType +
" Photon"),
15 m_oKinIsoPlots(this,
"Iso/KinPlots/",
"Reco " + sParticleType +
" Photon"),
54 int nvtx=photon.nVertices();
TH1 * m_nParticles_weighted
Egamma::KinematicsPlots m_oKinIsoPlots
PhotonCnvPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
virtual void initializePlots()
void fill(const xAOD::Photon &photon, const xAOD::EventInfo &eventInfo, bool isPrompt)
std::string m_sParticleType
Egamma::KinematicsPlots m_oKinAllPlots
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)
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.
bool isConvertedPhoton(const xAOD::Egamma *eg, bool excludeTRT=false)
is the object a converted photon
xAOD::EgammaParameters::ConversionType conversionType(const xAOD::Photon *ph)
return the photon conversion type (see EgammaEnums)
float conversionRadius(const xAOD::Vertex *vx)
return the conversion radius or 9999.
@ convMatchDeltaPhi1
difference between the cluster phi and the phi of the first track of the vertex extrapolated to the s...
@ convMatchDeltaEta1
difference between the cluster eta and the eta of the first track of the vertex extrapolated to the s...
EventInfo_v1 EventInfo
Definition of the latest event info version.
Photon_v1 Photon
Definition of the current "egamma version".