#include <PhotonPointingTool.h>
Public Member Functions | |
PhotonPointingTool (const std::string &name) | |
Function(s) implementing the asg::IAsgTool interface | |
virtual StatusCode | initialize () |
Function initialising the tool. | |
Function(s) implementing the IPhotonPointingTool interface | |
StatusCode | updatePointingAuxdata (const xAOD::EgammaContainer &egammas) const |
Add calo and conversion (HPV) pointing variables. | |
std::pair< float, float > | getCaloPointing (const xAOD::Egamma *egamma) const |
Return calo pointing variables. | |
std::pair< float, float > | getConvPointing (const xAOD::Photon *photon) const |
Return conversion (HPV) pointing variables. | |
float | getCorrectedEta (const xAOD::CaloCluster &cluster, float PVz) const |
Return the corrected eta for primary vertex z-position. | |
StatusCode | correctPrimaryVertex (xAOD::Egamma &egamma, float PVz) const |
Correct Egamma vector for primary vertex z-position. | |
TLorentzVector | getCorrectedLV (const xAOD::Egamma &egamma, float PVz) const |
Get Egamma TLorentzVector corrected for primary vertex z-position. | |
float | getCorrectedMass (const xAOD::EgammaContainer &egammas, float PVz) const |
Implementation for the photon pointing tool
Takes photon shower shape and/or conversion vertex and extrapolates back to beamline
float CP::PhotonPointingTool::getCorrectedMass | ( | const xAOD::EgammaContainer & | egammas, | |
float | PVz | |||
) | const [virtual] |
Return the invariant mass, using corrected Pt/Eta of each object for the given vertex z-position
Implements CP::IPhotonPointingTool.