ATLAS Offline Software
Loading...
Searching...
No Matches
TrigPhoton_v1.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: TrigPhoton_v1.h 631115 2014-11-26 08:34:25Z gwatts $
8#ifndef XAODTRIGEGAMMA_VERSIONS_TRIGPHOTON_V1_H
9#define XAODTRIGEGAMMA_VERSIONS_TRIGPHOTON_V1_H
10
11// System include(s):
12extern "C" {
13# include <stdint.h>
14}
15
16// EDM include(s):
17#include "AthLinks/ElementLink.h"
18#include "xAODBase/IParticle.h"
20
21// ROOT include(s):
22#include "Math/Vector4D.h"
23
24namespace xAOD {
25
38 class TrigPhoton_v1 : public IParticle {
39
40 public:
43
46
48 virtual double pt() const;
50 virtual double eta() const { return caloEta(); }
52 virtual double phi() const { return caloPhi(); }
54 virtual double m() const { return 0.0; }
56 virtual double e() const;
58 virtual double rapidity() const;
59
61 virtual FourMom_t p4() const;
62
64 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > GenVecFourMom_t;
65
68
70 virtual Type::ObjectType type() const { return Type::TrigPhoton; }
71
73
76
80 void setRoiWord( uint32_t roi );
81
83 float rcore() const;
85 void setRcore( float Reta );
86
88 float eratio() const;
90 void setEratio( float Eratio );
91
93 float etHad() const;
95 void setEtHad( float HadEt );
96
98 float etHad1() const;
100 void setEtHad1( float HadEt );
101
103 float f0() const;
105 void setF0( float f0 );
106
108 float f1() const;
110 void setF1( float f1 );
111
113 float f2() const;
115 void setF2( float f2 );
116
118 float f3() const;
120 void setF3( float f3 );
121
123 float fside() const;
125 void setFside( float fside );
126
128 float weta2() const;
130 void setWeta2( float Weta2 );
131
133
136
138 void setPt( double pt );
139
141 float caloEta() const;
143 void setCaloEta( float caloEta );
144
146 float caloPhi() const;
148 void setCaloPhi( float caloPhi );
149
151 float dEta() const;
153 void setDEta( float dEta );
154
156 float dPhi() const;
158 void setDPhi( float dPhi );
159
161
164
167
169 const TrigEMCluster* emCluster() const;
173 void setEmClusterLink( const EMClusterLink_t& value );
174
176
178 void init( uint32_t roi,
179 float dphi, float deta,
180 const EMClusterLink_t& clLink );
181
182 }; // class TrigPhoton_v1
183
184} // namespace xAOD
185
186#endif // not XAODTRIGEGAMMA_VERSIONS_TRIGPHOTON_V1_H
IParticle()=default
TLorentzVector FourMom_t
Definition of the 4-momentum type.
const TrigEMCluster * emCluster() const
The associated EM cluster, as a simple pointer.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
void setFside(float fside)
Documentation to be added.
void setF1(float f1)
Documentation to be added.
void setF3(float f3)
Documentation to be added.
void setRoiWord(uint32_t roi)
Set the RoI word that seeded the reconstruction of this object.
void setF0(float f0)
Documentation to be added.
ElementLink< TrigEMClusterContainer > EMClusterLink_t
Type of the EM cluster link.
const EMClusterLink_t & emClusterLink() const
The associated EM cluster, as an ElementLink.
float fside() const
Documentation to be added.
void setPt(double pt)
Set the transverse momentum ( ) of the photon.
TrigPhoton_v1()
Default constructor.
virtual double m() const
The invariant mass of the particle.
float caloPhi() const
Azimuthal angle ( ) of the photon in the calorimeter.
void setEtHad1(float HadEt)
Documentation to be added.
void setDPhi(float dPhi)
Documentation to be added.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
uint32_t roiWord() const
Get the RoI word that seeded the reconstruction of this object.
void setRcore(float Reta)
Documentation to be added.
float f3() const
Documentation to be added.
float dPhi() const
Documentation to be added.
float etHad() const
Documentation to be added.
float dEta() const
Documentation to be added.
void init(uint32_t roi, float dphi, float deta, const EMClusterLink_t &clLink)
Initialisation function, setting most properties of the object.
float rcore() const
Documentation to be added.
float f2() const
Documentation to be added.
float f1() const
Documentation to be added.
void setEtHad(float HadEt)
Documentation to be added.
virtual double rapidity() const
The true rapidity (y) of the particle.
float f0() const
Documentation to be added.
void setWeta2(float Weta2)
Documentation to be added.
float weta2() const
Documentation to be added.
virtual double e() const
The total energy of the particle.
float caloEta() const
Pseudorapidity ( ) of the photon in the calorimeter.
virtual double pt() const
The transverse momentum ( ) of the particle.
void setDEta(float dEta)
Documentation to be added.
float eratio() const
Documentation to be added.
void setCaloPhi(float caloPhi)
Set the azimuthal angle ( ) of the photon in the calorimeter.
void setEmClusterLink(const EMClusterLink_t &value)
Set the ElementLink pointing to the EM cluster constituent.
float etHad1() const
Documentation to be added.
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setEratio(float Eratio)
Documentation to be added.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
void setCaloEta(float caloEta)
Set the pseudorapidity ( ) of the photon in the calorimeter.
void setF2(float f2)
Documentation to be added.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
setEventNumber uint32_t