ATLAS Offline Software
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
{
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
xAOD::Egamma_v1
Definition:
Egamma_v1.h:56
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
GeoPrimitives.h
photonWrtPoint::PtEtaPhi
egamma clusters kinematics are always wrt the ATLAS frame (0,0,0).
Definition:
egPhotonWrtPoint.h:20
z
#define z
photonWrtPoint::PtEtaPhi::pt
double pt
Definition:
egPhotonWrtPoint.h:21
photonWrtPoint::PtEtaPhi::phi
double phi
Definition:
egPhotonWrtPoint.h:23
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
photonWrtPoint::PtEtaPhi::eta
double eta
Definition:
egPhotonWrtPoint.h:22
photonWrtPoint
Definition:
egPhotonWrtPoint.h:11
Generated on Thu Nov 7 2024 21:14:21 for ATLAS Offline Software by
1.8.18