ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaUtils
egammaUtils
egPhotonWrtPoint.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EGPHOTONWRTPOINT_H
6
#define EGPHOTONWRTPOINT_H
7
8
#include "
GeoPrimitives/GeoPrimitives.h
"
9
#include "
xAODEgamma/EgammaFwd.h
"
10
11
namespace
photonWrtPoint
{
18
19
/* The cluster is assumed to be massless -- > Photon*/
20
struct
PtEtaPhi
{
21
double
pt
= 0;
22
double
eta
= 0;
23
double
phi
= 0;
24
};
25
27
PtEtaPhi
PtEtaPhiWrtZ
(
const
xAOD::Egamma
& ph,
double
z
);
30
void
correctForZ
(
xAOD::Egamma
& ph,
double
z
);
31
32
}
// namespace photonWrtPoint
33
34
#endif
EgammaFwd.h
GeoPrimitives.h
z
#define z
photonWrtPoint
Definition
egPhotonWrtPoint.h:11
photonWrtPoint::PtEtaPhiWrtZ
PtEtaPhi PtEtaPhiWrtZ(const xAOD::Egamma &ph, double z)
Function to get the kinematics of a photon cluster wrt (0,0,z0).
Definition
egPhotonWrtPoint.cxx:10
photonWrtPoint::correctForZ
void correctForZ(xAOD::Egamma &ph, double z)
Function to modify in place the kinematics of a photon wrt (0,0,z0).
Definition
egPhotonWrtPoint.cxx:23
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
photonWrtPoint::PtEtaPhi
egamma clusters kinematics are always wrt the ATLAS frame (0,0,0).
Definition
egPhotonWrtPoint.h:20
photonWrtPoint::PtEtaPhi::pt
double pt
Definition
egPhotonWrtPoint.h:21
photonWrtPoint::PtEtaPhi::eta
double eta
Definition
egPhotonWrtPoint.h:22
photonWrtPoint::PtEtaPhi::phi
double phi
Definition
egPhotonWrtPoint.h:23
Generated on
for ATLAS Offline Software by
1.17.0