ATLAS Offline Software
Loading...
Searching...
No Matches
EMFourMomBuilder Namespace Reference

Functions

void calculate (xAOD::Electron &electron)
void calculate (xAOD::Photon &photon)
template<typename T>
void calculate (DataVector< T > *egammas)

Function Documentation

◆ calculate() [1/3]

template<typename T>
void EMFourMomBuilder::calculate ( DataVector< T > * egammas)

Definition at line 27 of file EMFourMomBuilder.h.

28 {
29 if (egammas) {
30 for (T* egamma : *egammas) {
32 }
33 }
34 }
elec/gamma data class.
Definition egamma.h:58
void calculate(xAOD::Electron &electron)

◆ calculate() [2/3]

void EMFourMomBuilder::calculate ( xAOD::Electron & electron)

Definition at line 68 of file EMFourMomBuilder.cxx.

68 {
69 if (electron.trackParticle()) {
70 return setFromTrkCluster(electron);
71 } else {
72 setFromCluster(electron);
73 }
74}

◆ calculate() [3/3]

void EMFourMomBuilder::calculate ( xAOD::Photon & photon)

Definition at line 77 of file EMFourMomBuilder.cxx.

77 {
80 setFromTrkCluster(photon);
81 } else {
82 setFromCluster(photon);
83 }
84}
xAOD::EgammaParameters::ConversionType conversionType(const xAOD::Photon *ph)
return the photon conversion type (see EgammaEnums)
@ doubleSi
two tracks, both with Si hits