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

#include <FPGATrackSimTruthTrack.h>

Collaboration diagram for FPGATrackSimTruthTrack:

Public Member Functions

 FPGATrackSimTruthTrack ()
 
virtual ~FPGATrackSimTruthTrack ()=default
 
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 (const HepMcParticleLink::barcode_type &v)
 
void setUniqueID (const HepMcParticleLink::barcode_type &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
 
HepMcParticleLink::barcode_type getBarcode () const
 
HepMcParticleLink::barcode_type barcode () const
 
HepMcParticleLink::barcode_type getUniqueID () const
 
HepMcParticleLink::barcode_type id () 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
 
HepMcParticleLink::barcode_type m_barcode
 
HepMcParticleLink::barcode_type m_uniqueID
 
int m_evtindex
 
double m_barcode_frac_offline
 

Detailed Description

Definition at line 14 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 }

◆ ~FPGATrackSimTruthTrack()

virtual FPGATrackSimTruthTrack::~FPGATrackSimTruthTrack ( )
virtualdefault

Member Function Documentation

◆ barcode()

HepMcParticleLink::barcode_type FPGATrackSimTruthTrack::barcode ( ) const
inline

Definition at line 61 of file FPGATrackSimTruthTrack.h.

61 { return m_barcode; }

◆ getBarcode()

HepMcParticleLink::barcode_type FPGATrackSimTruthTrack::getBarcode ( ) const
inline

Definition at line 60 of file FPGATrackSimTruthTrack.h.

60 { return m_barcode; }

◆ getBarcodeFracOffline()

double FPGATrackSimTruthTrack::getBarcodeFracOffline ( ) const
inline

Definition at line 66 of file FPGATrackSimTruthTrack.h.

66 { return m_barcode_frac_offline; }

◆ getD0()

double FPGATrackSimTruthTrack::getD0 ( ) const
inline

Definition at line 42 of file FPGATrackSimTruthTrack.h.

42 { return m_d0; }

◆ getEta()

double FPGATrackSimTruthTrack::getEta ( ) const
inline

Definition at line 40 of file FPGATrackSimTruthTrack.h.

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

◆ getEventIndex()

int FPGATrackSimTruthTrack::getEventIndex ( ) const
inline

Definition at line 65 of file FPGATrackSimTruthTrack.h.

65 { return m_evtindex; }

◆ getHalfInvPt()

double FPGATrackSimTruthTrack::getHalfInvPt ( ) const
inline

Definition at line 54 of file FPGATrackSimTruthTrack.h.

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

◆ getIP()

double FPGATrackSimTruthTrack::getIP ( ) const
inline

Definition at line 48 of file FPGATrackSimTruthTrack.h.

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

◆ getPars()

FPGATrackSimTrackPars FPGATrackSimTruthTrack::getPars ( ) const
inline

Definition at line 69 of file FPGATrackSimTruthTrack.h.

69  {
71  pars.qOverPt = getQ() / getPt();
72  pars.eta = getEta();
73  pars.phi = getPhi();
74  pars.d0 = getD0();
75  pars.z0 = getZ0();
76 
77  return pars;
78  }

◆ getPDGCode()

int FPGATrackSimTruthTrack::getPDGCode ( ) const
inline

Definition at line 57 of file FPGATrackSimTruthTrack.h.

57 { return m_pdgcode; }

◆ getPhi()

double FPGATrackSimTruthTrack::getPhi ( ) const
inline

Definition at line 41 of file FPGATrackSimTruthTrack.h.

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

◆ getPt()

double FPGATrackSimTruthTrack::getPt ( ) const
inline

Definition at line 39 of file FPGATrackSimTruthTrack.h.

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

◆ getPX()

double FPGATrackSimTruthTrack::getPX ( ) const
inline

Definition at line 49 of file FPGATrackSimTruthTrack.h.

49 { return m_px; }

◆ getPY()

double FPGATrackSimTruthTrack::getPY ( ) const
inline

Definition at line 50 of file FPGATrackSimTruthTrack.h.

50 { return m_py; }

◆ getPZ()

double FPGATrackSimTruthTrack::getPZ ( ) const
inline

Definition at line 51 of file FPGATrackSimTruthTrack.h.

51 { return m_pz; }

◆ getQ()

int FPGATrackSimTruthTrack::getQ ( ) const
inline

Definition at line 53 of file FPGATrackSimTruthTrack.h.

53 { return m_q; }

◆ getQOverPt()

double FPGATrackSimTruthTrack::getQOverPt ( ) const
inline

Definition at line 55 of file FPGATrackSimTruthTrack.h.

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

◆ getStatus()

int FPGATrackSimTruthTrack::getStatus ( ) const
inline

Definition at line 58 of file FPGATrackSimTruthTrack.h.

58 { return m_status; }

◆ getUniqueID()

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

Definition at line 62 of file FPGATrackSimTruthTrack.h.

62 { return m_uniqueID; }

◆ getVtxX()

double FPGATrackSimTruthTrack::getVtxX ( ) const
inline

Definition at line 45 of file FPGATrackSimTruthTrack.h.

45 { return m_vtx_x; }

◆ getVtxY()

double FPGATrackSimTruthTrack::getVtxY ( ) const
inline

Definition at line 46 of file FPGATrackSimTruthTrack.h.

46 { return m_vtx_y; }

◆ getVtxZ()

double FPGATrackSimTruthTrack::getVtxZ ( ) const
inline

Definition at line 47 of file FPGATrackSimTruthTrack.h.

47 { return m_vtx_z; }

◆ getZ0()

double FPGATrackSimTruthTrack::getZ0 ( ) const
inline

Definition at line 43 of file FPGATrackSimTruthTrack.h.

43 { return m_z0; }

◆ id()

HepMcParticleLink::barcode_type FPGATrackSimTruthTrack::id ( ) const
inline

Definition at line 63 of file FPGATrackSimTruthTrack.h.

63 { return m_uniqueID; }

◆ setBarcode()

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

Definition at line 33 of file FPGATrackSimTruthTrack.h.

33 { m_barcode = v; }

◆ setBarcodeFracOffline()

void FPGATrackSimTruthTrack::setBarcodeFracOffline ( double  v)
inline

Definition at line 36 of file FPGATrackSimTruthTrack.h.

◆ setD0()

void FPGATrackSimTruthTrack::setD0 ( double  v)
inline

Definition at line 19 of file FPGATrackSimTruthTrack.h.

19 { m_d0 = v; }

◆ setEventIndex()

void FPGATrackSimTruthTrack::setEventIndex ( int  v)
inline

Definition at line 35 of file FPGATrackSimTruthTrack.h.

35 { m_evtindex = v; }

◆ setPDGCode()

void FPGATrackSimTruthTrack::setPDGCode ( int  v)
inline

Definition at line 31 of file FPGATrackSimTruthTrack.h.

31 { m_pdgcode = v; }

◆ setPX()

void FPGATrackSimTruthTrack::setPX ( double  v)
inline

Definition at line 25 of file FPGATrackSimTruthTrack.h.

25 { m_px = v; }

◆ setPY()

void FPGATrackSimTruthTrack::setPY ( double  v)
inline

Definition at line 26 of file FPGATrackSimTruthTrack.h.

26 { m_py = v; }

◆ setPZ()

void FPGATrackSimTruthTrack::setPZ ( double  v)
inline

Definition at line 27 of file FPGATrackSimTruthTrack.h.

27 { m_pz = v; }

◆ setQ()

void FPGATrackSimTruthTrack::setQ ( int  v)
inline

Definition at line 29 of file FPGATrackSimTruthTrack.h.

29 { m_q = v; }

◆ setStatus()

void FPGATrackSimTruthTrack::setStatus ( int  v)
inline

Definition at line 32 of file FPGATrackSimTruthTrack.h.

32 { m_status = v; }

◆ setUniqueID()

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

Definition at line 34 of file FPGATrackSimTruthTrack.h.

34 { m_uniqueID = v; }

◆ setVtxX()

void FPGATrackSimTruthTrack::setVtxX ( double  v)
inline

Definition at line 22 of file FPGATrackSimTruthTrack.h.

22 { m_vtx_x = v; }

◆ setVtxY()

void FPGATrackSimTruthTrack::setVtxY ( double  v)
inline

Definition at line 23 of file FPGATrackSimTruthTrack.h.

23 { m_vtx_y = v; }

◆ setVtxZ()

void FPGATrackSimTruthTrack::setVtxZ ( double  v)
inline

Definition at line 24 of file FPGATrackSimTruthTrack.h.

24 { m_vtx_z = v; }

◆ setZ0()

void FPGATrackSimTruthTrack::setZ0 ( double  v)
inline

Definition at line 20 of file FPGATrackSimTruthTrack.h.

20 { m_z0 = v; }

◆ status()

int FPGATrackSimTruthTrack::status ( ) const
inline

Definition at line 59 of file FPGATrackSimTruthTrack.h.

59 { return m_status; }

Member Data Documentation

◆ m_barcode

HepMcParticleLink::barcode_type FPGATrackSimTruthTrack::m_barcode
private

Definition at line 96 of file FPGATrackSimTruthTrack.h.

◆ m_barcode_frac_offline

double FPGATrackSimTruthTrack::m_barcode_frac_offline
private

Definition at line 99 of file FPGATrackSimTruthTrack.h.

◆ m_d0

double FPGATrackSimTruthTrack::m_d0
private

Definition at line 82 of file FPGATrackSimTruthTrack.h.

◆ m_evtindex

int FPGATrackSimTruthTrack::m_evtindex
private

Definition at line 98 of file FPGATrackSimTruthTrack.h.

◆ m_pdgcode

int FPGATrackSimTruthTrack::m_pdgcode
private

Definition at line 94 of file FPGATrackSimTruthTrack.h.

◆ m_px

double FPGATrackSimTruthTrack::m_px
private

Definition at line 88 of file FPGATrackSimTruthTrack.h.

◆ m_py

double FPGATrackSimTruthTrack::m_py
private

Definition at line 89 of file FPGATrackSimTruthTrack.h.

◆ m_pz

double FPGATrackSimTruthTrack::m_pz
private

Definition at line 90 of file FPGATrackSimTruthTrack.h.

◆ m_q

int FPGATrackSimTruthTrack::m_q
private

Definition at line 92 of file FPGATrackSimTruthTrack.h.

◆ m_status

int FPGATrackSimTruthTrack::m_status
private

Definition at line 95 of file FPGATrackSimTruthTrack.h.

◆ m_uniqueID

HepMcParticleLink::barcode_type FPGATrackSimTruthTrack::m_uniqueID
private

Definition at line 97 of file FPGATrackSimTruthTrack.h.

◆ m_vtx_x

double FPGATrackSimTruthTrack::m_vtx_x
private

Definition at line 85 of file FPGATrackSimTruthTrack.h.

◆ m_vtx_y

double FPGATrackSimTruthTrack::m_vtx_y
private

Definition at line 86 of file FPGATrackSimTruthTrack.h.

◆ m_vtx_z

double FPGATrackSimTruthTrack::m_vtx_z
private

Definition at line 87 of file FPGATrackSimTruthTrack.h.

◆ m_z0

double FPGATrackSimTruthTrack::m_z0
private

Definition at line 83 of file FPGATrackSimTruthTrack.h.


The documentation for this class was generated from the following files:
FPGATrackSimTruthTrack::m_px
double m_px
Definition: FPGATrackSimTruthTrack.h:88
FPGATrackSimTruthTrack::m_py
double m_py
Definition: FPGATrackSimTruthTrack.h:89
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimTruthTrack::m_vtx_z
double m_vtx_z
Definition: FPGATrackSimTruthTrack.h:87
FPGATrackSimTruthTrack::getPt
double getPt() const
Definition: FPGATrackSimTruthTrack.h:39
FPGATrackSimTruthTrack::getQ
int getQ() const
Definition: FPGATrackSimTruthTrack.h:53
FPGATrackSimTrackPars
Definition: FPGATrackSimTrackPars.h:22
FPGATrackSimTruthTrack::getZ0
double getZ0() const
Definition: FPGATrackSimTruthTrack.h:43
FPGATrackSimTruthTrack::m_vtx_y
double m_vtx_y
Definition: FPGATrackSimTruthTrack.h:86
FPGATrackSimTruthTrack::m_vtx_x
double m_vtx_x
Definition: FPGATrackSimTruthTrack.h:85
FPGATrackSimTruthTrack::m_pz
double m_pz
Definition: FPGATrackSimTruthTrack.h:90
FPGATrackSimTruthTrack::m_pdgcode
int m_pdgcode
Definition: FPGATrackSimTruthTrack.h:94
FPGATrackSimTruthTrack::m_evtindex
int m_evtindex
Definition: FPGATrackSimTruthTrack.h:98
FPGATrackSimTruthTrack::getD0
double getD0() const
Definition: FPGATrackSimTruthTrack.h:42
FPGATrackSimTruthTrack::m_barcode_frac_offline
double m_barcode_frac_offline
Definition: FPGATrackSimTruthTrack.h:99
FPGATrackSimTruthTrack::m_q
int m_q
Definition: FPGATrackSimTruthTrack.h:92
python.PyAthena.v
v
Definition: PyAthena.py:154
FPGATrackSimTruthTrack::m_barcode
HepMcParticleLink::barcode_type m_barcode
Definition: FPGATrackSimTruthTrack.h:96
FPGATrackSimTruthTrack::getEta
double getEta() const
Definition: FPGATrackSimTruthTrack.h:40
FPGATrackSimTruthTrack::m_status
int m_status
Definition: FPGATrackSimTruthTrack.h:95
FPGATrackSimTruthTrack::m_uniqueID
HepMcParticleLink::barcode_type m_uniqueID
Definition: FPGATrackSimTruthTrack.h:97
FPGATrackSimTruthTrack::getPhi
double getPhi() const
Definition: FPGATrackSimTruthTrack.h:41
FPGATrackSimTruthTrack::m_z0
double m_z0
Definition: FPGATrackSimTruthTrack.h:83
FPGATrackSimTruthTrack::m_d0
double m_d0
Definition: FPGATrackSimTruthTrack.h:82
LArGeo::ATan2
GeoGenfun::FunctionNoop ATan2(GeoGenfun::GENFUNCTION y, GeoGenfun::GENFUNCTION x)
Definition: BarrelAuxFunctions.cxx:50