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
 
unsigned getPairedPhysLayer () const
 
DetectorZone getPairedDetZone () const
 
SiliconTech getPairedDetType () const
 
void setPairedLayer (unsigned v)
 
void setPairedSection (unsigned v)
 
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)
 
bool isRemapped () const
 
void setRemap ()
 

Protected Member Functions

 ClassDefNV (FPGATrackSimHit, 9)
 

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
 
bool m_isRemapped = false
 
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
 
DetectorZone m_pairedDetZone = DetectorZone::undefined
 
SiliconTech m_pairedDetType = SiliconTech::undefined
 
unsigned m_pairedPhysLayer = 0
 
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 153 of file FPGATrackSimHit.h.

153 { return m_barcode; }

◆ getBarcodePt()

float FPGATrackSimHit::getBarcodePt ( ) const
inline

Definition at line 156 of file FPGATrackSimHit.h.

156 { 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 155 of file FPGATrackSimHit.h.

155 { return m_eventindex; }

◆ getGCotTheta()

float FPGATrackSimHit::getGCotTheta ( ) const
inline

Definition at line 142 of file FPGATrackSimHit.h.

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

◆ getGPhi()

float FPGATrackSimHit::getGPhi ( ) const
inline

Definition at line 141 of file FPGATrackSimHit.h.

141 { 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 77 of file FPGATrackSimHit.cxx.

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

◆ 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 123 of file FPGATrackSimHit.cxx.

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

◆ getPairedDetType()

SiliconTech FPGATrackSimHit::getPairedDetType ( ) const
inline

Definition at line 127 of file FPGATrackSimHit.h.

127 { return m_pairedDetType; }

◆ getPairedDetZone()

DetectorZone FPGATrackSimHit::getPairedDetZone ( ) const
inline

Definition at line 126 of file FPGATrackSimHit.h.

126 { return m_pairedDetZone; }

◆ 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; }

◆ getPairedPhysLayer()

unsigned FPGATrackSimHit::getPairedPhysLayer ( ) const
inline

Definition at line 125 of file FPGATrackSimHit.h.

125 { return m_pairedPhysLayer; }

◆ 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 157 of file FPGATrackSimHit.h.

157 { 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 69 of file FPGATrackSimHit.cxx.

70 {
72  return 2 * m_layer_disk + m_side;
73  return m_layer_disk;
74 }

◆ getR()

float FPGATrackSimHit::getR ( ) const
inline

Definition at line 140 of file FPGATrackSimHit.h.

140 { 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 83 of file FPGATrackSimHit.cxx.

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

◆ 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 170 of file FPGATrackSimHit.h.

170 {return m_stripChipinITKEDM;}

◆ getStripHitMapForITk()

int FPGATrackSimHit::getStripHitMapForITk ( ) const
inline

Definition at line 171 of file FPGATrackSimHit.h.

171 {return m_stripHitMapinITKEDM;}

◆ getStripRowIDForITk()

int FPGATrackSimHit::getStripRowIDForITk ( ) const
inline

Definition at line 169 of file FPGATrackSimHit.h.

169 {return m_stripRowinITKEDM;}

◆ getToT()

unsigned FPGATrackSimHit::getToT ( ) const
inline

Definition at line 152 of file FPGATrackSimHit.h.

152 { return m_ToT ;}

◆ getTruth()

const FPGATrackSimMultiTruth& FPGATrackSimHit::getTruth ( ) const
inline

Definition at line 158 of file FPGATrackSimHit.h.

158 { return m_truth; }

◆ getUniqueID()

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

Definition at line 154 of file FPGATrackSimHit.h.

154 { return m_uniqueID; }

◆ getX()

float FPGATrackSimHit::getX ( ) const
inline

Definition at line 137 of file FPGATrackSimHit.h.

137 { return m_x; }

◆ getY()

float FPGATrackSimHit::getY ( ) const
inline

Definition at line 138 of file FPGATrackSimHit.h.

138 { return m_y; }

◆ getZ()

float FPGATrackSimHit::getZ ( ) const
inline

Definition at line 139 of file FPGATrackSimHit.h.

139 { 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 28 of file FPGATrackSimHit.cxx.

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

◆ isMapped()

bool FPGATrackSimHit::isMapped ( ) const

Definition at line 13 of file FPGATrackSimHit.cxx.

14 {
15  if(m_layer>=0){
16  return true;
17  }
18  return false;
19 }

◆ 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 40 of file FPGATrackSimHit.cxx.

41 {
42  switch (m_hitType)
43  {
44  case HitType::unmapped:
45  case HitType::mapped:
46  case HitType::clustered:
48  return true;
49  default:
50  return false;
51  }
52 }

◆ isRemapped()

bool FPGATrackSimHit::isRemapped ( ) const

Definition at line 20 of file FPGATrackSimHit.cxx.

21 {
22  return m_isRemapped;
23 }

◆ 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 168 of file FPGATrackSimHit.h.

168 {return m_isValidForITK;}

◆ makeSpacepoint()

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

Definition at line 89 of file FPGATrackSimHit.cxx.

89  {
90  // Update coordinates. This keeps a copy of the old ones.
91  setX(x);
92  setY(y);
93  setZ(z);
94 
95  // Store the phi window.
96  m_phiWindow = window;
97 
98  // Update the truth, so we can do truth matching.
99  setTruth(new_truth);
100 
101  // Store the local coordinates of the inner hit.
102  // the need for a subclass in the futer should be considered.
103  const FPGATrackSimHit* inner = ((getPhysLayer() % 2) == 0) ? this : &other;
104  m_pairedEtaModule = inner->getEtaModule();
105  m_pairedPhiModule = inner->getPhiModule();
106 
107  // If the hit is unmapped we need to store the physical
108  // layer coordinates, and when the hit *becomes* mapped, update the paired logical layer too.
109  if (isMapped()) {
110  m_pairedSection = inner->getSection();
111  m_pairedLayer = inner->getLayer();
112  }
113 
114  m_pairedDetZone = inner->getDetectorZone();
115  m_pairedDetType = inner->getDetType();
116  m_pairedPhysLayer = inner->getPhysLayer();
117 
118 
119  // Update the type.
121 }

◆ setBarcode()

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

Definition at line 146 of file FPGATrackSimHit.h.

146 { m_barcode = v; }

◆ setBarcodePt()

void FPGATrackSimHit::setBarcodePt ( float  v)
inline

Definition at line 148 of file FPGATrackSimHit.h.

148 { 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 149 of file FPGATrackSimHit.h.

149 { 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 173 of file FPGATrackSimHit.h.

173 { 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

◆ setPairedLayer()

void FPGATrackSimHit::setPairedLayer ( unsigned  v)
inline

Definition at line 130 of file FPGATrackSimHit.h.

130 { m_pairedLayer = v; }

◆ setPairedSection()

void FPGATrackSimHit::setPairedSection ( unsigned  v)
inline

Definition at line 131 of file FPGATrackSimHit.h.

131 { m_pairedSection = v; }

◆ setParentageMask()

void FPGATrackSimHit::setParentageMask ( unsigned long  v)
inline

Definition at line 150 of file FPGATrackSimHit.h.

150 { 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 55 of file FPGATrackSimHit.cxx.

56 {
58  {
59  m_layer_disk = v / 2;
60  m_side = v % 2;
61  }
62  else
63  {
64  m_layer_disk = v;
65  }
66 }

◆ setRemap()

void FPGATrackSimHit::setRemap ( )

Definition at line 24 of file FPGATrackSimHit.cxx.

25 {
26  m_isRemapped=true;
27 }

◆ 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 175 of file FPGATrackSimHit.h.

◆ setStripHitMapForITk()

void FPGATrackSimHit::setStripHitMapForITk ( int  v)
inline

Definition at line 176 of file FPGATrackSimHit.h.

◆ setStripRowIDForITk()

void FPGATrackSimHit::setStripRowIDForITk ( int  v)
inline

Definition at line 174 of file FPGATrackSimHit.h.

174 { m_stripRowinITKEDM = v;}

◆ setToT()

void FPGATrackSimHit::setToT ( unsigned  v)
inline

Definition at line 145 of file FPGATrackSimHit.h.

145 { m_ToT = v; }

◆ setTruth()

void FPGATrackSimHit::setTruth ( const FPGATrackSimMultiTruth v)
inline

Definition at line 151 of file FPGATrackSimHit.h.

151 { m_truth = v; }

◆ setUniqueID()

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

Definition at line 147 of file FPGATrackSimHit.h.

147 { m_uniqueID = v; }

◆ setX()

void FPGATrackSimHit::setX ( float  v)
inline

Definition at line 134 of file FPGATrackSimHit.h.

134 { m_originalX = m_x; m_x = v; }

◆ setY()

void FPGATrackSimHit::setY ( float  v)
inline

Definition at line 135 of file FPGATrackSimHit.h.

135 { m_originalY = m_y; m_y = v; }

◆ setZ()

void FPGATrackSimHit::setZ ( float  v)
inline

Definition at line 136 of file FPGATrackSimHit.h.

136 { 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 143 of file FPGATrackSimHit.cxx.

144 {
145  out << "type=" << hit.m_hitType
146  << " tech=" << hit.m_detType
147  << " zone=" << hit.m_detectorZone
148  << " etamod=" << hit.getEtaModule()
149  << " phimod=" << hit.getPhiModule()
150  << " physLayer=" << hit.getPhysLayer()
151  << " eta=" << hit.getEtaCoord()
152  << " phi=" << hit.getPhiCoord();
153 
154  return out;
155 }

Member Data Documentation

◆ m_barcode

HepMcParticleLink::barcode_type FPGATrackSimHit::m_barcode = 0
protected

Definition at line 245 of file FPGATrackSimHit.h.

◆ m_barcode_pt

float FPGATrackSimHit::m_barcode_pt = 0
protected

Definition at line 247 of file FPGATrackSimHit.h.

◆ m_detectorZone

DetectorZone FPGATrackSimHit::m_detectorZone = DetectorZone::undefined
protected

Definition at line 191 of file FPGATrackSimHit.h.

◆ m_detType

SiliconTech FPGATrackSimHit::m_detType = SiliconTech::undefined
protected

Definition at line 192 of file FPGATrackSimHit.h.

◆ m_etaIndex

int FPGATrackSimHit::m_etaIndex = -1
protected

Definition at line 213 of file FPGATrackSimHit.h.

◆ m_etaModule

int FPGATrackSimHit::m_etaModule = 0
protected

Definition at line 199 of file FPGATrackSimHit.h.

◆ m_etaWidth

unsigned FPGATrackSimHit::m_etaWidth = 0
protected

Definition at line 201 of file FPGATrackSimHit.h.

◆ m_eventindex

long FPGATrackSimHit::m_eventindex = 0
protected

Definition at line 244 of file FPGATrackSimHit.h.

◆ m_hitType

HitType FPGATrackSimHit::m_hitType = HitType::undefined
protected

Definition at line 190 of file FPGATrackSimHit.h.

◆ m_hw_word

unsigned FPGATrackSimHit::m_hw_word = 0
protected

Definition at line 242 of file FPGATrackSimHit.h.

◆ m_identifier

unsigned int FPGATrackSimHit::m_identifier = 0
protected

Definition at line 195 of file FPGATrackSimHit.h.

◆ m_identifierHash

unsigned FPGATrackSimHit::m_identifierHash = 0
protected

Definition at line 196 of file FPGATrackSimHit.h.

◆ m_isRemapped

bool FPGATrackSimHit::m_isRemapped = false
protected

Definition at line 210 of file FPGATrackSimHit.h.

◆ m_isValidForITK

bool FPGATrackSimHit::m_isValidForITK = false
protected

Definition at line 258 of file FPGATrackSimHit.h.

◆ m_layer

int FPGATrackSimHit::m_layer = -1
protected

Definition at line 206 of file FPGATrackSimHit.h.

◆ m_layer_disk

unsigned FPGATrackSimHit::m_layer_disk = 0
protected

Definition at line 197 of file FPGATrackSimHit.h.

◆ m_originalX

float FPGATrackSimHit::m_originalX = 0
protected

Definition at line 221 of file FPGATrackSimHit.h.

◆ m_originalY

float FPGATrackSimHit::m_originalY = 0
protected

Definition at line 222 of file FPGATrackSimHit.h.

◆ m_originalZ

float FPGATrackSimHit::m_originalZ = 0
protected

Definition at line 223 of file FPGATrackSimHit.h.

◆ m_pairedDetType

SiliconTech FPGATrackSimHit::m_pairedDetType = SiliconTech::undefined
protected

Definition at line 234 of file FPGATrackSimHit.h.

◆ m_pairedDetZone

DetectorZone FPGATrackSimHit::m_pairedDetZone = DetectorZone::undefined
protected

Definition at line 233 of file FPGATrackSimHit.h.

◆ m_pairedEtaModule

int FPGATrackSimHit::m_pairedEtaModule = -1
protected

Definition at line 230 of file FPGATrackSimHit.h.

◆ m_pairedLayer

unsigned FPGATrackSimHit::m_pairedLayer = 0
protected

Definition at line 239 of file FPGATrackSimHit.h.

◆ m_pairedPhiModule

unsigned FPGATrackSimHit::m_pairedPhiModule = -1
protected

Definition at line 229 of file FPGATrackSimHit.h.

◆ m_pairedPhysLayer

unsigned FPGATrackSimHit::m_pairedPhysLayer = 0
protected

Definition at line 235 of file FPGATrackSimHit.h.

◆ m_pairedSection

unsigned FPGATrackSimHit::m_pairedSection = 0
protected

Definition at line 238 of file FPGATrackSimHit.h.

◆ m_parentage_mask

unsigned long FPGATrackSimHit::m_parentage_mask = 0
protected

Definition at line 249 of file FPGATrackSimHit.h.

◆ m_phiIndex

int FPGATrackSimHit::m_phiIndex = -1
protected

Definition at line 212 of file FPGATrackSimHit.h.

◆ m_phiModule

unsigned FPGATrackSimHit::m_phiModule = 0
protected

Definition at line 200 of file FPGATrackSimHit.h.

◆ m_phiWidth

unsigned FPGATrackSimHit::m_phiWidth = 0
protected

Definition at line 202 of file FPGATrackSimHit.h.

◆ m_phiWindow

float FPGATrackSimHit::m_phiWindow = 0
protected

Definition at line 226 of file FPGATrackSimHit.h.

◆ m_roadID

int FPGATrackSimHit::m_roadID = 0
protected

Definition at line 263 of file FPGATrackSimHit.h.

◆ m_section

int FPGATrackSimHit::m_section = -1
protected

Definition at line 207 of file FPGATrackSimHit.h.

◆ m_side

unsigned FPGATrackSimHit::m_side = 0
protected

Definition at line 198 of file FPGATrackSimHit.h.

◆ m_stripChipinITKEDM

int FPGATrackSimHit::m_stripChipinITKEDM = -1
protected

Definition at line 260 of file FPGATrackSimHit.h.

◆ m_stripHitMapinITKEDM

int FPGATrackSimHit::m_stripHitMapinITKEDM = -1
protected

Definition at line 261 of file FPGATrackSimHit.h.

◆ m_stripRowinITKEDM

int FPGATrackSimHit::m_stripRowinITKEDM = -1
protected

Definition at line 259 of file FPGATrackSimHit.h.

◆ m_ToT

unsigned FPGATrackSimHit::m_ToT = 0
protected

Definition at line 243 of file FPGATrackSimHit.h.

◆ m_truth

FPGATrackSimMultiTruth FPGATrackSimHit::m_truth
protected

Definition at line 251 of file FPGATrackSimHit.h.

◆ m_uniqueID

HepMcParticleLink::barcode_type FPGATrackSimHit::m_uniqueID = 0
protected

Definition at line 246 of file FPGATrackSimHit.h.

◆ m_x

float FPGATrackSimHit::m_x = 0
protected

Definition at line 216 of file FPGATrackSimHit.h.

◆ m_y

float FPGATrackSimHit::m_y = 0
protected

Definition at line 217 of file FPGATrackSimHit.h.

◆ m_z

float FPGATrackSimHit::m_z = 0
protected

Definition at line 218 of file FPGATrackSimHit.h.


The documentation for this class was generated from the following files:
FPGATrackSimHit::m_detType
SiliconTech m_detType
Definition: FPGATrackSimHit.h:192
FPGATrackSimHit::getSection
unsigned getSection() const
Definition: FPGATrackSimHit.cxx:83
FPGATrackSimHit::getPhiModule
unsigned getPhiModule() const
Definition: FPGATrackSimHit.h:88
FPGATrackSimHit::m_identifier
unsigned int m_identifier
Definition: FPGATrackSimHit.h:195
FPGATrackSimHit::m_barcode
HepMcParticleLink::barcode_type m_barcode
Definition: FPGATrackSimHit.h:245
SiliconTech::strip
@ strip
FPGATrackSimHit::getPhysLayer
unsigned getPhysLayer() const
Definition: FPGATrackSimHit.cxx:69
FPGATrackSimHit::m_stripHitMapinITKEDM
int m_stripHitMapinITKEDM
Definition: FPGATrackSimHit.h:261
FPGATrackSimHit::m_originalY
float m_originalY
Definition: FPGATrackSimHit.h:222
FPGATrackSimHit::m_eventindex
long m_eventindex
Definition: FPGATrackSimHit.h:244
FPGATrackSimHit::getLayer
unsigned getLayer() const
Definition: FPGATrackSimHit.cxx:77
FPGATrackSimHit::m_stripChipinITKEDM
int m_stripChipinITKEDM
Definition: FPGATrackSimHit.h:260
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
FPGATrackSimHit::m_pairedEtaModule
int m_pairedEtaModule
Definition: FPGATrackSimHit.h:230
HitType::spacepoint
@ spacepoint
FPGATrackSimHit::getEtaModule
int getEtaModule() const
Definition: FPGATrackSimHit.h:87
FPGATrackSimHit::setY
void setY(float v)
Definition: FPGATrackSimHit.h:135
FPGATrackSimHit::m_identifierHash
unsigned m_identifierHash
Definition: FPGATrackSimHit.h:196
FPGATrackSimHit::m_hitType
HitType m_hitType
Definition: FPGATrackSimHit.h:190
x
#define x
FPGATrackSimHit::m_pairedDetZone
DetectorZone m_pairedDetZone
Definition: FPGATrackSimHit.h:233
FPGATrackSimHit::m_y
float m_y
Definition: FPGATrackSimHit.h:217
FPGATrackSimHit
Definition: FPGATrackSimHit.h:41
FPGATrackSimHit::m_etaWidth
unsigned m_etaWidth
Definition: FPGATrackSimHit.h:201
FPGATrackSimHit::getPhiCoord
float getPhiCoord() const
Definition: FPGATrackSimHit.h:108
FPGATrackSimHit::m_pairedPhysLayer
unsigned m_pairedPhysLayer
Definition: FPGATrackSimHit.h:235
FPGATrackSimHit::setX
void setX(float v)
Definition: FPGATrackSimHit.h:134
to_string
std::string to_string(HitType t)
Definition: FPGATrackSimHit.cxx:158
FPGATrackSimHit::m_uniqueID
HepMcParticleLink::barcode_type m_uniqueID
Definition: FPGATrackSimHit.h:246
FPGATrackSimHit::m_isValidForITK
bool m_isValidForITK
Definition: FPGATrackSimHit.h:258
z
#define z
FPGATrackSimHit::m_etaIndex
int m_etaIndex
Definition: FPGATrackSimHit.h:213
FPGATrackSimHit::m_z
float m_z
Definition: FPGATrackSimHit.h:218
FPGATrackSimHit::m_phiModule
unsigned m_phiModule
Definition: FPGATrackSimHit.h:200
FPGATrackSimHit::m_barcode_pt
float m_barcode_pt
Definition: FPGATrackSimHit.h:247
FPGATrackSimHit::m_ToT
unsigned m_ToT
Definition: FPGATrackSimHit.h:243
FPGATrackSimHit::m_pairedLayer
unsigned m_pairedLayer
Definition: FPGATrackSimHit.h:239
FPGATrackSimHit::m_originalX
float m_originalX
Definition: FPGATrackSimHit.h:221
FPGATrackSimHit::isPixel
bool isPixel() const
Definition: FPGATrackSimHit.h:64
FPGATrackSimHit::m_layer
int m_layer
Definition: FPGATrackSimHit.h:206
FPGATrackSimHit::getDetectorZone
DetectorZone getDetectorZone() const
Definition: FPGATrackSimHit.h:59
FPGATrackSimHit::m_phiWidth
unsigned m_phiWidth
Definition: FPGATrackSimHit.h:202
FPGATrackSimHit::m_roadID
int m_roadID
Definition: FPGATrackSimHit.h:263
FPGATrackSimHit::m_truth
FPGATrackSimMultiTruth m_truth
Definition: FPGATrackSimHit.h:251
FPGATrackSimHit::m_pairedSection
unsigned m_pairedSection
Definition: FPGATrackSimHit.h:238
HitType::clustered
@ clustered
FPGATrackSimHit::getEtaCoord
float getEtaCoord() const
Definition: FPGATrackSimHit.h:109
FPGATrackSimHit::setZ
void setZ(float v)
Definition: FPGATrackSimHit.h:136
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:140
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
y
#define y
FPGATrackSimHit::m_originalZ
float m_originalZ
Definition: FPGATrackSimHit.h:223
FPGATrackSimHit::m_detectorZone
DetectorZone m_detectorZone
Definition: FPGATrackSimHit.h:191
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FPGATrackSimHit::m_layer_disk
unsigned m_layer_disk
Definition: FPGATrackSimHit.h:197
FPGATrackSimHit::m_pairedPhiModule
unsigned m_pairedPhiModule
Definition: FPGATrackSimHit.h:229
FPGATrackSimHit::getDetType
SiliconTech getDetType() const
Definition: FPGATrackSimHit.h:58
DetectorZone::barrel
@ barrel
FPGATrackSimHit::m_phiWindow
float m_phiWindow
Definition: FPGATrackSimHit.h:226
FPGATrackSimHit::m_pairedDetType
SiliconTech m_pairedDetType
Definition: FPGATrackSimHit.h:234
FPGATrackSimHit::m_isRemapped
bool m_isRemapped
Definition: FPGATrackSimHit.h:210
FPGATrackSimHit::m_x
float m_x
Definition: FPGATrackSimHit.h:216
FPGATrackSimHit::m_stripRowinITKEDM
int m_stripRowinITKEDM
Definition: FPGATrackSimHit.h:259
FPGATrackSimHit::m_phiIndex
int m_phiIndex
Definition: FPGATrackSimHit.h:212
FPGATrackSimHit::m_side
unsigned m_side
Definition: FPGATrackSimHit.h:198
FPGATrackSimHit::setTruth
void setTruth(const FPGATrackSimMultiTruth &v)
Definition: FPGATrackSimHit.h:151
FPGATrackSimHit::m_section
int m_section
Definition: FPGATrackSimHit.h:207
FPGATrackSimHit::m_etaModule
int m_etaModule
Definition: FPGATrackSimHit.h:199
SiliconTech::pixel
@ pixel
FPGATrackSimHit::m_parentage_mask
unsigned long m_parentage_mask
Definition: FPGATrackSimHit.h:249
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