ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11namespace photonWrtPoint {
18
19/* The cluster is assumed to be massless -- > Photon*/
20struct PtEtaPhi {
21 double pt = 0;
22 double eta = 0;
23 double phi = 0;
24};
25
27PtEtaPhi PtEtaPhiWrtZ(const xAOD::Egamma& ph, double z);
30void correctForZ(xAOD::Egamma& ph, double z);
31
32} // namespace photonWrtPoint
33
34#endif
#define z
PtEtaPhi PtEtaPhiWrtZ(const xAOD::Egamma &ph, double z)
Function to get the kinematics of a photon cluster wrt (0,0,z0)
void correctForZ(xAOD::Egamma &ph, double z)
Function to modify in place the kinematics of a photon wrt (0,0,z0)
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17
egamma clusters kinematics are always wrt the ATLAS frame (0,0,0).