|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PhotonVertexSelection_PhotonVertexHelpers_H
6 #define PhotonVertexSelection_PhotonVertexHelpers_H
16 #include "TLorentzVector.h"
18 class ShowerDepthTool;
26 float convPtCut = 2
e3);
42 float convPtCut = 2
e3);
53 #endif // PhotonVertexSelection_PhotonVertexHelpers_H
float getVertexSumPt(const xAOD::Vertex *vertex, int power=1, bool useAux=true)
Loop over track particles associated with vertex and return scalar sum of pT^power in GeV (from auxda...
TLorentzVector getTrackAtFirstMeasurement(const xAOD::TrackParticle *tp)
Return track at first measurment, useful as proxy to conversion vertex pT.
std::pair< float, float > getZCommonAndError(const xAOD::EventInfo *eventInfo, const xAOD::EgammaContainer *egammas, float convPtCut=2e3)
Return zCommon and zCommonError.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
const xAOD::Vertex * getHardestVertex(const xAOD::VertexContainer *vertices)
Return vertex with highest sum pT^2.
TLorentzVector getVertexMomentum(const xAOD::Vertex *vertex, bool useAux=true, const std::string &derivationPrefix="")
Return vector sum of tracks associated with vertex (from auxdata if available and useAux = true)
Class describing the basic event information.
Class describing a Vertex.
bool passConvSelection(const xAOD::Photon *photon, float convPtCut=2e3)
Check if photon is converted, and tracks have Si hits and pass selection.
Class describing a TrackParticle.