ATLAS Offline Software
FPGATrackSimTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGFPGATrackSimOBJECTS_FPGATrackSimTRACK_H
6 #define TRIGFPGATrackSimOBJECTS_FPGATrackSimTRACK_H
7 
11 #include <vector>
12 #include <iosfwd>
13 #include <cmath>
14 
16 #include "TObject.h"
17 
19 
20  public:
21 
22  FPGATrackSimTrack() = default;
23  virtual ~FPGATrackSimTrack();
24 
27  bool getDoDeltaGPhis() const { return m_doDeltaGPhis; }
28  int getBankID() const { return m_bankID; }
29  int getPatternID() const { return m_patternID; }
30  int getFirstSectorID() const { return m_firstSectorID; }
31  int getSecondSectorID() const { return m_secondSectorID; }
32  int getTrackID() const { return m_trackID; }
33  float getParameter(int) const;
34  float getHoughX() const { return m_houghX; }
35  float getHoughY() const { return m_houghY; }
36  float getQOverPt() const { return m_qoverpt; }
37  float getPt() const { return m_qoverpt != 0 ? std::abs(1 / m_qoverpt) : 99999999.; }
38  float getD0() const { return m_d0; }
39  float getPhi() const { return m_phi; }
40  float getZ0() const { return m_z0; }
41  float getEta() const { return m_eta; }
42  float getTheta() const { return 2*std::atan(std::exp(-m_eta)); }
43  float getChi2() const { return m_chi2; }
44  float getChi2Phi() const { return m_chi2_phi; }
45  float getChi2Eta() const { return m_chi2_eta; }
46  float getOrigChi2() const { return m_origchi2; }
47  float getChi2ndof() const { return m_chi2 / (getNCoords() - m_nmissing - 5); }
48  float getOrigChi2ndof() const { return m_origchi2 / (getNCoords() - m_nmissing - 5); }
49  int getSubRegion() const { return m_subregion; }
50  int getRegion() const { return m_region; }
51  unsigned getHoughXBin() const { return m_xBin; }
52  unsigned getHoughYBin() const { return m_yBin; }
53 
54  int getNMissing() const { return m_nmissing; } // missing coordinates
55  unsigned int getTypeMask() const { return m_typemask; }
56  unsigned int getHitMap() const { return m_hitmap; } // coordinate mask!!
57  //write a detmap
58  int getNCoords() const;
59  signed long getEventIndex() const { return m_eventindex; }
62  unsigned long barcode() const { return getBarcode(); }
63  float getBarcodeFrac() const { return m_barcode_frac; }
64  //Should be passed as const ref to avoid excessive copying.
65  const std::vector <FPGATrackSimHit>& getFPGATrackSimHits() const { return m_hits; }
66  std::vector<float> getCoords(unsigned ilayer) const;
67  // helper function to calculate coordinates for the methods based in idealized detector geometry. See https://cds.cern.ch/record/2633242
68  // in the delta global phis method, the coordinates are the ideal z, and the delta global phis.
69  // the delta global phis are the difference between the global phi of the input hit transformed to the ideal detector layer (this is hitGPhi)
70  // and the global phi of the Hough Transform "track" at the ideal layers radius (target_r, R') (this is expectedGPhi)
71  // expectedGPhi = phi_0 (from HT) - R' * A*q/pT - ((R' * A*q/pT)^3) / 6
72  // hitGPhi = GPhi (from hit) + (R - R') * A*q/pT + ((R * A*q/pT)^3) / 6
73  std::vector<float> computeIdealCoords(unsigned ilayer) const;
74  //Has some size protections
75  float getEtaCoord(int ilayer) const;
76  float getPhiCoord(int ilayer) const;
77 
78  // Retrieve the idealized radius for a given layer.
79  double getIdealRadius(int ilayer) const { return m_idealRadii.at(ilayer); };
80 
81  bool isValidCand() const { return m_isValidCand; }
82 
85  void setDoDeltaGPhis(bool v) { m_doDeltaGPhis = v; }
86  void setBankID(int v) { m_bankID = v; }
87  void setPatternID(int v) { m_patternID = v; }
90  void setTrackID(int v) { m_trackID = v; }
91  void setParameter(int, float);
92  void setHoughX(float v) { m_houghX = v; }
93  void setHoughY(float v) { m_houghY = v; }
94  void setQOverPt(float v) { m_qoverpt = v; }
95  void setD0(float v) { m_d0 = v; }
96  void setPhi(float v, bool ForceRange = true);
97  void setZ0(float v) { m_z0 = v; }
98  void setEta(float v) { m_eta = v; }
99  void setChi2(float v) { m_chi2 = v; }
100  void setChi2Phi(float v) { m_chi2_phi = v; }
101  void setChi2Eta(float v) { m_chi2_eta = v; }
102  void setOrigChi2(float v) { m_origchi2 = v; }
103  void setNMissing(int v) { m_nmissing = v; }
104  void setTypeMask(unsigned int v) { m_typemask = v; }
105  void setHitMap(unsigned int v) { m_hitmap = v; }
106  void setEventIndex(const signed long& v) { m_eventindex = v; }
109  void setBarcodeFrac(const float& v) { m_barcode_frac = v; }
110 
111  void setSubRegion(unsigned v) { m_subregion = v; }
112  void setRegion(unsigned v) { m_region = v; }
113  void setHoughXBin(unsigned v) { m_xBin = v; }
114  void setHoughYBin(unsigned v) { m_yBin = v;}
115 
116  void setValidCand(bool v) { m_isValidCand = v; }
117  void setIdealRadii(const std::vector<double>& v) { m_idealRadii = v; }
118 
119  // Bin ID, if using FPGATrackSim binning.
120  void setBinIdx(std::vector<unsigned> x) { m_binIdx = std::move(x); }
121  const std::vector<unsigned>& getBinIdx() const { return m_binIdx; }
122 
123  void calculateTruth(); // this will calculate the above quantities based on the hits
124  void setNLayers(int); //Reset/resize the track hits vector
125  void setFPGATrackSimHit(unsigned i, const FPGATrackSimHit& hit);
127  {
128  setQOverPt(pars.qOverPt);
129  setPhi(pars.phi, false);
130  setEta(pars.eta);
131  setD0(pars.d0);
132  setZ0(pars.z0);
133  }
134 
137  pars.qOverPt = getQOverPt();
138  pars.eta = getEta();
139  pars.phi = getPhi();
140  pars.d0 = getD0();
141  pars.z0 = getZ0();
142 
143  return pars;
144  }
145 
146  // Functions for overlap removal
147  unsigned int passedOR() const { return m_ORcode; }
148  void setPassedOR(unsigned int);
149 
150  friend std::ostream& operator<<(std::ostream&, const FPGATrackSimTrack&);
151 
152  private:
153 
154  TrackCorrType m_trackCorrType = TrackCorrType::None; // type of correction to make for track coordinates
155  TrackStage m_trackStage = TrackStage::FIRST; // Is this a 1st stage or second stage track?
156  bool m_doDeltaGPhis = false; // if it uses the delta phis method for fitting
157 
158  int m_bankID = -1; // Bank ID of the road related to this track
159  int m_patternID = 0; // TODO add documentation
160  int m_firstSectorID = -1; // Sector identifier in the first stage tracking
161  int m_secondSectorID = -1; // Sector identifier in thesecond stage tracking
162  int m_trackID = -1; // Unique track ID in this bank
163 
164  int m_IdealGeoCorr = 0; //
165 
166  float m_houghX = 0.0F; // phi0 from FPGATrackSimRoad_Hough
167  float m_houghY = 0.0F; // QOverPt from FPGATrackSimRoad_Hough
168  float m_qoverpt = 0.0F; // charge over pT
169  float m_d0 = 0.0F; // impact paramter in the ATLAS reference system
170  float m_phi = 0.0F; // phi of the track
171  float m_z0 = 0.0F; // z0 in standard ATLAS reference system
172  float m_eta = 0.0F; // eta of the track
173  float m_chi2 = 0.0F; // chi2 of the track
174  float m_chi2_phi = 0.0F; // chi2 of the track for phi coord only (if used)
175  float m_chi2_eta = 0.0F; // chi2 of the track for eta coord only (if used)
176  float m_origchi2 = 0.0F; // In the case of majority recovery, this is the chi2 of
177 
178  //TODO: Switch to matchedhits mask
179  unsigned int m_nmissing = 0; // number of missing coordinates
180  unsigned int m_typemask = 0; // set on in bits related to the step recovery were used, ex.: 0 no recovery, 01, rec 1st step, 11, recovery in the 1st and the 2nd stage
181  unsigned int m_hitmap = 0;
182 
183  // Subregion (aka slice) number of the corresponding road.
184  int m_subregion = 0;
185  //Setting region for the bfield to work
186  int m_region = 0;
187  // Hough x, y bin numbers (needed for recreation of roads in extrapolation)
188  unsigned m_xBin = 0;
189  unsigned m_yBin = 0;
190 
191  std::vector<FPGATrackSimHit> m_hits; //[m_nlayers] hits associated to the track
192 
193  // bin ID. Just store this as a vector<unsigned>.
194  std::vector<unsigned> m_binIdx;
195 
196  signed long m_eventindex = -1; // matched particle event index
199  // HepMcParticleLink::barcode_type m_uniqueID = std::numeric_limits<HepMcParticleLink::barcode_type>::max();
200  float m_barcode_frac = 0.0F; // largest "matching fraction" with any "good"
201  // geant particle, corresponding to the
202  // particle with m_barcode
203 
204  // Is this a valid track candidate for fitting?
205  // At the moment, this is only *not* true if the track candidate has an illegal mix of duplicated spacepoints.
206  bool m_isValidCand = true;
207 
208  // Idealized radii used for the fit for this track. Unclear if it makes sense to store here,
209  // but the information is loaded into the region map class at runtime and needs to be propagated
210  // over to the track object (where the coordinate transform _currently_ lives) somehow.
211  std::vector<double> m_idealRadii;
212 
213  // Overlap removal member
214  // There is currently only one algorithm
215  unsigned int m_ORcode = 1; // Each digit should represent pass/fail(1/0) result from a specific OR algorithm
216 
217  ClassDefNV(FPGATrackSimTrack, 7)
218 };
219 
220 #endif // TRIGFPGATrackSimOBJECTS_FPGATrackSimTRACK_H
FPGATrackSimTrack::m_trackStage
TrackStage m_trackStage
Definition: FPGATrackSimTrack.h:155
FPGATrackSimTrack::setHitMap
void setHitMap(unsigned int v)
Definition: FPGATrackSimTrack.h:105
FPGATrackSimTrack::getEta
float getEta() const
Definition: FPGATrackSimTrack.h:41
FPGATrackSimTrack::getPhiCoord
float getPhiCoord(int ilayer) const
Definition: FPGATrackSimTrack.cxx:67
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimTrack::setBinIdx
void setBinIdx(std::vector< unsigned > x)
Definition: FPGATrackSimTrack.h:120
FPGATrackSimTrack::calculateTruth
void calculateTruth()
Definition: FPGATrackSimTrack.cxx:220
FPGATrackSimTrack::getEventIndex
signed long getEventIndex() const
Definition: FPGATrackSimTrack.h:59
FPGATrackSimTrack::setD0
void setD0(float v)
Definition: FPGATrackSimTrack.h:95
FPGATrackSimTrack::getPt
float getPt() const
Definition: FPGATrackSimTrack.h:37
FPGATrackSimTrack::setPars
void setPars(FPGATrackSimTrackPars const &pars)
Definition: FPGATrackSimTrack.h:126
FPGATrackSimTrack::getTrackID
int getTrackID() const
Definition: FPGATrackSimTrack.h:32
FPGATrackSimTrack::setBankID
void setBankID(int v)
Definition: FPGATrackSimTrack.h:86
FPGATrackSimTrack::getNMissing
int getNMissing() const
Definition: FPGATrackSimTrack.h:54
FPGATrackSimTrack::getBarcode
HepMcParticleLink::barcode_type getBarcode() const
Definition: FPGATrackSimTrack.h:60
FPGATrackSimTrack::getDoDeltaGPhis
bool getDoDeltaGPhis() const
Definition: FPGATrackSimTrack.h:27
FPGATrackSimTrack::m_trackCorrType
TrackCorrType m_trackCorrType
Definition: FPGATrackSimTrack.h:154
FPGATrackSimTrack::m_chi2_eta
float m_chi2_eta
Definition: FPGATrackSimTrack.h:175
FPGATrackSimTrack
Definition: FPGATrackSimTrack.h:18
FPGATrackSimTrackPars
Definition: FPGATrackSimTrackPars.h:22
FPGATrackSimTrack::setPatternID
void setPatternID(int v)
Definition: FPGATrackSimTrack.h:87
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
FPGATrackSimTrack::getPhi
float getPhi() const
Definition: FPGATrackSimTrack.h:39
FPGATrackSimTrack::m_eta
float m_eta
Definition: FPGATrackSimTrack.h:172
FPGATrackSimTrack::getCoords
std::vector< float > getCoords(unsigned ilayer) const
Definition: FPGATrackSimTrack.cxx:20
FPGATrackSimTrack::setNMissing
void setNMissing(int v)
Definition: FPGATrackSimTrack.h:103
FPGATrackSimTrack::m_IdealGeoCorr
int m_IdealGeoCorr
Definition: FPGATrackSimTrack.h:164
FPGATrackSimTrack::setPassedOR
void setPassedOR(unsigned int)
Definition: FPGATrackSimTrack.cxx:259
FPGATrackSimTrack::getD0
float getD0() const
Definition: FPGATrackSimTrack.h:38
FPGATrackSimTrack::getRegion
int getRegion() const
Definition: FPGATrackSimTrack.h:50
FPGATrackSimTrack::setHoughXBin
void setHoughXBin(unsigned v)
Definition: FPGATrackSimTrack.h:113
FPGATrackSimTrack::setFirstSectorID
void setFirstSectorID(int v)
Definition: FPGATrackSimTrack.h:88
FPGATrackSimTrack::m_hitmap
unsigned int m_hitmap
Definition: FPGATrackSimTrack.h:181
FPGATrackSimTrack::getNCoords
int getNCoords() const
Definition: FPGATrackSimTrack.cxx:89
FPGATrackSimTrack::getHitMap
unsigned int getHitMap() const
Definition: FPGATrackSimTrack.h:56
FPGATrackSimMultiTruth.h
FPGATrackSimTrack::getTrackStage
TrackStage getTrackStage() const
Definition: FPGATrackSimTrack.h:26
drawFromPickle.exp
exp
Definition: drawFromPickle.py:36
FPGATrackSimTrack::getSubRegion
int getSubRegion() const
Definition: FPGATrackSimTrack.h:49
x
#define x
FPGATrackSimTrack::setFPGATrackSimHit
void setFPGATrackSimHit(unsigned i, const FPGATrackSimHit &hit)
Definition: FPGATrackSimTrack.cxx:98
FPGATrackSimTrack::passedOR
unsigned int passedOR() const
Definition: FPGATrackSimTrack.h:147
FPGATrackSimTrack::getHoughY
float getHoughY() const
Definition: FPGATrackSimTrack.h:35
FPGATrackSimTrack::m_chi2
float m_chi2
Definition: FPGATrackSimTrack.h:173
FPGATrackSimTrack::setOrigChi2
void setOrigChi2(float v)
Definition: FPGATrackSimTrack.h:102
drawFromPickle.atan
atan
Definition: drawFromPickle.py:36
FPGATrackSimTrack::setZ0
void setZ0(float v)
Definition: FPGATrackSimTrack.h:97
FPGATrackSimTrack::getQOverPt
float getQOverPt() const
Definition: FPGATrackSimTrack.h:36
FPGATrackSimTrack::getUniqueID
HepMcParticleLink::barcode_type getUniqueID() const
Definition: FPGATrackSimTrack.h:61
FPGATrackSimHit
Definition: FPGATrackSimHit.h:41
FPGATrackSimTrack::setPhi
void setPhi(float v, bool ForceRange=true)
Definition: FPGATrackSimTrack.cxx:115
FPGATrackSimTrack::setSecondSectorID
void setSecondSectorID(int v)
Definition: FPGATrackSimTrack.h:89
FPGATrackSimTrack::barcode
unsigned long barcode() const
Definition: FPGATrackSimTrack.h:62
TrackStage
TrackStage
Definition: FPGATrackSimTypes.h:34
FPGATrackSimTrack::m_binIdx
std::vector< unsigned > m_binIdx
Definition: FPGATrackSimTrack.h:194
FPGATrackSimTrack::setUniqueID
void setUniqueID(const HepMcParticleLink::barcode_type &v)
Definition: FPGATrackSimTrack.h:108
FPGATrackSimTrack::getFPGATrackSimHits
const std::vector< FPGATrackSimHit > & getFPGATrackSimHits() const
Definition: FPGATrackSimTrack.h:65
FPGATrackSimTrack::getBarcodeFrac
float getBarcodeFrac() const
Definition: FPGATrackSimTrack.h:63
FPGATrackSimTrack::getChi2Phi
float getChi2Phi() const
Definition: FPGATrackSimTrack.h:44
FPGATrackSimTrack::setHoughYBin
void setHoughYBin(unsigned v)
Definition: FPGATrackSimTrack.h:114
FPGATrackSimTrack::getChi2
float getChi2() const
Definition: FPGATrackSimTrack.h:43
FPGATrackSimTrack::getChi2ndof
float getChi2ndof() const
Definition: FPGATrackSimTrack.h:47
FPGATrackSimTrack::m_z0
float m_z0
Definition: FPGATrackSimTrack.h:171
FPGATrackSimTrack::m_phi
float m_phi
Definition: FPGATrackSimTrack.h:170
FPGATrackSimTrack::getSecondSectorID
int getSecondSectorID() const
Definition: FPGATrackSimTrack.h:31
FPGATrackSimTrack::m_patternID
int m_patternID
Definition: FPGATrackSimTrack.h:159
FPGATrackSimTrack::getIdealRadius
double getIdealRadius(int ilayer) const
Definition: FPGATrackSimTrack.h:79
FPGATrackSimTrack::m_uniqueID
HepMcParticleLink::barcode_type m_uniqueID
Definition: FPGATrackSimTrack.h:198
FPGATrackSimTrack::getZ0
float getZ0() const
Definition: FPGATrackSimTrack.h:40
FPGATrackSimTrack::setValidCand
void setValidCand(bool v)
Definition: FPGATrackSimTrack.h:116
lumiFormat.i
int i
Definition: lumiFormat.py:85
FPGATrackSimTrack::getTypeMask
unsigned int getTypeMask() const
Definition: FPGATrackSimTrack.h:55
FPGATrackSimTrack::getOrigChi2ndof
float getOrigChi2ndof() const
Definition: FPGATrackSimTrack.h:48
FPGATrackSimTrack::setRegion
void setRegion(unsigned v)
Definition: FPGATrackSimTrack.h:112
FPGATrackSimTrack::m_barcode_frac
float m_barcode_frac
Definition: FPGATrackSimTrack.h:200
TrackStage::FIRST
@ FIRST
FPGATrackSimTrack::setDoDeltaGPhis
void setDoDeltaGPhis(bool v)
Definition: FPGATrackSimTrack.h:85
FPGATrackSimTrack::m_barcode
HepMcParticleLink::barcode_type m_barcode
Definition: FPGATrackSimTrack.h:197
FPGATrackSimTrack::m_chi2_phi
float m_chi2_phi
Definition: FPGATrackSimTrack.h:174
FPGATrackSimTrack::m_region
int m_region
Definition: FPGATrackSimTrack.h:186
FPGATrackSimTrack::m_qoverpt
float m_qoverpt
Definition: FPGATrackSimTrack.h:168
FPGATrackSimTrack::getEtaCoord
float getEtaCoord(int ilayer) const
Definition: FPGATrackSimTrack.cxx:57
FPGATrackSimTrack::getOrigChi2
float getOrigChi2() const
Definition: FPGATrackSimTrack.h:46
FPGATrackSimTrack::getHoughXBin
unsigned getHoughXBin() const
Definition: FPGATrackSimTrack.h:51
FPGATrackSimTrack::operator<<
friend std::ostream & operator<<(std::ostream &, const FPGATrackSimTrack &)
Definition: FPGATrackSimTrack.cxx:177
FPGATrackSimTrack::m_firstSectorID
int m_firstSectorID
Definition: FPGATrackSimTrack.h:160
FPGATrackSimTrack::m_houghX
float m_houghX
Definition: FPGATrackSimTrack.h:166
FPGATrackSimTrack::getParameter
float getParameter(int) const
Definition: FPGATrackSimTrack.cxx:131
FPGATrackSimTrack::m_bankID
int m_bankID
Definition: FPGATrackSimTrack.h:158
FPGATrackSimTrack::setBarcodeFrac
void setBarcodeFrac(const float &v)
Definition: FPGATrackSimTrack.h:109
FPGATrackSimTrack::setTrackCorrType
void setTrackCorrType(TrackCorrType v)
Definition: FPGATrackSimTrack.h:83
FPGATrackSimTrack::setBarcode
void setBarcode(const HepMcParticleLink::barcode_type &v)
Definition: FPGATrackSimTrack.h:107
FPGATrackSimTrack::setParameter
void setParameter(int, float)
Definition: FPGATrackSimTrack.cxx:155
FPGATrackSimTrack::setTypeMask
void setTypeMask(unsigned int v)
Definition: FPGATrackSimTrack.h:104
FPGATrackSimTrack::getPars
FPGATrackSimTrackPars getPars() const
Definition: FPGATrackSimTrack.h:135
FPGATrackSimTrack::m_ORcode
unsigned int m_ORcode
Definition: FPGATrackSimTrack.h:215
FPGATrackSimTrack::setTrackStage
void setTrackStage(TrackStage v)
Definition: FPGATrackSimTrack.h:84
FPGATrackSimTrack::setIdealRadii
void setIdealRadii(const std::vector< double > &v)
Definition: FPGATrackSimTrack.h:117
FPGATrackSimTrack::getTrackCorrType
TrackCorrType getTrackCorrType() const
Definition: FPGATrackSimTrack.h:25
FPGATrackSimTrack::setEventIndex
void setEventIndex(const signed long &v)
Definition: FPGATrackSimTrack.h:106
FPGATrackSimTrack::m_idealRadii
std::vector< double > m_idealRadii
Definition: FPGATrackSimTrack.h:211
FPGATrackSimTrack::m_d0
float m_d0
Definition: FPGATrackSimTrack.h:169
TrackCorrType::None
@ None
FPGATrackSimHit.h
: FPGATrackSim-specific class to represent an hit in the detector.
FPGATrackSimTrack::m_secondSectorID
int m_secondSectorID
Definition: FPGATrackSimTrack.h:161
FPGATrackSimTrack::setHoughY
void setHoughY(float v)
Definition: FPGATrackSimTrack.h:93
FPGATrackSimTrack::setTrackID
void setTrackID(int v)
Definition: FPGATrackSimTrack.h:90
FPGATrackSimTrack::setQOverPt
void setQOverPt(float v)
Definition: FPGATrackSimTrack.h:94
FPGATrackSimTrack::setEta
void setEta(float v)
Definition: FPGATrackSimTrack.h:98
FPGATrackSimTrack::m_trackID
int m_trackID
Definition: FPGATrackSimTrack.h:162
FPGATrackSimTrack::m_hits
std::vector< FPGATrackSimHit > m_hits
Definition: FPGATrackSimTrack.h:191
FPGATrackSimTrack::setChi2Eta
void setChi2Eta(float v)
Definition: FPGATrackSimTrack.h:101
FPGATrackSimTrack::m_subregion
int m_subregion
Definition: FPGATrackSimTrack.h:184
python.PyAthena.v
v
Definition: PyAthena.py:154
FPGATrackSimTrack::getBinIdx
const std::vector< unsigned > & getBinIdx() const
Definition: FPGATrackSimTrack.h:121
FPGATrackSimTrack::getFirstSectorID
int getFirstSectorID() const
Definition: FPGATrackSimTrack.h:30
FPGATrackSimTrack::m_houghY
float m_houghY
Definition: FPGATrackSimTrack.h:167
FPGATrackSimTrack::setChi2
void setChi2(float v)
Definition: FPGATrackSimTrack.h:99
FPGATrackSimTrack::isValidCand
bool isValidCand() const
Definition: FPGATrackSimTrack.h:81
FPGATrackSimTrack::m_doDeltaGPhis
bool m_doDeltaGPhis
Definition: FPGATrackSimTrack.h:156
FPGATrackSimTrack::setSubRegion
void setSubRegion(unsigned v)
Definition: FPGATrackSimTrack.h:111
FPGATrackSimTrack::getPatternID
int getPatternID() const
Definition: FPGATrackSimTrack.h:29
FPGATrackSimTrack::setChi2Phi
void setChi2Phi(float v)
Definition: FPGATrackSimTrack.h:100
FPGATrackSimTrack::m_nmissing
unsigned int m_nmissing
Definition: FPGATrackSimTrack.h:179
FPGATrackSimTrack::getHoughYBin
unsigned getHoughYBin() const
Definition: FPGATrackSimTrack.h:52
FPGATrackSimTrack::m_yBin
unsigned m_yBin
Definition: FPGATrackSimTrack.h:189
FPGATrackSimTrack::~FPGATrackSimTrack
virtual ~FPGATrackSimTrack()
Definition: FPGATrackSimTrack.cxx:18
FPGATrackSimTrack::m_isValidCand
bool m_isValidCand
Definition: FPGATrackSimTrack.h:206
TrackCorrType
TrackCorrType
Definition: FPGATrackSimTypes.h:37
FPGATrackSimTrack::setNLayers
void setNLayers(int)
set the number of layers in the track.
Definition: FPGATrackSimTrack.cxx:107
FPGATrackSimTrack::computeIdealCoords
std::vector< float > computeIdealCoords(unsigned ilayer) const
Definition: FPGATrackSimTrack.cxx:39
FPGATrackSimTrack::getHoughX
float getHoughX() const
Definition: FPGATrackSimTrack.h:34
FPGATrackSimTrack::m_eventindex
signed long m_eventindex
Definition: FPGATrackSimTrack.h:196
FPGATrackSimTrack::getChi2Eta
float getChi2Eta() const
Definition: FPGATrackSimTrack.h:45
FPGATrackSimTrack::getTheta
float getTheta() const
Definition: FPGATrackSimTrack.h:42
FPGATrackSimTrack::m_xBin
unsigned m_xBin
Definition: FPGATrackSimTrack.h:188
FPGATrackSimTrackPars.h
Structs that store the 5 track parameters.
FPGATrackSimTrack::m_origchi2
float m_origchi2
Definition: FPGATrackSimTrack.h:176
FPGATrackSimTrack::setHoughX
void setHoughX(float v)
Definition: FPGATrackSimTrack.h:92
FPGATrackSimTrack::getBankID
int getBankID() const
Definition: FPGATrackSimTrack.h:28
FPGATrackSimTrack::FPGATrackSimTrack
FPGATrackSimTrack()=default
FPGATrackSimTrack::m_typemask
unsigned int m_typemask
Definition: FPGATrackSimTrack.h:180