ATLAS Offline Software
FPGATrackSimOfflineHit.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 TRIGFPGATrackSimOBJECTS_FPGATrackSimOFFLINEHIT_H
6 #define TRIGFPGATrackSimOBJECTS_FPGATrackSimOFFLINEHIT_H
7 
8 
9 #include <TObject.h>
11 
13 public:
15  virtual ~FPGATrackSimOfflineHit() = default;
16 
17  void setLocX(float locx) { m_locX = locx; }
18  void setLocY(float locy) { m_locY = locy; }
19  void setIsPixel(bool is) { m_isPixel = is; }
20  void setIsBarrel(bool is) { m_isBarrel = is; }
21  void setLayer(int lay) { m_layer = lay; }
22  void setClusterID(int clus) { m_clustID = clus; }
25 
26  float getLocX() const { return m_locX; }
27  float getLocY() const { return m_locY; }
28  bool isPixel() const { return m_isPixel; }
29  bool isBarrel() const { return m_isBarrel; }
30  int getLayer() const { return m_layer; }
31  int getClusterID() const { return m_clustID; }
32  int getTrackNumber() const { return m_trackNumber; }
33  OfflineHitType getHitType() const { return m_hitType; }
34 
35 private:
36  float m_locX;
37  float m_locY;
38  bool m_isPixel;
39  bool m_isBarrel;
40  int m_layer;
41  int m_clustID;
44 
45  ClassDefNV(FPGATrackSimOfflineHit, 3)
46 };
47 
48 std::ostream& operator<<(std::ostream&, const FPGATrackSimOfflineHit&);
49 #endif // TRIGFPGATrackSimOBJECTS_FPGATrackSimOFFLINETRACK_H
50 
FPGATrackSimOfflineHit::getLocY
float getLocY() const
Definition: FPGATrackSimOfflineHit.h:27
operator<<
std::ostream & operator<<(std::ostream &, const FPGATrackSimOfflineHit &)
Definition: FPGATrackSimOfflineHit.cxx:10
FPGATrackSimOfflineHit::m_locX
float m_locX
Definition: FPGATrackSimOfflineHit.h:36
OfflineHitType::Other
@ Other
FPGATrackSimOfflineHit::m_isBarrel
bool m_isBarrel
Definition: FPGATrackSimOfflineHit.h:39
FPGATrackSimOfflineHit::setClusterID
void setClusterID(int clus)
Definition: FPGATrackSimOfflineHit.h:22
FPGATrackSimOfflineHit::setTrackNumber
void setTrackNumber(int track)
Definition: FPGATrackSimOfflineHit.h:23
FPGATrackSimOfflineHit::getHitType
OfflineHitType getHitType() const
Definition: FPGATrackSimOfflineHit.h:33
FPGATrackSimOfflineHit::m_trackNumber
int m_trackNumber
Definition: FPGATrackSimOfflineHit.h:42
FPGATrackSimOfflineHit::getTrackNumber
int getTrackNumber() const
Definition: FPGATrackSimOfflineHit.h:32
FPGATrackSimOfflineHit::m_isPixel
bool m_isPixel
Definition: FPGATrackSimOfflineHit.h:38
FPGATrackSimOfflineHit::setLocX
void setLocX(float locx)
Definition: FPGATrackSimOfflineHit.h:17
FPGATrackSimOfflineHit::getClusterID
int getClusterID() const
Definition: FPGATrackSimOfflineHit.h:31
FPGATrackSimOfflineHit::getLocX
float getLocX() const
Definition: FPGATrackSimOfflineHit.h:26
FPGATrackSimOfflineHit::setLayer
void setLayer(int lay)
Definition: FPGATrackSimOfflineHit.h:21
FPGATrackSimOfflineHit::m_clustID
int m_clustID
Definition: FPGATrackSimOfflineHit.h:41
FPGATrackSimOfflineHit::getLayer
int getLayer() const
Definition: FPGATrackSimOfflineHit.h:30
FPGATrackSimOfflineHit::setLocY
void setLocY(float locy)
Definition: FPGATrackSimOfflineHit.h:18
FPGATrackSimOfflineHit::FPGATrackSimOfflineHit
FPGATrackSimOfflineHit()
Definition: FPGATrackSimOfflineHit.h:14
FPGATrackSimOfflineHit::m_hitType
OfflineHitType m_hitType
Definition: FPGATrackSimOfflineHit.h:43
FPGATrackSimOfflineHit::m_locY
float m_locY
Definition: FPGATrackSimOfflineHit.h:37
FPGATrackSimOfflineHit::isPixel
bool isPixel() const
Definition: FPGATrackSimOfflineHit.h:28
FPGATrackSimOfflineHit::setIsPixel
void setIsPixel(bool is)
Definition: FPGATrackSimOfflineHit.h:19
OfflineHitType
OfflineHitType
Definition: FPGATrackSimTypes.h:31
FPGATrackSimOfflineHit::isBarrel
bool isBarrel() const
Definition: FPGATrackSimOfflineHit.h:29
FPGATrackSimOfflineHit::~FPGATrackSimOfflineHit
virtual ~FPGATrackSimOfflineHit()=default
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FPGATrackSimOfflineHit::setIsBarrel
void setIsBarrel(bool is)
Definition: FPGATrackSimOfflineHit.h:20
FPGATrackSimOfflineHit
Definition: FPGATrackSimOfflineHit.h:12
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
FPGATrackSimOfflineHit::setHitType
void setHitType(OfflineHitType type)
Definition: FPGATrackSimOfflineHit.h:24
FPGATrackSimTypes.h
FPGATrackSimOfflineHit::m_layer
int m_layer
Definition: FPGATrackSimOfflineHit.h:40