ATLAS Offline Software
JGTower_v1.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 // Dear emacs, this is -*- c++ -*-
6 #ifndef XAODTRIGL1CALO_VERSIONS_JGTOWER_V1_H
7 #define XAODTRIGL1CALO_VERSIONS_JGTOWER_V1_H
8 
9 // EDM include(s):
10 #include "xAODBase/IParticle.h"
12 
13 // System include(s):
14 #include <stdint.h>
15 
16 namespace xAOD
17 {
18 
44 
45  class JGTower_v1 : public IParticle
46  {
47  public:
49  JGTower_v1();
51  JGTower_v1(const JGTower_v1 &other);
55  virtual ~JGTower_v1() {}
56 
60 
62  virtual double pt() const final;
63 
65  virtual double eta() const final;
66  void setEta(float);
67 
69  virtual double phi() const final;
70  void setPhi(float);
71 
73  virtual double deta() const final;
74  void setdEta(float);
75 
77  virtual double dphi() const final;
78  void setdPhi(float);
79 
80  virtual double et() const final;
81  void setEt(float);
82 
84  virtual int Id() const final;
85  void setId(int);
86  virtual int sampling() const final;
87  void setSampling(int);
88 
90  const std::vector<int> &SCIndex() const;
92  void setSCIndex(const std::vector<int> &);
93 
95  const std::vector<int> &TileIndex() const;
97  void setTileIndex(const std::vector<int> &);
98 
100  virtual double m() const final;
101 
103  virtual double e() const final;
104 
106  virtual double rapidity() const final;
107 
110 
112  virtual FourMom_t p4() const final;
113 
115  virtual Type::ObjectType type() const final;
116 
117  virtual void initialize(const int Id, const float Eta, const float Phi, const float Et);
118  virtual void initialize(const int Id, const float Eta, const float Phi);
119  }; // class JGTower_v1
120 } // namespace xAOD
121 
122 // Declare IParticle as a base class of JGTower_v1:
123 #include "AthContainers/DataVector.h"
125 
126 #endif // XAODTRIGL1CALO_VERSIONS_JGTOWER_V1_H
xAOD::JGTower_v1
Description of JGTower_v1.
Definition: JGTower_v1.h:46
et
Extra patterns decribing particle interation process.
xAOD::JGTower_v1::setdPhi
void setdPhi(float)
Definition: JGTower_v1.cxx:103
IParticle.h
xAOD::JGTower_v1::setTileIndex
void setTileIndex(const std::vector< int > &)
set TileIndex
xAOD::JGTower_v1::setEta
void setEta(float)
Definition: JGTower_v1.cxx:66
xAOD::JGTower_v1::Id
virtual int Id() const final
get coolId
Definition: JGTower_v1.cxx:109
ObjectType
ObjectType
Definition: BaseObject.h:11
xAOD::other
@ other
Definition: TrackingPrimitives.h:509
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JGTower_v1::eta
virtual double eta() const final
The pseudorapidity ( ) of the particle.
Definition: JGTower_v1.cxx:60
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
xAOD::JGTower_v1::setPhi
void setPhi(float)
Definition: JGTower_v1.cxx:79
xAOD::JGTower_v1::setSampling
void setSampling(int)
Definition: JGTower_v1.cxx:127
xAOD::JGTower_v1::phi
virtual double phi() const final
The azimuthal angle ( ) of the particle.
Definition: JGTower_v1.cxx:73
xAOD::IParticle::FourMom_t
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:68
xAOD::JGTower_v1::p4
virtual FourMom_t p4() const final
The full 4-momentum of the particle as a TLoretzVector.
Definition: JGTower_v1.cxx:166
vector
Definition: MultiHisto.h:13
xAOD::JGTower_v1::dphi
virtual double dphi() const final
The azimuthal angle ( ) of the particle.
Definition: JGTower_v1.cxx:97
xAOD::JGTower_v1::TileIndex
const std::vector< int > & TileIndex() const
get TileIndex
xAOD::JGTower_v1::~JGTower_v1
virtual ~JGTower_v1()
Default desturctor.
Definition: JGTower_v1.h:55
xAOD::JGTower_v1::deta
virtual double deta() const final
The pseudorapidity ( ) of the particle.
Definition: JGTower_v1.cxx:85
xAOD::JGTower_v1::JGTower_v1
JGTower_v1()
Default constructor.
Definition: JGTower_v1.cxx:14
xAODType
Definition: ObjectType.h:13
xAOD::JGTower_v1::setEt
void setEt(float)
Definition: JGTower_v1.cxx:140
xAOD::JGTower_v1::m
virtual double m() const final
The invariant mass of the particle.
Definition: JGTower_v1.cxx:151
xAOD::JGTower_v1::setdEta
void setdEta(float)
Definition: JGTower_v1.cxx:91
xAOD::JGTower_v1::setSCIndex
void setSCIndex(const std::vector< int > &)
set SCIndex
xAOD::JGTower_v1::operator=
JGTower_v1 & operator=(const JGTower_v1 &other)
Assignment operator.
Definition: JGTower_v1.cxx:26
xAOD::JGTower_v1::pt
virtual double pt() const final
The transverse momentum ( ) of the particle.
Definition: JGTower_v1.cxx:146
xAOD::JGTower_v1::type
virtual Type::ObjectType type() const final
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
Definition: JGTower_v1.cxx:174
xAOD::JGTower_v1::setId
void setId(int)
Definition: JGTower_v1.cxx:115
xAOD::JGTower_v1::SCIndex
const std::vector< int > & SCIndex() const
get SCIndex
xAOD::JGTower_v1::e
virtual double e() const final
The total energy of the particle.
Definition: JGTower_v1.cxx:156
DATAVECTOR_BASE
DATAVECTOR_BASE(xAOD::JGTower_v1, xAOD::IParticle)
xAOD::JGTower_v1::rapidity
virtual double rapidity() const final
The true rapidity (y) of the particle.
Definition: JGTower_v1.cxx:161
xAOD::JGTower_v1::initialize
virtual void initialize(const int Id, const float Eta, const float Phi, const float Et)
Definition: JGTower_v1.cxx:48
Eta
@ Eta
Definition: RPCdef.h:8
xAOD::JGTower_v1::sampling
virtual int sampling() const final
Definition: JGTower_v1.cxx:121
AuxElement.h
Base class for elements of a container that can have aux data.