ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaUtils
egammaUtils
EMFourMomBuilder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EGAMMAUTILS_EMFOURMOMBUILDER_H
6
#define EGAMMAUTILS_EMFOURMOMBUILDER_H
7
15
16
#include "
AthContainers/DataVector.h
"
17
#include "
egammaUtils/eg_resolution.h
"
18
#include "
xAODEgamma/Electron.h
"
19
#include "
xAODEgamma/Photon.h
"
20
21
namespace
EMFourMomBuilder
22
{
23
void
calculate
(
xAOD::Electron
& electron);
24
void
calculate
(
xAOD::Photon
& photon);
25
26
template
<
typename
T>
27
void
calculate
(
DataVector<T>
* egammas)
28
{
29
if
(egammas) {
30
for
(T*
egamma
: *egammas) {
31
calculate
(*
egamma
);
32
}
33
}
34
}
35
};
36
37
#endif
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
Electron.h
Photon.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
egamma
elec/gamma data class.
Definition
egamma.h:58
eg_resolution.h
EMFourMomBuilder
Definition
EMFourMomBuilder.h:22
EMFourMomBuilder::calculate
void calculate(xAOD::Electron &electron)
Definition
EMFourMomBuilder.cxx:68
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
Generated on
for ATLAS Offline Software by
1.14.0