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

#include <FPGATrackSimTruthTrack.h>

Inheritance diagram for FPGATrackSimTruthTrack:
Collaboration diagram for FPGATrackSimTruthTrack:

Public Member Functions

 FPGATrackSimTruthTrack ()
 
void setD0 (double v)
 
void setZ0 (double v)
 
void setVtxX (double v)
 
void setVtxY (double v)
 
void setVtxZ (double v)
 
void setPX (double v)
 
void setPY (double v)
 
void setPZ (double v)
 
void setQ (int v)
 
void setPDGCode (int v)
 
void setStatus (int v)
 
void setBarcode (unsigned long v)
 
void setEventIndex (int v)
 
void setBarcodeFracOffline (double v)
 
double getPt () const
 
double getEta () const
 
double getPhi () const
 
double getD0 () const
 
double getZ0 () const
 
double getVtxX () const
 
double getVtxY () const
 
double getVtxZ () const
 
double getIP () const
 
double getPX () const
 
double getPY () const
 
double getPZ () const
 
int getQ () const
 
double getHalfInvPt () const
 
double getQOverPt () const
 
int getPDGCode () const
 
int getStatus () const
 
int status () const
 
unsigned long getBarcode () const
 
unsigned long barcode () const
 
int getEventIndex () const
 
double getBarcodeFracOffline () const
 
FPGATrackSimTrackPars getPars () const
 

Private Attributes

double m_d0
 
double m_z0
 
double m_vtx_x
 
double m_vtx_y
 
double m_vtx_z
 
double m_px
 
double m_py
 
double m_pz
 
int m_q
 
int m_pdgcode
 
int m_status
 
unsigned long m_barcode
 
int m_evtindex
 
double m_barcode_frac_offline
 

Detailed Description

Definition at line 13 of file FPGATrackSimTruthTrack.h.

Constructor & Destructor Documentation

◆ FPGATrackSimTruthTrack()

FPGATrackSimTruthTrack::FPGATrackSimTruthTrack ( )

Definition at line 7 of file FPGATrackSimTruthTrack.cxx.

7  :
8  m_d0(0.), m_z0(0.),
9  m_vtx_x(0.), m_vtx_y(0.), m_vtx_z(0.), m_px(0.), m_py(0.), m_pz(0.),
10  m_q(0),
12 {
13  // nothing special to do
14 }

Member Function Documentation

◆ barcode()

unsigned long FPGATrackSimTruthTrack::barcode ( ) const
inline

Definition at line 58 of file FPGATrackSimTruthTrack.h.

58 { return m_barcode; }

◆ getBarcode()

unsigned long FPGATrackSimTruthTrack::getBarcode ( ) const
inline

Definition at line 57 of file FPGATrackSimTruthTrack.h.

57 { return m_barcode; }

◆ getBarcodeFracOffline()

double FPGATrackSimTruthTrack::getBarcodeFracOffline ( ) const
inline

Definition at line 61 of file FPGATrackSimTruthTrack.h.

61 { return m_barcode_frac_offline; }

◆ getD0()

double FPGATrackSimTruthTrack::getD0 ( ) const
inline

Definition at line 39 of file FPGATrackSimTruthTrack.h.

39 { return m_d0; }

◆ getEta()

double FPGATrackSimTruthTrack::getEta ( ) const
inline

Definition at line 37 of file FPGATrackSimTruthTrack.h.

37 { return TMath::ASinH(m_pz / TMath::Sqrt(m_px * m_px + m_py * m_py)); }

◆ getEventIndex()

int FPGATrackSimTruthTrack::getEventIndex ( ) const
inline

Definition at line 60 of file FPGATrackSimTruthTrack.h.

60 { return m_evtindex; }

◆ getHalfInvPt()

double FPGATrackSimTruthTrack::getHalfInvPt ( ) const
inline

Definition at line 51 of file FPGATrackSimTruthTrack.h.

51 { return static_cast<double>(m_q) / (2 * getPt()); }

◆ getIP()

double FPGATrackSimTruthTrack::getIP ( ) const
inline

Definition at line 45 of file FPGATrackSimTruthTrack.h.

45 { return TMath::Sqrt(m_vtx_x * m_vtx_x + m_vtx_y * m_vtx_y); }

◆ getPars()

FPGATrackSimTrackPars FPGATrackSimTruthTrack::getPars ( ) const
inline

Definition at line 64 of file FPGATrackSimTruthTrack.h.

64  {
66  pars.qOverPt = getQ() / getPt();
67  pars.eta = getEta();
68  pars.phi = getPhi();
69  pars.d0 = getD0();
70  pars.z0 = getZ0();
71 
72  return pars;
73  }

◆ getPDGCode()

int FPGATrackSimTruthTrack::getPDGCode ( ) const
inline

Definition at line 54 of file FPGATrackSimTruthTrack.h.

54 { return m_pdgcode; }

◆ getPhi()

double FPGATrackSimTruthTrack::getPhi ( ) const
inline

Definition at line 38 of file FPGATrackSimTruthTrack.h.

38 { return TMath::ATan2(m_py, m_px); }

◆ getPt()

double FPGATrackSimTruthTrack::getPt ( ) const
inline

Definition at line 36 of file FPGATrackSimTruthTrack.h.

36 { return TMath::Sqrt(m_px * m_px + m_py * m_py); }

◆ getPX()

double FPGATrackSimTruthTrack::getPX ( ) const
inline

Definition at line 46 of file FPGATrackSimTruthTrack.h.

46 { return m_px; }

◆ getPY()

double FPGATrackSimTruthTrack::getPY ( ) const
inline

Definition at line 47 of file FPGATrackSimTruthTrack.h.

47 { return m_py; }

◆ getPZ()

double FPGATrackSimTruthTrack::getPZ ( ) const
inline

Definition at line 48 of file FPGATrackSimTruthTrack.h.

48 { return m_pz; }

◆ getQ()

int FPGATrackSimTruthTrack::getQ ( ) const
inline

Definition at line 50 of file FPGATrackSimTruthTrack.h.

50 { return m_q; }

◆ getQOverPt()

double FPGATrackSimTruthTrack::getQOverPt ( ) const
inline

Definition at line 52 of file FPGATrackSimTruthTrack.h.

52 { return static_cast<double>(m_q) / getPt(); }

◆ getStatus()

int FPGATrackSimTruthTrack::getStatus ( ) const
inline

Definition at line 55 of file FPGATrackSimTruthTrack.h.

55 { return m_status; }

◆ getVtxX()

double FPGATrackSimTruthTrack::getVtxX ( ) const
inline

Definition at line 42 of file FPGATrackSimTruthTrack.h.

42 { return m_vtx_x; }

◆ getVtxY()

double FPGATrackSimTruthTrack::getVtxY ( ) const
inline

Definition at line 43 of file FPGATrackSimTruthTrack.h.

43 { return m_vtx_y; }

◆ getVtxZ()

double FPGATrackSimTruthTrack::getVtxZ ( ) const
inline

Definition at line 44 of file FPGATrackSimTruthTrack.h.

44 { return m_vtx_z; }

◆ getZ0()

double FPGATrackSimTruthTrack::getZ0 ( ) const
inline

Definition at line 40 of file FPGATrackSimTruthTrack.h.

40 { return m_z0; }

◆ setBarcode()

void FPGATrackSimTruthTrack::setBarcode ( unsigned long  v)
inline

Definition at line 31 of file FPGATrackSimTruthTrack.h.

31 { m_barcode = v; }

◆ setBarcodeFracOffline()

void FPGATrackSimTruthTrack::setBarcodeFracOffline ( double  v)
inline

Definition at line 33 of file FPGATrackSimTruthTrack.h.

◆ setD0()

void FPGATrackSimTruthTrack::setD0 ( double  v)
inline

Definition at line 17 of file FPGATrackSimTruthTrack.h.

17 { m_d0 = v; }

◆ setEventIndex()

void FPGATrackSimTruthTrack::setEventIndex ( int  v)
inline

Definition at line 32 of file FPGATrackSimTruthTrack.h.

32 { m_evtindex = v; }

◆ setPDGCode()

void FPGATrackSimTruthTrack::setPDGCode ( int  v)
inline

Definition at line 29 of file FPGATrackSimTruthTrack.h.

29 { m_pdgcode = v; }

◆ setPX()

void FPGATrackSimTruthTrack::setPX ( double  v)
inline

Definition at line 23 of file FPGATrackSimTruthTrack.h.

23 { m_px = v; }

◆ setPY()

void FPGATrackSimTruthTrack::setPY ( double  v)
inline

Definition at line 24 of file FPGATrackSimTruthTrack.h.

24 { m_py = v; }

◆ setPZ()

void FPGATrackSimTruthTrack::setPZ ( double  v)
inline

Definition at line 25 of file FPGATrackSimTruthTrack.h.

25 { m_pz = v; }

◆ setQ()

void FPGATrackSimTruthTrack::setQ ( int  v)
inline

Definition at line 27 of file FPGATrackSimTruthTrack.h.

27 { m_q = v; }

◆ setStatus()

void FPGATrackSimTruthTrack::setStatus ( int  v)
inline

Definition at line 30 of file FPGATrackSimTruthTrack.h.

30 { m_status = v; }

◆ setVtxX()

void FPGATrackSimTruthTrack::setVtxX ( double  v)
inline

Definition at line 20 of file FPGATrackSimTruthTrack.h.

20 { m_vtx_x = v; }

◆ setVtxY()

void FPGATrackSimTruthTrack::setVtxY ( double  v)
inline

Definition at line 21 of file FPGATrackSimTruthTrack.h.

21 { m_vtx_y = v; }

◆ setVtxZ()

void FPGATrackSimTruthTrack::setVtxZ ( double  v)
inline

Definition at line 22 of file FPGATrackSimTruthTrack.h.

22 { m_vtx_z = v; }

◆ setZ0()

void FPGATrackSimTruthTrack::setZ0 ( double  v)
inline

Definition at line 18 of file FPGATrackSimTruthTrack.h.

18 { m_z0 = v; }

◆ status()

int FPGATrackSimTruthTrack::status ( ) const
inline

Definition at line 56 of file FPGATrackSimTruthTrack.h.

56 { return m_status; }

Member Data Documentation

◆ m_barcode

unsigned long FPGATrackSimTruthTrack::m_barcode
private

Definition at line 91 of file FPGATrackSimTruthTrack.h.

◆ m_barcode_frac_offline

double FPGATrackSimTruthTrack::m_barcode_frac_offline
private

Definition at line 93 of file FPGATrackSimTruthTrack.h.

◆ m_d0

double FPGATrackSimTruthTrack::m_d0
private

Definition at line 77 of file FPGATrackSimTruthTrack.h.

◆ m_evtindex

int FPGATrackSimTruthTrack::m_evtindex
private

Definition at line 92 of file FPGATrackSimTruthTrack.h.

◆ m_pdgcode

int FPGATrackSimTruthTrack::m_pdgcode
private

Definition at line 89 of file FPGATrackSimTruthTrack.h.

◆ m_px

double FPGATrackSimTruthTrack::m_px
private

Definition at line 83 of file FPGATrackSimTruthTrack.h.

◆ m_py

double FPGATrackSimTruthTrack::m_py
private

Definition at line 84 of file FPGATrackSimTruthTrack.h.

◆ m_pz

double FPGATrackSimTruthTrack::m_pz
private

Definition at line 85 of file FPGATrackSimTruthTrack.h.

◆ m_q

int FPGATrackSimTruthTrack::m_q
private

Definition at line 87 of file FPGATrackSimTruthTrack.h.

◆ m_status

int FPGATrackSimTruthTrack::m_status
private

Definition at line 90 of file FPGATrackSimTruthTrack.h.

◆ m_vtx_x

double FPGATrackSimTruthTrack::m_vtx_x
private

Definition at line 80 of file FPGATrackSimTruthTrack.h.

◆ m_vtx_y

double FPGATrackSimTruthTrack::m_vtx_y
private

Definition at line 81 of file FPGATrackSimTruthTrack.h.

◆ m_vtx_z

double FPGATrackSimTruthTrack::m_vtx_z
private

Definition at line 82 of file FPGATrackSimTruthTrack.h.

◆ m_z0

double FPGATrackSimTruthTrack::m_z0
private

Definition at line 78 of file FPGATrackSimTruthTrack.h.


The documentation for this class was generated from the following files:
FPGATrackSimTruthTrack::m_px
double m_px
Definition: FPGATrackSimTruthTrack.h:83
FPGATrackSimTruthTrack::m_py
double m_py
Definition: FPGATrackSimTruthTrack.h:84
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimTruthTrack::m_vtx_z
double m_vtx_z
Definition: FPGATrackSimTruthTrack.h:82
FPGATrackSimTruthTrack::m_barcode
unsigned long m_barcode
Definition: FPGATrackSimTruthTrack.h:91
FPGATrackSimTruthTrack::getPt
double getPt() const
Definition: FPGATrackSimTruthTrack.h:36
FPGATrackSimTruthTrack::getQ
int getQ() const
Definition: FPGATrackSimTruthTrack.h:50
FPGATrackSimTrackPars
Definition: FPGATrackSimTrackPars.h:22
FPGATrackSimTruthTrack::getZ0
double getZ0() const
Definition: FPGATrackSimTruthTrack.h:40
FPGATrackSimTruthTrack::m_vtx_y
double m_vtx_y
Definition: FPGATrackSimTruthTrack.h:81
FPGATrackSimTruthTrack::m_vtx_x
double m_vtx_x
Definition: FPGATrackSimTruthTrack.h:80
FPGATrackSimTruthTrack::m_pz
double m_pz
Definition: FPGATrackSimTruthTrack.h:85
FPGATrackSimTruthTrack::m_pdgcode
int m_pdgcode
Definition: FPGATrackSimTruthTrack.h:89
FPGATrackSimTruthTrack::m_evtindex
int m_evtindex
Definition: FPGATrackSimTruthTrack.h:92
FPGATrackSimTruthTrack::getD0
double getD0() const
Definition: FPGATrackSimTruthTrack.h:39
FPGATrackSimTruthTrack::m_barcode_frac_offline
double m_barcode_frac_offline
Definition: FPGATrackSimTruthTrack.h:93
FPGATrackSimTruthTrack::m_q
int m_q
Definition: FPGATrackSimTruthTrack.h:87
python.PyAthena.v
v
Definition: PyAthena.py:157
FPGATrackSimTruthTrack::getEta
double getEta() const
Definition: FPGATrackSimTruthTrack.h:37
FPGATrackSimTruthTrack::m_status
int m_status
Definition: FPGATrackSimTruthTrack.h:90
FPGATrackSimTruthTrack::getPhi
double getPhi() const
Definition: FPGATrackSimTruthTrack.h:38
FPGATrackSimTruthTrack::m_z0
double m_z0
Definition: FPGATrackSimTruthTrack.h:78
FPGATrackSimTruthTrack::m_d0
double m_d0
Definition: FPGATrackSimTruthTrack.h:77
LArGeo::ATan2
GeoGenfun::FunctionNoop ATan2(GeoGenfun::GENFUNCTION y, GeoGenfun::GENFUNCTION x)
Definition: BarrelAuxFunctions.cxx:50