ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
FPGATrackSimHit Class Reference

#include <FPGATrackSimHit.h>

Collaboration diagram for FPGATrackSimHit:

Public Member Functions

 FPGATrackSimHit ()=default
 
virtual ~FPGATrackSimHit ()=default
 
void setHitType (HitType type)
 
void setDetType (SiliconTech detType)
 
void setDetectorZone (DetectorZone detZone)
 
HitType getHitType () const
 
SiliconTech getDetType () const
 
DetectorZone getDetectorZone () const
 
bool isMapped () const
 
bool isClustered () const
 
bool isReal () const
 
bool isPixel () const
 
bool isStrip () const
 
bool isBarrel () const
 
unsigned getDim () const
 
int getRoadID () const
 
void setIdentifier (unsigned int v)
 
void setIdentifierHash (unsigned v)
 
void setLayerDisk (unsigned v)
 
void setSide (unsigned v)
 
void setPhysLayer (unsigned v)
 
void setEtaModule (int v)
 
void setPhiModule (unsigned v)
 
void setEtaWidth (unsigned v)
 
void setPhiWidth (unsigned v)
 
unsigned int getIdentifier () const
 
unsigned getIdentifierHash () const
 
unsigned getLayerDisk () const
 
unsigned getSide () const
 
unsigned getPhysLayer () const
 
unsigned getEtaWidth () const
 
unsigned getPhiWidth () const
 
int getEtaModule () const
 
unsigned getPhiModule () const
 
void setLayer (unsigned v)
 
void setSection (unsigned v)
 
unsigned getLayer () const
 
unsigned getSection () const
 
void setRoadID (int roadID)
 
void setPhiIndex (unsigned v)
 
void setEtaIndex (unsigned v)
 
void setPhiCoord (float v)
 
void setEtaCoord (float v)
 
unsigned getPhiIndex () const
 
unsigned getEtaIndex () const
 
float getPhiCoord () const
 
float getEtaCoord () const
 
float getPhiWindow () const
 
void makeSpacepoint (float x, float y, float z, float window, FPGATrackSimHit &other, FPGATrackSimMultiTruth &new_truth)
 
const FPGATrackSimHit getOriginalHit () const
 
int getPairedEtaModule () const
 
unsigned getPairedPhiModule () const
 
unsigned getPairedSection () const
 
unsigned getPairedLayer () const
 
void setX (float v)
 
void setY (float v)
 
void setZ (float v)
 
float getX () const
 
float getY () const
 
float getZ () const
 
float getR () const
 
float getGPhi () const
 
float getGCotTheta () const
 
void setToT (unsigned v)
 
void setBarcode (const HepMcParticleLink::barcode_type &v)
 
void setUniqueID (const HepMcParticleLink::barcode_type &v)
 
void setBarcodePt (float v)
 
void setEventIndex (long v)
 
void setParentageMask (unsigned long v)
 
void setTruth (const FPGATrackSimMultiTruth &v)
 
unsigned getToT () const
 
HepMcParticleLink::barcode_type getBarcode () const
 
HepMcParticleLink::barcode_type getUniqueID () const
 
long getEventIndex () const
 
float getBarcodePt () const
 
unsigned long getParentageMask () const
 
const FPGATrackSimMultiTruthgetTruth () const
 
bool isValidForITkHit () const
 
int getStripRowIDForITk () const
 
int getStripChipIDForITk () const
 
int getStripHitMapForITk () const
 
void setisValidForITkHit (bool v)
 
void setStripRowIDForITk (int v)
 
void setStripChipIDForITk (int v)
 
void setStripHitMapForITk (int v)
 

Protected Member Functions

 ClassDefNV (FPGATrackSimHit, 8)
 

Protected Attributes

HitType m_hitType = HitType::undefined
 
DetectorZone m_detectorZone = DetectorZone::undefined
 
SiliconTech m_detType = SiliconTech::undefined
 
unsigned int m_identifier = 0
 
unsigned m_identifierHash = 0
 
unsigned m_layer_disk = 0
 
unsigned m_side = 0
 
int m_etaModule = 0
 
unsigned m_phiModule = 0
 
unsigned m_etaWidth = 0
 
unsigned m_phiWidth = 0
 
int m_layer = -1
 
int m_section = -1
 
int m_phiIndex = -1
 
int m_etaIndex = -1
 
float m_x = 0
 
float m_y = 0
 
float m_z = 0
 
float m_originalX = 0
 
float m_originalY = 0
 
float m_originalZ = 0
 
float m_phiWindow = 0
 
unsigned m_pairedPhiModule = -1
 
int m_pairedEtaModule = -1
 
unsigned m_pairedSection = 0
 
unsigned m_pairedLayer = 0
 
unsigned m_hw_word = 0
 
unsigned m_ToT = 0
 
long m_eventindex = 0
 
HepMcParticleLink::barcode_type m_barcode = 0
 
HepMcParticleLink::barcode_type m_uniqueID = 0
 
float m_barcode_pt = 0
 
unsigned long m_parentage_mask = 0
 
FPGATrackSimMultiTruth m_truth
 
bool m_isValidForITK = false
 
int m_stripRowinITKEDM = -1
 
int m_stripChipinITKEDM = -1
 
int m_stripHitMapinITKEDM = -1
 
int m_roadID = 0
 

Friends

std::ostream & operator<< (std::ostream &, const FPGATrackSimHit &)
 

Detailed Description

Definition at line 40 of file FPGATrackSimHit.h.

Constructor & Destructor Documentation

◆ FPGATrackSimHit()

FPGATrackSimHit::FPGATrackSimHit ( )
default

◆ ~FPGATrackSimHit()

virtual FPGATrackSimHit::~FPGATrackSimHit ( )
virtualdefault

Member Function Documentation

◆ ClassDefNV()

FPGATrackSimHit::ClassDefNV ( FPGATrackSimHit  ,
 
)
protected

◆ getBarcode()

HepMcParticleLink::barcode_type FPGATrackSimHit::getBarcode ( ) const
inline

Definition at line 146 of file FPGATrackSimHit.h.

146 { return m_barcode; }

◆ getBarcodePt()

float FPGATrackSimHit::getBarcodePt ( ) const
inline

Definition at line 149 of file FPGATrackSimHit.h.

149 { return m_barcode_pt; }

◆ getDetectorZone()

DetectorZone FPGATrackSimHit::getDetectorZone ( ) const
inline

Definition at line 59 of file FPGATrackSimHit.h.

59 { return m_detectorZone; }

◆ getDetType()

SiliconTech FPGATrackSimHit::getDetType ( ) const
inline

Definition at line 58 of file FPGATrackSimHit.h.

58 { return m_detType; }

◆ getDim()

unsigned FPGATrackSimHit::getDim ( ) const
inline

Definition at line 67 of file FPGATrackSimHit.h.

67 { return isPixel() ? 2 : 1; } // TODO all calls of this should be replaced with a call to plane map

◆ getEtaCoord()

float FPGATrackSimHit::getEtaCoord ( ) const
inline

Definition at line 109 of file FPGATrackSimHit.h.

109 { return m_etaIndex; }

◆ getEtaIndex()

unsigned FPGATrackSimHit::getEtaIndex ( ) const
inline

Definition at line 107 of file FPGATrackSimHit.h.

107 { return m_etaIndex; }

◆ getEtaModule()

int FPGATrackSimHit::getEtaModule ( ) const
inline

Definition at line 87 of file FPGATrackSimHit.h.

87 { return m_etaModule; }

◆ getEtaWidth()

unsigned FPGATrackSimHit::getEtaWidth ( ) const
inline

Definition at line 85 of file FPGATrackSimHit.h.

85 { return m_etaWidth; }

◆ getEventIndex()

long FPGATrackSimHit::getEventIndex ( ) const
inline

Definition at line 148 of file FPGATrackSimHit.h.

148 { return m_eventindex; }

◆ getGCotTheta()

float FPGATrackSimHit::getGCotTheta ( ) const
inline

Definition at line 135 of file FPGATrackSimHit.h.

135 { return m_z / getR(); } // cot(theta) = z/r

◆ getGPhi()

float FPGATrackSimHit::getGPhi ( ) const
inline

Definition at line 134 of file FPGATrackSimHit.h.

134 { return TMath::ATan2(m_y, m_x); }

◆ getHitType()

HitType FPGATrackSimHit::getHitType ( ) const
inline

Definition at line 57 of file FPGATrackSimHit.h.

57 { return m_hitType; }

◆ getIdentifier()

unsigned int FPGATrackSimHit::getIdentifier ( ) const
inline

Definition at line 80 of file FPGATrackSimHit.h.

80 { return m_identifier; } // 32 bit (short) module identifier

◆ getIdentifierHash()

unsigned FPGATrackSimHit::getIdentifierHash ( ) const
inline

Definition at line 81 of file FPGATrackSimHit.h.

81 { return m_identifierHash; } // TODO note this might break things in the same way as getSide() a few lines below. If so, recomment.

◆ getLayer()

unsigned FPGATrackSimHit::getLayer ( ) const

Definition at line 74 of file FPGATrackSimHit.cxx.

75 {
76  if (isMapped()) return m_layer;
77  throw std::domain_error("FPGATrackSimHit::getLayer() called on a hit with invalid type: " + to_string(m_hitType));
78 }

◆ getLayerDisk()

unsigned FPGATrackSimHit::getLayerDisk ( ) const
inline

Definition at line 82 of file FPGATrackSimHit.h.

82 { return m_layer_disk; } // ITk layer number

◆ getOriginalHit()

const FPGATrackSimHit FPGATrackSimHit::getOriginalHit ( ) const

Definition at line 116 of file FPGATrackSimHit.cxx.

116  {
117  // Only works for spacepoints. TODO: subclass...
118  FPGATrackSimHit original = *(this);
119  if (getHitType() != HitType::spacepoint) {
120  return *this;
121  }
122 
123  // Restore the x/y/z coordinates. That should be all we have to do!
124  original.setX(m_originalX);
125  original.setY(m_originalY);
126  original.setZ(m_originalZ);
127 
128  // Change the type... is "clustered" the right type?
129  original.setHitType(HitType::clustered);
130 
131  // Technically, we could also restore the original truth.
132 
133  return original;
134 }

◆ getPairedEtaModule()

int FPGATrackSimHit::getPairedEtaModule ( ) const
inline

Definition at line 121 of file FPGATrackSimHit.h.

121 { return m_pairedEtaModule; }

◆ getPairedLayer()

unsigned FPGATrackSimHit::getPairedLayer ( ) const
inline

Definition at line 124 of file FPGATrackSimHit.h.

124 { return m_pairedLayer; }

◆ getPairedPhiModule()

unsigned FPGATrackSimHit::getPairedPhiModule ( ) const
inline

Definition at line 122 of file FPGATrackSimHit.h.

122 { return m_pairedPhiModule; }

◆ getPairedSection()

unsigned FPGATrackSimHit::getPairedSection ( ) const
inline

Definition at line 123 of file FPGATrackSimHit.h.

123 { return m_pairedSection; }

◆ getParentageMask()

unsigned long FPGATrackSimHit::getParentageMask ( ) const
inline

Definition at line 150 of file FPGATrackSimHit.h.

150 { return m_parentage_mask; }

◆ getPhiCoord()

float FPGATrackSimHit::getPhiCoord ( ) const
inline

Definition at line 108 of file FPGATrackSimHit.h.

108 { return m_phiIndex; }

◆ getPhiIndex()

unsigned FPGATrackSimHit::getPhiIndex ( ) const
inline

Definition at line 106 of file FPGATrackSimHit.h.

106 { return m_phiIndex; }

◆ getPhiModule()

unsigned FPGATrackSimHit::getPhiModule ( ) const
inline

Definition at line 88 of file FPGATrackSimHit.h.

88 { return m_phiModule; }

◆ getPhiWidth()

unsigned FPGATrackSimHit::getPhiWidth ( ) const
inline

Definition at line 86 of file FPGATrackSimHit.h.

86 { return m_phiWidth; }

◆ getPhiWindow()

float FPGATrackSimHit::getPhiWindow ( ) const
inline

Definition at line 111 of file FPGATrackSimHit.h.

111 { return m_phiWindow; }

◆ getPhysLayer()

unsigned FPGATrackSimHit::getPhysLayer ( ) const

Definition at line 66 of file FPGATrackSimHit.cxx.

67 {
69  return 2 * m_layer_disk + m_side;
70  return m_layer_disk;
71 }

◆ getR()

float FPGATrackSimHit::getR ( ) const
inline

Definition at line 133 of file FPGATrackSimHit.h.

133 { return TMath::Sqrt(m_x * m_x + m_y * m_y); } // This is cylindrical radius

◆ getRoadID()

int FPGATrackSimHit::getRoadID ( ) const
inline

Definition at line 68 of file FPGATrackSimHit.h.

68 { return m_roadID; }

◆ getSection()

unsigned FPGATrackSimHit::getSection ( ) const

Definition at line 80 of file FPGATrackSimHit.cxx.

81 {
82  if (isMapped()) return m_section;
83  throw std::domain_error("FPGATrackSimHit::getSection() called on a hit with invalid type");
84 }

◆ getSide()

unsigned FPGATrackSimHit::getSide ( ) const
inline

Definition at line 83 of file FPGATrackSimHit.h.

83 { return m_side; } // strip side TODO note this has been uncommented on 4/20/21. If wrappers suddenly break, recomment this. Same for getIdentifierHash above.

◆ getStripChipIDForITk()

int FPGATrackSimHit::getStripChipIDForITk ( ) const
inline

Definition at line 163 of file FPGATrackSimHit.h.

163 {return m_stripChipinITKEDM;}

◆ getStripHitMapForITk()

int FPGATrackSimHit::getStripHitMapForITk ( ) const
inline

Definition at line 164 of file FPGATrackSimHit.h.

164 {return m_stripHitMapinITKEDM;}

◆ getStripRowIDForITk()

int FPGATrackSimHit::getStripRowIDForITk ( ) const
inline

Definition at line 162 of file FPGATrackSimHit.h.

162 {return m_stripRowinITKEDM;}

◆ getToT()

unsigned FPGATrackSimHit::getToT ( ) const
inline

Definition at line 145 of file FPGATrackSimHit.h.

145 { return m_ToT ;}

◆ getTruth()

const FPGATrackSimMultiTruth& FPGATrackSimHit::getTruth ( ) const
inline

Definition at line 151 of file FPGATrackSimHit.h.

151 { return m_truth; }

◆ getUniqueID()

HepMcParticleLink::barcode_type FPGATrackSimHit::getUniqueID ( ) const
inline

Definition at line 147 of file FPGATrackSimHit.h.

147 { return m_uniqueID; }

◆ getX()

float FPGATrackSimHit::getX ( ) const
inline

Definition at line 130 of file FPGATrackSimHit.h.

130 { return m_x; }

◆ getY()

float FPGATrackSimHit::getY ( ) const
inline

Definition at line 131 of file FPGATrackSimHit.h.

131 { return m_y; }

◆ getZ()

float FPGATrackSimHit::getZ ( ) const
inline

Definition at line 132 of file FPGATrackSimHit.h.

132 { return m_z; }

◆ isBarrel()

bool FPGATrackSimHit::isBarrel ( ) const
inline

Definition at line 66 of file FPGATrackSimHit.h.

◆ isClustered()

bool FPGATrackSimHit::isClustered ( ) const

Definition at line 25 of file FPGATrackSimHit.cxx.

26 {
27  switch (m_hitType)
28  {
29  case HitType::clustered: // TODO do wildcard and guessed hits have cluster info too?
31  return true;
32  default:
33  return false;
34  }
35 }

◆ isMapped()

bool FPGATrackSimHit::isMapped ( ) const

Definition at line 13 of file FPGATrackSimHit.cxx.

14 {
15  switch (m_hitType)
16  {
17  case HitType::unmapped:
18  case HitType::undefined:
19  return false;
20  default:
21  return true;
22  }
23 }

◆ isPixel()

bool FPGATrackSimHit::isPixel ( ) const
inline

Definition at line 64 of file FPGATrackSimHit.h.

64 { return m_detType == SiliconTech::pixel; }

◆ isReal()

bool FPGATrackSimHit::isReal ( ) const

Definition at line 37 of file FPGATrackSimHit.cxx.

38 {
39  switch (m_hitType)
40  {
41  case HitType::unmapped:
42  case HitType::mapped:
43  case HitType::clustered:
45  return true;
46  default:
47  return false;
48  }
49 }

◆ isStrip()

bool FPGATrackSimHit::isStrip ( ) const
inline

Definition at line 65 of file FPGATrackSimHit.h.

65 { return m_detType == SiliconTech::strip; }

◆ isValidForITkHit()

bool FPGATrackSimHit::isValidForITkHit ( ) const
inline

Definition at line 161 of file FPGATrackSimHit.h.

161 {return m_isValidForITK;}

◆ makeSpacepoint()

void FPGATrackSimHit::makeSpacepoint ( float  x,
float  y,
float  z,
float  window,
FPGATrackSimHit other,
FPGATrackSimMultiTruth new_truth 
)

Definition at line 86 of file FPGATrackSimHit.cxx.

86  {
87  // Update coordinates. This keeps a copy of the old ones.
88  setX(x);
89  setY(y);
90  setZ(z);
91 
92  // Store the phi window.
93  m_phiWindow = window;
94 
95  // Update the truth, so we can do truth matching.
96  setTruth(new_truth);
97 
98  // Store the local coordinates of the inner hit.
99  // Having to do it this way is awkward and reinforces the need for a subclass.
100  if ((getPhysLayer() % 2) == 0) {
105  } else {
106  m_pairedEtaModule = other.getEtaModule();
107  m_pairedPhiModule = other.getPhiModule();
108  m_pairedSection = other.getSection();
109  m_pairedLayer = other.getLayer();
110  }
111 
112  // Update the type.
114 }

◆ setBarcode()

void FPGATrackSimHit::setBarcode ( const HepMcParticleLink::barcode_type v)
inline

Definition at line 139 of file FPGATrackSimHit.h.

139 { m_barcode = v; }

◆ setBarcodePt()

void FPGATrackSimHit::setBarcodePt ( float  v)
inline

Definition at line 141 of file FPGATrackSimHit.h.

141 { m_barcode_pt = v; }

◆ setDetectorZone()

void FPGATrackSimHit::setDetectorZone ( DetectorZone  detZone)
inline

Definition at line 56 of file FPGATrackSimHit.h.

56 { m_detectorZone = detZone; }

◆ setDetType()

void FPGATrackSimHit::setDetType ( SiliconTech  detType)
inline

Definition at line 55 of file FPGATrackSimHit.h.

55 { m_detType = detType; }

◆ setEtaCoord()

void FPGATrackSimHit::setEtaCoord ( float  v)
inline

Definition at line 105 of file FPGATrackSimHit.h.

105 { m_etaIndex = v; }

◆ setEtaIndex()

void FPGATrackSimHit::setEtaIndex ( unsigned  v)
inline

Definition at line 103 of file FPGATrackSimHit.h.

103 { m_etaIndex = v; }

◆ setEtaModule()

void FPGATrackSimHit::setEtaModule ( int  v)
inline

Definition at line 76 of file FPGATrackSimHit.h.

76 { m_etaModule = v; }

◆ setEtaWidth()

void FPGATrackSimHit::setEtaWidth ( unsigned  v)
inline

Definition at line 78 of file FPGATrackSimHit.h.

78 { m_etaWidth = v; }

◆ setEventIndex()

void FPGATrackSimHit::setEventIndex ( long  v)
inline

Definition at line 142 of file FPGATrackSimHit.h.

142 { m_eventindex = v; }

◆ setHitType()

void FPGATrackSimHit::setHitType ( HitType  type)
inline

Definition at line 54 of file FPGATrackSimHit.h.

54 { m_hitType = type; }

◆ setIdentifier()

void FPGATrackSimHit::setIdentifier ( unsigned int  v)
inline

Definition at line 71 of file FPGATrackSimHit.h.

71 { m_identifier = v; } // 32 bit (short) module identifier

◆ setIdentifierHash()

void FPGATrackSimHit::setIdentifierHash ( unsigned  v)
inline

Definition at line 72 of file FPGATrackSimHit.h.

72 { m_identifierHash = v; }

◆ setisValidForITkHit()

void FPGATrackSimHit::setisValidForITkHit ( bool  v)
inline

Definition at line 166 of file FPGATrackSimHit.h.

166 { m_isValidForITK = v;}

◆ setLayer()

void FPGATrackSimHit::setLayer ( unsigned  v)
inline

Definition at line 92 of file FPGATrackSimHit.h.

92 { m_layer = v; } // This is the logical layer

◆ setLayerDisk()

void FPGATrackSimHit::setLayerDisk ( unsigned  v)
inline

Definition at line 73 of file FPGATrackSimHit.h.

73 { m_layer_disk = v; } // ITk layer number

◆ setParentageMask()

void FPGATrackSimHit::setParentageMask ( unsigned long  v)
inline

Definition at line 143 of file FPGATrackSimHit.h.

143 { m_parentage_mask = v; }

◆ setPhiCoord()

void FPGATrackSimHit::setPhiCoord ( float  v)
inline

Definition at line 104 of file FPGATrackSimHit.h.

104 { m_phiIndex = v; }

◆ setPhiIndex()

void FPGATrackSimHit::setPhiIndex ( unsigned  v)
inline

Definition at line 102 of file FPGATrackSimHit.h.

102 { m_phiIndex = v; }

◆ setPhiModule()

void FPGATrackSimHit::setPhiModule ( unsigned  v)
inline

Definition at line 77 of file FPGATrackSimHit.h.

77 { m_phiModule = v; }

◆ setPhiWidth()

void FPGATrackSimHit::setPhiWidth ( unsigned  v)
inline

Definition at line 79 of file FPGATrackSimHit.h.

79 { m_phiWidth = v; }

◆ setPhysLayer()

void FPGATrackSimHit::setPhysLayer ( unsigned  v)

Definition at line 52 of file FPGATrackSimHit.cxx.

53 {
55  {
56  m_layer_disk = v / 2;
57  m_side = v % 2;
58  }
59  else
60  {
61  m_layer_disk = v;
62  }
63 }

◆ setRoadID()

void FPGATrackSimHit::setRoadID ( int  roadID)
inline

Definition at line 96 of file FPGATrackSimHit.h.

96 { m_roadID = roadID; }

◆ setSection()

void FPGATrackSimHit::setSection ( unsigned  v)
inline

Definition at line 93 of file FPGATrackSimHit.h.

93 { m_section = v; }

◆ setSide()

void FPGATrackSimHit::setSide ( unsigned  v)
inline

Definition at line 74 of file FPGATrackSimHit.h.

74 { m_side = v; }

◆ setStripChipIDForITk()

void FPGATrackSimHit::setStripChipIDForITk ( int  v)
inline

Definition at line 168 of file FPGATrackSimHit.h.

◆ setStripHitMapForITk()

void FPGATrackSimHit::setStripHitMapForITk ( int  v)
inline

Definition at line 169 of file FPGATrackSimHit.h.

◆ setStripRowIDForITk()

void FPGATrackSimHit::setStripRowIDForITk ( int  v)
inline

Definition at line 167 of file FPGATrackSimHit.h.

167 { m_stripRowinITKEDM = v;}

◆ setToT()

void FPGATrackSimHit::setToT ( unsigned  v)
inline

Definition at line 138 of file FPGATrackSimHit.h.

138 { m_ToT = v; }

◆ setTruth()

void FPGATrackSimHit::setTruth ( const FPGATrackSimMultiTruth v)
inline

Definition at line 144 of file FPGATrackSimHit.h.

144 { m_truth = v; }

◆ setUniqueID()

void FPGATrackSimHit::setUniqueID ( const HepMcParticleLink::barcode_type v)
inline

Definition at line 140 of file FPGATrackSimHit.h.

140 { m_uniqueID = v; }

◆ setX()

void FPGATrackSimHit::setX ( float  v)
inline

Definition at line 127 of file FPGATrackSimHit.h.

127 { m_originalX = m_x; m_x = v; }

◆ setY()

void FPGATrackSimHit::setY ( float  v)
inline

Definition at line 128 of file FPGATrackSimHit.h.

128 { m_originalY = m_y; m_y = v; }

◆ setZ()

void FPGATrackSimHit::setZ ( float  v)
inline

Definition at line 129 of file FPGATrackSimHit.h.

129 { m_originalZ = m_z; m_z = v; }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const FPGATrackSimHit hit 
)
friend

Definition at line 136 of file FPGATrackSimHit.cxx.

137 {
138  out << "type=" << hit.m_hitType
139  << " tech=" << hit.m_detType
140  << " zone=" << hit.m_detectorZone
141  << " etamod=" << hit.getEtaModule()
142  << " phimod=" << hit.getPhiModule()
143  << " physLayer=" << hit.getPhysLayer()
144  << " eta=" << hit.getEtaCoord()
145  << " phi=" << hit.getPhiCoord();
146 
147  return out;
148 }

Member Data Documentation

◆ m_barcode

HepMcParticleLink::barcode_type FPGATrackSimHit::m_barcode = 0
protected

Definition at line 225 of file FPGATrackSimHit.h.

◆ m_barcode_pt

float FPGATrackSimHit::m_barcode_pt = 0
protected

Definition at line 227 of file FPGATrackSimHit.h.

◆ m_detectorZone

DetectorZone FPGATrackSimHit::m_detectorZone = DetectorZone::undefined
protected

Definition at line 180 of file FPGATrackSimHit.h.

◆ m_detType

SiliconTech FPGATrackSimHit::m_detType = SiliconTech::undefined
protected

Definition at line 181 of file FPGATrackSimHit.h.

◆ m_etaIndex

int FPGATrackSimHit::m_etaIndex = -1
protected

Definition at line 200 of file FPGATrackSimHit.h.

◆ m_etaModule

int FPGATrackSimHit::m_etaModule = 0
protected

Definition at line 188 of file FPGATrackSimHit.h.

◆ m_etaWidth

unsigned FPGATrackSimHit::m_etaWidth = 0
protected

Definition at line 190 of file FPGATrackSimHit.h.

◆ m_eventindex

long FPGATrackSimHit::m_eventindex = 0
protected

Definition at line 224 of file FPGATrackSimHit.h.

◆ m_hitType

HitType FPGATrackSimHit::m_hitType = HitType::undefined
protected

Definition at line 179 of file FPGATrackSimHit.h.

◆ m_hw_word

unsigned FPGATrackSimHit::m_hw_word = 0
protected

Definition at line 222 of file FPGATrackSimHit.h.

◆ m_identifier

unsigned int FPGATrackSimHit::m_identifier = 0
protected

Definition at line 184 of file FPGATrackSimHit.h.

◆ m_identifierHash

unsigned FPGATrackSimHit::m_identifierHash = 0
protected

Definition at line 185 of file FPGATrackSimHit.h.

◆ m_isValidForITK

bool FPGATrackSimHit::m_isValidForITK = false
protected

Definition at line 238 of file FPGATrackSimHit.h.

◆ m_layer

int FPGATrackSimHit::m_layer = -1
protected

Definition at line 195 of file FPGATrackSimHit.h.

◆ m_layer_disk

unsigned FPGATrackSimHit::m_layer_disk = 0
protected

Definition at line 186 of file FPGATrackSimHit.h.

◆ m_originalX

float FPGATrackSimHit::m_originalX = 0
protected

Definition at line 208 of file FPGATrackSimHit.h.

◆ m_originalY

float FPGATrackSimHit::m_originalY = 0
protected

Definition at line 209 of file FPGATrackSimHit.h.

◆ m_originalZ

float FPGATrackSimHit::m_originalZ = 0
protected

Definition at line 210 of file FPGATrackSimHit.h.

◆ m_pairedEtaModule

int FPGATrackSimHit::m_pairedEtaModule = -1
protected

Definition at line 217 of file FPGATrackSimHit.h.

◆ m_pairedLayer

unsigned FPGATrackSimHit::m_pairedLayer = 0
protected

Definition at line 219 of file FPGATrackSimHit.h.

◆ m_pairedPhiModule

unsigned FPGATrackSimHit::m_pairedPhiModule = -1
protected

Definition at line 216 of file FPGATrackSimHit.h.

◆ m_pairedSection

unsigned FPGATrackSimHit::m_pairedSection = 0
protected

Definition at line 218 of file FPGATrackSimHit.h.

◆ m_parentage_mask

unsigned long FPGATrackSimHit::m_parentage_mask = 0
protected

Definition at line 229 of file FPGATrackSimHit.h.

◆ m_phiIndex

int FPGATrackSimHit::m_phiIndex = -1
protected

Definition at line 199 of file FPGATrackSimHit.h.

◆ m_phiModule

unsigned FPGATrackSimHit::m_phiModule = 0
protected

Definition at line 189 of file FPGATrackSimHit.h.

◆ m_phiWidth

unsigned FPGATrackSimHit::m_phiWidth = 0
protected

Definition at line 191 of file FPGATrackSimHit.h.

◆ m_phiWindow

float FPGATrackSimHit::m_phiWindow = 0
protected

Definition at line 213 of file FPGATrackSimHit.h.

◆ m_roadID

int FPGATrackSimHit::m_roadID = 0
protected

Definition at line 243 of file FPGATrackSimHit.h.

◆ m_section

int FPGATrackSimHit::m_section = -1
protected

Definition at line 196 of file FPGATrackSimHit.h.

◆ m_side

unsigned FPGATrackSimHit::m_side = 0
protected

Definition at line 187 of file FPGATrackSimHit.h.

◆ m_stripChipinITKEDM

int FPGATrackSimHit::m_stripChipinITKEDM = -1
protected

Definition at line 240 of file FPGATrackSimHit.h.

◆ m_stripHitMapinITKEDM

int FPGATrackSimHit::m_stripHitMapinITKEDM = -1
protected

Definition at line 241 of file FPGATrackSimHit.h.

◆ m_stripRowinITKEDM

int FPGATrackSimHit::m_stripRowinITKEDM = -1
protected

Definition at line 239 of file FPGATrackSimHit.h.

◆ m_ToT

unsigned FPGATrackSimHit::m_ToT = 0
protected

Definition at line 223 of file FPGATrackSimHit.h.

◆ m_truth

FPGATrackSimMultiTruth FPGATrackSimHit::m_truth
protected

Definition at line 231 of file FPGATrackSimHit.h.

◆ m_uniqueID

HepMcParticleLink::barcode_type FPGATrackSimHit::m_uniqueID = 0
protected

Definition at line 226 of file FPGATrackSimHit.h.

◆ m_x

float FPGATrackSimHit::m_x = 0
protected

Definition at line 203 of file FPGATrackSimHit.h.

◆ m_y

float FPGATrackSimHit::m_y = 0
protected

Definition at line 204 of file FPGATrackSimHit.h.

◆ m_z

float FPGATrackSimHit::m_z = 0
protected

Definition at line 205 of file FPGATrackSimHit.h.


The documentation for this class was generated from the following files:
FPGATrackSimHit::m_detType
SiliconTech m_detType
Definition: FPGATrackSimHit.h:181
FPGATrackSimHit::getSection
unsigned getSection() const
Definition: FPGATrackSimHit.cxx:80
FPGATrackSimHit::getPhiModule
unsigned getPhiModule() const
Definition: FPGATrackSimHit.h:88
FPGATrackSimHit::m_identifier
unsigned int m_identifier
Definition: FPGATrackSimHit.h:184
FPGATrackSimHit::m_barcode
HepMcParticleLink::barcode_type m_barcode
Definition: FPGATrackSimHit.h:225
SiliconTech::strip
@ strip
FPGATrackSimHit::getPhysLayer
unsigned getPhysLayer() const
Definition: FPGATrackSimHit.cxx:66
FPGATrackSimHit::m_stripHitMapinITKEDM
int m_stripHitMapinITKEDM
Definition: FPGATrackSimHit.h:241
FPGATrackSimHit::m_originalY
float m_originalY
Definition: FPGATrackSimHit.h:209
FPGATrackSimHit::m_eventindex
long m_eventindex
Definition: FPGATrackSimHit.h:224
FPGATrackSimHit::getLayer
unsigned getLayer() const
Definition: FPGATrackSimHit.cxx:74
FPGATrackSimHit::m_stripChipinITKEDM
int m_stripChipinITKEDM
Definition: FPGATrackSimHit.h:240
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
FPGATrackSimHit::m_pairedEtaModule
int m_pairedEtaModule
Definition: FPGATrackSimHit.h:217
HitType::spacepoint
@ spacepoint
FPGATrackSimHit::getEtaModule
int getEtaModule() const
Definition: FPGATrackSimHit.h:87
FPGATrackSimHit::setY
void setY(float v)
Definition: FPGATrackSimHit.h:128
FPGATrackSimHit::m_identifierHash
unsigned m_identifierHash
Definition: FPGATrackSimHit.h:185
FPGATrackSimHit::m_hitType
HitType m_hitType
Definition: FPGATrackSimHit.h:179
x
#define x
HitType::undefined
@ undefined
FPGATrackSimHit::m_y
float m_y
Definition: FPGATrackSimHit.h:204
FPGATrackSimHit
Definition: FPGATrackSimHit.h:41
FPGATrackSimHit::m_etaWidth
unsigned m_etaWidth
Definition: FPGATrackSimHit.h:190
FPGATrackSimHit::getPhiCoord
float getPhiCoord() const
Definition: FPGATrackSimHit.h:108
FPGATrackSimHit::setX
void setX(float v)
Definition: FPGATrackSimHit.h:127
to_string
std::string to_string(HitType t)
Definition: FPGATrackSimHit.cxx:151
FPGATrackSimHit::m_uniqueID
HepMcParticleLink::barcode_type m_uniqueID
Definition: FPGATrackSimHit.h:226
FPGATrackSimHit::m_isValidForITK
bool m_isValidForITK
Definition: FPGATrackSimHit.h:238
z
#define z
FPGATrackSimHit::m_etaIndex
int m_etaIndex
Definition: FPGATrackSimHit.h:200
FPGATrackSimHit::m_z
float m_z
Definition: FPGATrackSimHit.h:205
FPGATrackSimHit::m_phiModule
unsigned m_phiModule
Definition: FPGATrackSimHit.h:189
FPGATrackSimHit::m_barcode_pt
float m_barcode_pt
Definition: FPGATrackSimHit.h:227
FPGATrackSimHit::m_ToT
unsigned m_ToT
Definition: FPGATrackSimHit.h:223
FPGATrackSimHit::m_pairedLayer
unsigned m_pairedLayer
Definition: FPGATrackSimHit.h:219
FPGATrackSimHit::m_originalX
float m_originalX
Definition: FPGATrackSimHit.h:208
FPGATrackSimHit::isPixel
bool isPixel() const
Definition: FPGATrackSimHit.h:64
FPGATrackSimHit::m_layer
int m_layer
Definition: FPGATrackSimHit.h:195
FPGATrackSimHit::m_phiWidth
unsigned m_phiWidth
Definition: FPGATrackSimHit.h:191
FPGATrackSimHit::m_roadID
int m_roadID
Definition: FPGATrackSimHit.h:243
FPGATrackSimHit::m_truth
FPGATrackSimMultiTruth m_truth
Definition: FPGATrackSimHit.h:231
FPGATrackSimHit::m_pairedSection
unsigned m_pairedSection
Definition: FPGATrackSimHit.h:218
HitType::clustered
@ clustered
FPGATrackSimHit::getEtaCoord
float getEtaCoord() const
Definition: FPGATrackSimHit.h:109
FPGATrackSimHit::setZ
void setZ(float v)
Definition: FPGATrackSimHit.h:129
HitType::mapped
@ mapped
python.PyAthena.v
v
Definition: PyAthena.py:154
FPGATrackSimHit::isMapped
bool isMapped() const
Definition: FPGATrackSimHit.cxx:13
FPGATrackSimHit::getR
float getR() const
Definition: FPGATrackSimHit.h:133
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
y
#define y
FPGATrackSimHit::m_originalZ
float m_originalZ
Definition: FPGATrackSimHit.h:210
FPGATrackSimHit::m_detectorZone
DetectorZone m_detectorZone
Definition: FPGATrackSimHit.h:180
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FPGATrackSimHit::m_layer_disk
unsigned m_layer_disk
Definition: FPGATrackSimHit.h:186
FPGATrackSimHit::m_pairedPhiModule
unsigned m_pairedPhiModule
Definition: FPGATrackSimHit.h:216
DetectorZone::barrel
@ barrel
FPGATrackSimHit::m_phiWindow
float m_phiWindow
Definition: FPGATrackSimHit.h:213
FPGATrackSimHit::m_x
float m_x
Definition: FPGATrackSimHit.h:203
FPGATrackSimHit::m_stripRowinITKEDM
int m_stripRowinITKEDM
Definition: FPGATrackSimHit.h:239
FPGATrackSimHit::m_phiIndex
int m_phiIndex
Definition: FPGATrackSimHit.h:199
FPGATrackSimHit::m_side
unsigned m_side
Definition: FPGATrackSimHit.h:187
FPGATrackSimHit::setTruth
void setTruth(const FPGATrackSimMultiTruth &v)
Definition: FPGATrackSimHit.h:144
FPGATrackSimHit::m_section
int m_section
Definition: FPGATrackSimHit.h:196
FPGATrackSimHit::m_etaModule
int m_etaModule
Definition: FPGATrackSimHit.h:188
SiliconTech::pixel
@ pixel
FPGATrackSimHit::m_parentage_mask
unsigned long m_parentage_mask
Definition: FPGATrackSimHit.h:229
FPGATrackSimHit::getHitType
HitType getHitType() const
Definition: FPGATrackSimHit.h:57
HitType::unmapped
@ unmapped
FPGATrackSimHit::setHitType
void setHitType(HitType type)
Definition: FPGATrackSimHit.h:54
LArGeo::ATan2
GeoGenfun::FunctionNoop ATan2(GeoGenfun::GENFUNCTION y, GeoGenfun::GENFUNCTION x)
Definition: BarrelAuxFunctions.cxx:50