|
ATLAS Offline Software
|
Go to the documentation of this file.
14 m_oKinAllPlots(this,
"All/KinPlots/",
"Reco " + sParticleType +
" Photon"),
15 m_oKinIsoPlots(this,
"Iso/KinPlots/",
"Reco " + sParticleType +
" Photon"),
16 m_sParticleType(sParticleType),
17 m_nParticles(nullptr),
18 m_nParticles_weighted(nullptr),
21 m_convRvsEta(nullptr),
22 m_convRvsType(nullptr),
24 m_convDeltaEta(nullptr),
25 m_convDeltaPhi(nullptr)
54 int nvtx=
photon.nVertices();
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.
virtual void initializePlots()
TH1 * m_nParticles_weighted
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PhotonCnvPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
void fill(const xAOD::Photon &photon, const xAOD::EventInfo &eventInfo, bool isPrompt)
bool isConvertedPhoton(const xAOD::Egamma *eg, bool excludeTRT=false)
is the object a converted photon
void fill(const xAOD::IParticle &part, const xAOD::EventInfo &eventInfo)
@ convMatchDeltaPhi1
difference between the cluster phi and the phi of the first track of the vertex extrapolated to the s...
Egamma::KinematicsPlots m_oKinAllPlots
float conversionRadius(const xAOD::Vertex *vx)
return the conversion radius or 9999.
Class describing the basic event information.
Egamma::KinematicsPlots m_oKinIsoPlots
@ convMatchDeltaEta1
difference between the cluster eta and the eta of the first track of the vertex extrapolated to the s...
int isPrompt(const unsigned int classify, bool allow_prompt_tau_decays=true)
xAOD::EgammaParameters::ConversionType conversionType(const xAOD::Photon *ph)
return the photon conversion type (see EgammaEnums)
float beamSpotWeight() const
Weight for beam spot size reweighting.
std::string m_sParticleType