ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace xAOD
17{
18
44
45 class JGTower_v1 : public IParticle
46 {
47 public:
49 JGTower_v1();
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
92 void setSCIndex(const std::vector<int> &);
93
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
Scalar eta() const
pseudorapidity method
Base class for elements of a container that can have aux data.
ObjectType
Definition BaseObject.h:11
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition DataVector.h:649
Class providing the definition of the 4-vector interface.
IParticle()=default
Description of JGTower_v1.
Definition JGTower_v1.h:46
void setdEta(float)
virtual double e() const final
The total energy of the particle.
const std::vector< int > & SCIndex() const
get SCIndex
JGTower_v1 & operator=(const JGTower_v1 &other)
Assignment operator.
void setSCIndex(const std::vector< int > &)
set SCIndex
virtual double dphi() const final
The azimuthal angle ( ) of the particle.
virtual double pt() const final
The transverse momentum ( ) of the particle.
void setEt(float)
virtual int sampling() const final
void setTileIndex(const std::vector< int > &)
set TileIndex
virtual double rapidity() const final
The true rapidity (y) of the particle.
void setdPhi(float)
virtual double deta() const final
The pseudorapidity ( ) of the particle.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
Definition JGTower_v1.h:109
virtual ~JGTower_v1()
Default desturctor.
Definition JGTower_v1.h:55
void setPhi(float)
JGTower_v1()
Default constructor.
void setSampling(int)
void setEta(float)
virtual FourMom_t p4() const final
The full 4-momentum of the particle as a TLoretzVector.
virtual double m() const final
The invariant mass of the particle.
virtual int Id() const final
get coolId
const std::vector< int > & TileIndex() const
get TileIndex
virtual void initialize(const int Id, const float Eta, const float Phi, const float Et)
virtual Type::ObjectType type() const final
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.