ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
FPGATrackSimOfflineTrack Class Reference

#include <FPGATrackSimOfflineTrack.h>

Collaboration diagram for FPGATrackSimOfflineTrack:

Public Member Functions

 FPGATrackSimOfflineTrack ()
 
virtual ~FPGATrackSimOfflineTrack ()=default
 
void setQOverPt (double v)
 
void setEta (double v)
 
void setPhi (double v)
 
void setD0 (double v)
 
void setZ0 (double v)
 
void setBarcode (unsigned long v)
 
void setBarcodeFrac (float v)
 
double getPt () const
 
double getEta () const
 
double getPhi () const
 
double getD0 () const
 
double getZ0 () const
 
double getQOverPt () const
 
unsigned long getBarcode () const
 
double getBarcodeFrac () const
 
const std::vector< FPGATrackSimOfflineHit > & getOfflineHits () const
 
int nHits () const
 
void addHit (const FPGATrackSimOfflineHit &s)
 

Private Attributes

double m_qoverpt
 
double m_eta
 
double m_phi
 
double m_d0
 
double m_z0
 
unsigned long m_barcode
 
double m_barcode_frac
 
std::vector< FPGATrackSimOfflineHitm_hits
 

Detailed Description

Definition at line 12 of file FPGATrackSimOfflineTrack.h.

Constructor & Destructor Documentation

◆ FPGATrackSimOfflineTrack()

FPGATrackSimOfflineTrack::FPGATrackSimOfflineTrack ( )

Definition at line 9 of file FPGATrackSimOfflineTrack.cxx.

9  :
10  m_qoverpt(0.), m_eta(0.), m_phi(0.), m_d0(0.), m_z0(0.),
11  m_barcode(-1), m_barcode_frac(0.)
12 {}

◆ ~FPGATrackSimOfflineTrack()

virtual FPGATrackSimOfflineTrack::~FPGATrackSimOfflineTrack ( )
virtualdefault

Member Function Documentation

◆ addHit()

void FPGATrackSimOfflineTrack::addHit ( const FPGATrackSimOfflineHit s)
inline

Definition at line 37 of file FPGATrackSimOfflineTrack.h.

37 { m_hits.push_back(s); }

◆ getBarcode()

unsigned long FPGATrackSimOfflineTrack::getBarcode ( ) const
inline

Definition at line 31 of file FPGATrackSimOfflineTrack.h.

31 { return m_barcode; }

◆ getBarcodeFrac()

double FPGATrackSimOfflineTrack::getBarcodeFrac ( ) const
inline

Definition at line 32 of file FPGATrackSimOfflineTrack.h.

32 { return m_barcode_frac; }

◆ getD0()

double FPGATrackSimOfflineTrack::getD0 ( ) const
inline

Definition at line 28 of file FPGATrackSimOfflineTrack.h.

28 { return m_d0; }

◆ getEta()

double FPGATrackSimOfflineTrack::getEta ( ) const
inline

Definition at line 26 of file FPGATrackSimOfflineTrack.h.

26 { return m_eta; }

◆ getOfflineHits()

const std::vector<FPGATrackSimOfflineHit>& FPGATrackSimOfflineTrack::getOfflineHits ( ) const
inline

Definition at line 35 of file FPGATrackSimOfflineTrack.h.

35 { return m_hits; }

◆ getPhi()

double FPGATrackSimOfflineTrack::getPhi ( ) const
inline

Definition at line 27 of file FPGATrackSimOfflineTrack.h.

27 { return m_phi; }

◆ getPt()

double FPGATrackSimOfflineTrack::getPt ( ) const
inline

Definition at line 25 of file FPGATrackSimOfflineTrack.h.

25 { return m_qoverpt != 0 ? std::abs(sin(2 * std::atan(std::exp(-m_eta))) / m_qoverpt) : 99999999.; }

◆ getQOverPt()

double FPGATrackSimOfflineTrack::getQOverPt ( ) const
inline

Definition at line 30 of file FPGATrackSimOfflineTrack.h.

30 { return m_qoverpt / sin(2 * std::atan(std::exp(-m_eta))); }

◆ getZ0()

double FPGATrackSimOfflineTrack::getZ0 ( ) const
inline

Definition at line 29 of file FPGATrackSimOfflineTrack.h.

29 { return m_z0; }

◆ nHits()

int FPGATrackSimOfflineTrack::nHits ( ) const
inline

Definition at line 36 of file FPGATrackSimOfflineTrack.h.

36 { return m_hits.size(); }

◆ setBarcode()

void FPGATrackSimOfflineTrack::setBarcode ( unsigned long  v)
inline

Definition at line 22 of file FPGATrackSimOfflineTrack.h.

22 { m_barcode = v; }

◆ setBarcodeFrac()

void FPGATrackSimOfflineTrack::setBarcodeFrac ( float  v)
inline

Definition at line 23 of file FPGATrackSimOfflineTrack.h.

23 { m_barcode_frac = v; }

◆ setD0()

void FPGATrackSimOfflineTrack::setD0 ( double  v)
inline

Definition at line 20 of file FPGATrackSimOfflineTrack.h.

20 { m_d0 = v; }

◆ setEta()

void FPGATrackSimOfflineTrack::setEta ( double  v)
inline

Definition at line 18 of file FPGATrackSimOfflineTrack.h.

18 { m_eta = v; }

◆ setPhi()

void FPGATrackSimOfflineTrack::setPhi ( double  v)
inline

Definition at line 19 of file FPGATrackSimOfflineTrack.h.

19 { m_phi = v; }

◆ setQOverPt()

void FPGATrackSimOfflineTrack::setQOverPt ( double  v)
inline

Definition at line 17 of file FPGATrackSimOfflineTrack.h.

17 { m_qoverpt = v; }

◆ setZ0()

void FPGATrackSimOfflineTrack::setZ0 ( double  v)
inline

Definition at line 21 of file FPGATrackSimOfflineTrack.h.

21 { m_z0 = v; }

Member Data Documentation

◆ m_barcode

unsigned long FPGATrackSimOfflineTrack::m_barcode
private

Definition at line 50 of file FPGATrackSimOfflineTrack.h.

◆ m_barcode_frac

double FPGATrackSimOfflineTrack::m_barcode_frac
private

Definition at line 51 of file FPGATrackSimOfflineTrack.h.

◆ m_d0

double FPGATrackSimOfflineTrack::m_d0
private

Definition at line 47 of file FPGATrackSimOfflineTrack.h.

◆ m_eta

double FPGATrackSimOfflineTrack::m_eta
private

Definition at line 45 of file FPGATrackSimOfflineTrack.h.

◆ m_hits

std::vector<FPGATrackSimOfflineHit> FPGATrackSimOfflineTrack::m_hits
private

Definition at line 55 of file FPGATrackSimOfflineTrack.h.

◆ m_phi

double FPGATrackSimOfflineTrack::m_phi
private

Definition at line 46 of file FPGATrackSimOfflineTrack.h.

◆ m_qoverpt

double FPGATrackSimOfflineTrack::m_qoverpt
private

Definition at line 44 of file FPGATrackSimOfflineTrack.h.

◆ m_z0

double FPGATrackSimOfflineTrack::m_z0
private

Definition at line 48 of file FPGATrackSimOfflineTrack.h.


The documentation for this class was generated from the following files:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
FPGATrackSimOfflineTrack::m_d0
double m_d0
Definition: FPGATrackSimOfflineTrack.h:47
drawFromPickle.exp
exp
Definition: drawFromPickle.py:36
drawFromPickle.atan
atan
Definition: drawFromPickle.py:36
FPGATrackSimOfflineTrack::m_phi
double m_phi
Definition: FPGATrackSimOfflineTrack.h:46
FPGATrackSimOfflineTrack::m_z0
double m_z0
Definition: FPGATrackSimOfflineTrack.h:48
FPGATrackSimOfflineTrack::m_eta
double m_eta
Definition: FPGATrackSimOfflineTrack.h:45
FPGATrackSimOfflineTrack::m_hits
std::vector< FPGATrackSimOfflineHit > m_hits
Definition: FPGATrackSimOfflineTrack.h:55
FPGATrackSimOfflineTrack::m_qoverpt
double m_qoverpt
Definition: FPGATrackSimOfflineTrack.h:44
python.PyAthena.v
v
Definition: PyAthena.py:154
FPGATrackSimOfflineTrack::m_barcode_frac
double m_barcode_frac
Definition: FPGATrackSimOfflineTrack.h:51
FPGATrackSimOfflineTrack::m_barcode
unsigned long m_barcode
Definition: FPGATrackSimOfflineTrack.h:50
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36