ATLAS Offline Software
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):
12 extern "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 
24 namespace xAOD {
25 
38  class TrigPhoton_v1 : public IParticle {
39 
40  public:
42  TrigPhoton_v1();
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 
67  GenVecFourMom_t genvecP4() const;
68 
70  virtual Type::ObjectType type() const { return Type::TrigPhoton; }
71 
73 
76 
78  uint32_t roiWord() const;
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;
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
xAOD::TrigPhoton_v1::emClusterLink
const EMClusterLink_t & emClusterLink() const
The associated EM cluster, as an ElementLink.
xAOD::TrigPhoton_v1::GenVecFourMom_t
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
Definition: TrigPhoton_v1.h:64
xAOD::TrigPhoton_v1::genvecP4
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
Definition: TrigPhoton_v1.cxx:64
xAOD::TrigPhoton_v1::setCaloEta
void setCaloEta(float caloEta)
Set the pseudorapidity ( ) of the photon in the calorimeter.
xAOD::TrigPhoton_v1::init
void init(uint32_t roi, float dphi, float deta, const EMClusterLink_t &clLink)
Initialisation function, setting most properties of the object.
xAOD::TrigPhoton_v1::setDEta
void setDEta(float dEta)
Documentation to be added.
IParticle.h
xAOD::TrigPhoton_v1::f0
float f0() const
Documentation to be added.
xAOD::EgammaParameters::Reta
@ Reta
e237/e277
Definition: EgammaEnums.h:154
xAOD::TrigPhoton_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
Definition: TrigPhoton_v1.h:52
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::TrigPhoton_v1::fside
float fside() const
Documentation to be added.
xAOD::TrigPhoton_v1::setF0
void setF0(float f0)
Documentation to be added.
xAOD::TrigPhoton_v1::roiWord
uint32_t roiWord() const
Get the RoI word that seeded the reconstruction of this object.
xAOD::TrigPhoton_v1::TrigPhoton_v1
TrigPhoton_v1()
Default constructor.
Definition: TrigPhoton_v1.cxx:18
athena.value
value
Definition: athena.py:124
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TrigPhoton_v1::eratio
float eratio() const
Documentation to be added.
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::TrigPhoton_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition: TrigPhoton_v1.h:50
xAOD::TrigPhoton_v1::rapidity
virtual double rapidity() const
The true rapidity (y) of the particle.
Definition: TrigPhoton_v1.cxx:47
xAOD::TrigPhoton_v1::setF1
void setF1(float f1)
Documentation to be added.
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:69
xAOD::TrigPhoton_v1::setRoiWord
void setRoiWord(uint32_t roi)
Set the RoI word that seeded the reconstruction of this object.
xAOD::TrigPhoton_v1::setPt
void setPt(double pt)
Set the transverse momentum ( ) of the photon.
xAOD::TrigPhoton_v1::setCaloPhi
void setCaloPhi(float caloPhi)
Set the azimuthal angle ( ) of the photon in the calorimeter.
xAOD::TrigPhoton_v1::f3
float f3() const
Documentation to be added.
xAOD::TrigPhoton
TrigPhoton_v1 TrigPhoton
Declare the latest version of TrigPhoton.
Definition: Event/xAOD/xAODTrigEgamma/xAODTrigEgamma/TrigPhoton.h:16
xAOD::TrigPhoton_v1::etHad1
float etHad1() const
Documentation to be added.
xAOD::TrigPhoton_v1::e
virtual double e() const
The total energy of the particle.
Definition: TrigPhoton_v1.cxx:36
xAOD::TrigPhoton_v1::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: TrigPhoton_v1.cxx:57
xAOD::TrigPhoton_v1::setF3
void setF3(float f3)
Documentation to be added.
xAOD::TrigPhoton_v1::dEta
float dEta() const
Documentation to be added.
xAOD::TrigPhoton_v1::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
xAOD::TrigPhoton_v1
Class describing a photon reconstructed in the HLT.
Definition: TrigPhoton_v1.h:38
xAOD::TrigPhoton_v1::weta2
float weta2() const
Documentation to be added.
xAOD::TrigPhoton_v1::caloEta
float caloEta() const
Pseudorapidity ( ) of the photon in the calorimeter.
xAOD::TrigPhoton_v1::etHad
float etHad() const
Documentation to be added.
xAOD::TrigPhoton_v1::setRcore
void setRcore(float Reta)
Documentation to be added.
xAOD::TrigPhoton_v1::m
virtual double m() const
The invariant mass of the particle.
Definition: TrigPhoton_v1.h:54
xAOD::TrigPhoton_v1::setF2
void setF2(float f2)
Documentation to be added.
xAOD::TrigPhoton_v1::setEratio
void setEratio(float Eratio)
Documentation to be added.
TrigEMClusterContainer.h
xAOD::TrigPhoton_v1::setWeta2
void setWeta2(float Weta2)
Documentation to be added.
xAOD::TrigPhoton_v1::setEtHad1
void setEtHad1(float HadEt)
Documentation to be added.
xAOD::TrigPhoton_v1::rcore
float rcore() const
Documentation to be added.
xAOD::TrigPhoton_v1::setDPhi
void setDPhi(float dPhi)
Documentation to be added.
xAOD::TrigPhoton_v1::type
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
Definition: TrigPhoton_v1.h:70
xAOD::EgammaParameters::Eratio
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
Definition: EgammaEnums.h:158
xAOD::TrigPhoton_v1::emCluster
const TrigEMCluster * emCluster() const
The associated EM cluster, as a simple pointer.
Definition: TrigPhoton_v1.cxx:133
xAOD::TrigPhoton_v1::f1
float f1() const
Documentation to be added.
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition: ObjectType.h:32
xAOD::TrigPhoton_v1::EMClusterLink_t
ElementLink< TrigEMClusterContainer > EMClusterLink_t
Type of the EM cluster link.
Definition: TrigPhoton_v1.h:166
xAOD::TrigPhoton_v1::setFside
void setFside(float fside)
Documentation to be added.
xAOD::TrigPhoton_v1::setEtHad
void setEtHad(float HadEt)
Documentation to be added.
xAOD::TrigPhoton_v1::setEmClusterLink
void setEmClusterLink(const EMClusterLink_t &value)
Set the ElementLink pointing to the EM cluster constituent.
xAOD::TrigPhoton_v1::f2
float f2() const
Documentation to be added.
xAOD::TrigPhoton_v1::caloPhi
float caloPhi() const
Azimuthal angle ( ) of the photon in the calorimeter.
xAOD::TrigPhoton_v1::dPhi
float dPhi() const
Documentation to be added.