ATLAS Offline Software
Loading...
Searching...
No Matches
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
13public:
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; }
23 void setTrackNumber(int track) { m_trackNumber = track; }
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; }
34
35private:
36 float m_locX;
37 float m_locY;
44
45 ClassDefNV(FPGATrackSimOfflineHit, 3)
46};
47
48std::ostream& operator<<(std::ostream&, const FPGATrackSimOfflineHit&);
49#endif // TRIGFPGATrackSimOBJECTS_FPGATrackSimOFFLINETRACK_H
50
std::ostream & operator<<(std::ostream &, const FPGATrackSimOfflineHit &)
OfflineHitType
OfflineHitType getHitType() const
void setHitType(OfflineHitType type)
virtual ~FPGATrackSimOfflineHit()=default