ATLAS Offline Software
|
Functions | |
std::pair< float, float > | getZCommonAndError (const xAOD::EventInfo *eventInfo, const xAOD::EgammaContainer *egammas, float convPtCut=2e3) |
Return zCommon and zCommonError. More... | |
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 auxdata if available and useAux = true) More... | |
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) More... | |
const xAOD::Vertex * | getHardestVertex (const xAOD::VertexContainer *vertices) |
Return vertex with highest sum pT^2. More... | |
TLorentzVector | getTrackAtFirstMeasurement (const xAOD::TrackParticle *tp) |
Return track at first measurment, useful as proxy to conversion vertex pT. More... | |
bool | passConvSelection (const xAOD::Photon *photon, float convPtCut=2e3) |
Check if photon is converted, and tracks have Si hits and pass selection. More... | |
bool | passConvSelection (const xAOD::Vertex &conversionVertex, size_t i, float convPtCut) |
Check if track i of conversion vertex pass selection (Si hits and pt) More... | |
const xAOD::Vertex * xAOD::PVHelpers::getHardestVertex | ( | const xAOD::VertexContainer * | vertices | ) |
TLorentzVector xAOD::PVHelpers::getTrackAtFirstMeasurement | ( | const xAOD::TrackParticle * | tp | ) |
Return track at first measurment, useful as proxy to conversion vertex pT.
Definition at line 150 of file PhotonVertexHelpers.cxx.
TLorentzVector xAOD::PVHelpers::getVertexMomentum | ( | const xAOD::Vertex * | vertex, |
bool | useAux = true , |
||
const std::string & | derivationPrefix = "" |
||
) |
float xAOD::PVHelpers::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 auxdata if available and useAux = true)
Definition at line 215 of file PhotonVertexHelpers.cxx.
std::pair< float, float > xAOD::PVHelpers::getZCommonAndError | ( | const xAOD::EventInfo * | eventInfo, |
const xAOD::EgammaContainer * | egammas, | ||
float | convPtCut = 2e3 |
||
) |
bool xAOD::PVHelpers::passConvSelection | ( | const xAOD::Photon * | photon, |
float | convPtCut = 2e3 |
||
) |
Check if photon is converted, and tracks have Si hits and pass selection.
Definition at line 133 of file PhotonVertexHelpers.cxx.
bool xAOD::PVHelpers::passConvSelection | ( | const xAOD::Vertex & | conversionVertex, |
size_t | i, | ||
float | convPtCut | ||
) |
Check if track i of conversion vertex pass selection (Si hits and pt)
Definition at line 113 of file PhotonVertexHelpers.cxx.