ATLAS Offline Software
RecTrack.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 #ifndef __RECTRACK_H__
3 #define __RECTRACK_H__
4 
5 #include <vector>
6 
7 class BFieldPoint;
8 class SpacePoint;
9 class DkfTrack;
10 
11 class RecTrack
12 {
13  public:
14  RecTrack(int id);
15  virtual ~RecTrack(void);
16  void setInitialParameters(float* par);
17  void addBFieldPoint(double x, double y, double z, float* B);
18  void addSpacePoint(const SpacePoint* psp);
19 
20  private:
21  int m_algoId;
22  double m_params[5];
23  std::vector<const BFieldPoint*> m_fieldMap;
24  std::vector<const SpacePoint*> m_spacepoints;
25 
26  public:
27  const std::vector<const SpacePoint*>& getSpacePoints(void) const;
28  const double* getParameters(void) const;
29  int getAlgoId(void) const;
30  const BFieldPoint* getField(int i) const;
31  void sortSpacePoints(void);
32 };
33 #endif
RecTrack::RecTrack
RecTrack(int id)
RecTrack::getParameters
const double * getParameters(void) const
RecTrack::getAlgoId
int getAlgoId(void) const
RecTrack::setInitialParameters
void setInitialParameters(float *par)
RecTrack::~RecTrack
virtual ~RecTrack(void)
x
#define x
SpacePoint
Definition: Trigger/TrigAccel/TrigCudaFitter/src/SpacePoint.h:7
RecTrack::m_algoId
int m_algoId
Definition: RecTrack.h:21
BFieldPoint
Definition: BFieldPoint.h:4
RecTrack::m_fieldMap
std::vector< const BFieldPoint * > m_fieldMap
Definition: RecTrack.h:23
lumiFormat.i
int i
Definition: lumiFormat.py:85
z
#define z
RecTrack::addSpacePoint
void addSpacePoint(const SpacePoint *psp)
DkfTrack
Definition: DkfTrack.h:13
RecTrack::m_params
double m_params[5]
Definition: RecTrack.h:22
RecTrack::addBFieldPoint
void addBFieldPoint(double x, double y, double z, float *B)
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
RecTrack::sortSpacePoints
void sortSpacePoints(void)
RecTrack::m_spacepoints
std::vector< const SpacePoint * > m_spacepoints
Definition: RecTrack.h:24
dqt_zlumi_alleff_HIST.B
B
Definition: dqt_zlumi_alleff_HIST.py:110
y
#define y
RecTrack
Definition: RecTrack.h:12
RecTrack::getField
const BFieldPoint * getField(int i) const
RecTrack::getSpacePoints
const std::vector< const SpacePoint * > & getSpacePoints(void) const