ATLAS Offline Software
Loading...
Searching...
No Matches
TIDA::Track Class Reference

#include <Track.h>

Inheritance diagram for TIDA::Track:
Collaboration diagram for TIDA::Track:

Public Member Functions

 Track ()
 Track (double eta, double phi, double z0, double a0, double pT, double chi2, double dof, double deta, double dphi, double dz0, double da0, double dpT, int bLayerHits=0, int pixelHits=0, int sctHits=0, int siHits=0, int strawHits=0, int trHits=0, unsigned hitPattern=0, unsigned multiPattern=0, int author=0, bool hasTruth=false, int barcode=-1, int match_barcode=-1, bool expectBL=false, unsigned long id=0)
virtual ~Track ()
double eta () const
double phi () const
double z0 () const
double a0 () const
double pT () const
double chi2 () const
double dof () const
double deta () const
double dphi () const
double dz0 () const
double da0 () const
double dpT () const
int pixelHits () const
bool expectBL () const
int sctHits () const
int siHits () const
int bLayerHits () const
int strawHits () const
int trHits () const
int pixelHoles () const
int sctHoles () const
int siHoles () const
int bLayerHoles () const
int strawHoles () const
int trHoles () const
unsigned hitPattern () const
unsigned multiPattern () const
int author () const
int barcode () const
int match_barcode () const
unsigned long id () const
bool hasTruth () const
void rotate ()
bool operator== (const Track &t)

Protected Member Functions

 ClassDef (TIDA::Track, 6)

Protected Attributes

double m_eta
double m_phi
double m_z0
double m_a0
double m_pT
double m_chi2
double m_dof
double m_deta
double m_dphi
double m_dz0
double m_da0
double m_dpT
int m_bLayerHits
 Track hits and holes - encoded as 1000*nholes + nhits the relevant %1000 or /1000 should be performed by the relevant accessor to return either the number of hits or holes.
int m_pixelHits
int m_sctHits
int m_siHits
int m_strawHits
int m_trHits
unsigned m_hitPattern
unsigned m_multiPattern
int m_author
bool m_hasTruth
int m_barcode
int m_match_barcode
bool m_expectBL
unsigned long m_id
 identifier

Detailed Description

Constructor & Destructor Documentation

◆ Track() [1/2]

TIDA::Track::Track ( )

◆ Track() [2/2]

Track::Track ( double eta,
double phi,
double z0,
double a0,
double pT,
double chi2,
double dof,
double deta,
double dphi,
double dz0,
double da0,
double dpT,
int bLayerHits = 0,
int pixelHits = 0,
int sctHits = 0,
int siHits = 0,
int strawHits = 0,
int trHits = 0,
unsigned hitPattern = 0,
unsigned multiPattern = 0,
int author = 0,
bool hasTruth = false,
int barcode = -1,
int match_barcode = -1,
bool expectBL = false,
unsigned long id = 0 )

Definition at line 33 of file Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx.

44 :
46 m_dof(dof),
57 m_id(id)
58{}
int m_bLayerHits
Track hits and holes - encoded as 1000*nholes + nhits the relevant %1000 or /1000 should be performed...

◆ ~Track()

Track::~Track ( )
virtual

Definition at line 61 of file Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx.

61{ }

Member Function Documentation

◆ a0()

double TIDA::Track::a0 ( ) const
inline

◆ author()

int TIDA::Track::author ( ) const
inline

◆ barcode()

int TIDA::Track::barcode ( ) const
inline

◆ bLayerHits()

int TIDA::Track::bLayerHits ( ) const
inline

◆ bLayerHoles()

int TIDA::Track::bLayerHoles ( ) const
inline

◆ chi2()

double TIDA::Track::chi2 ( ) const
inline

◆ ClassDef()

TIDA::Track::ClassDef ( TIDA::Track ,
6  )
protected

◆ da0()

double TIDA::Track::da0 ( ) const
inline

◆ deta()

double TIDA::Track::deta ( ) const
inline

◆ dof()

double TIDA::Track::dof ( ) const
inline

◆ dphi()

double TIDA::Track::dphi ( ) const
inline

◆ dpT()

double TIDA::Track::dpT ( ) const
inline

◆ dz0()

double TIDA::Track::dz0 ( ) const
inline

◆ eta()

double TIDA::Track::eta ( ) const
inline

◆ expectBL()

bool TIDA::Track::expectBL ( ) const
inline

◆ hasTruth()

bool TIDA::Track::hasTruth ( ) const
inline

◆ hitPattern()

unsigned TIDA::Track::hitPattern ( ) const
inline

◆ id()

unsigned long TIDA::Track::id ( ) const
inline

◆ match_barcode()

int TIDA::Track::match_barcode ( ) const
inline

◆ multiPattern()

unsigned TIDA::Track::multiPattern ( ) const
inline

◆ operator==()

bool TIDA::Track::operator== ( const Track & t)
inline

Definition at line 96 of file Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h.

96 {
97
98 if( m_author != t.m_author ) return false;
99
100 if( m_eta != t.m_eta ) return false;
101 if( m_phi != t.m_phi ) return false;
102 if( m_z0 != t.m_z0 ) return false;
103 if( m_a0 != t.m_a0 ) return false;
104 if( m_pT != t.m_pT ) return false;
105
106 if( m_bLayerHits != t.m_bLayerHits ) return false;
107 if( m_expectBL != t.m_expectBL ) return false;
108 if( m_pixelHits != t.m_pixelHits ) return false;
109 if( m_sctHits != t.m_sctHits ) return false;
110 if( m_siHits != t.m_siHits ) return false;
111 if( m_strawHits != t.m_strawHits ) return false;
112 if( m_trHits != t.m_trHits ) return false;
113 if ( m_hitPattern != t.m_hitPattern ) return false;
114 if ( m_multiPattern != t.m_multiPattern ) return false;
115 if ( m_id != t.m_id ) return false;
116
117 return true;
118 }

◆ phi()

double TIDA::Track::phi ( ) const
inline

◆ pixelHits()

int TIDA::Track::pixelHits ( ) const
inline

◆ pixelHoles()

int TIDA::Track::pixelHoles ( ) const
inline

◆ pT()

double TIDA::Track::pT ( ) const
inline

◆ rotate()

void Track::rotate ( )

Definition at line 64 of file Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx.

64 {
65 m_pT *= -1;
66 m_a0 *= -1;
67 m_phi -= M_PI;
68 m_eta *= -1;
69 }
#define M_PI

◆ sctHits()

int TIDA::Track::sctHits ( ) const
inline

Definition at line 63 of file Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h.

63{ return m_sctHits%1000; }

◆ sctHoles()

int TIDA::Track::sctHoles ( ) const
inline

Definition at line 72 of file Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h.

72{ return m_sctHits/1000; }

◆ siHits()

int TIDA::Track::siHits ( ) const
inline

Definition at line 64 of file Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h.

64{ return m_siHits%1000; }

◆ siHoles()

int TIDA::Track::siHoles ( ) const
inline

Definition at line 73 of file Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h.

73{ return m_siHits/1000; }

◆ strawHits()

int TIDA::Track::strawHits ( ) const
inline

◆ strawHoles()

int TIDA::Track::strawHoles ( ) const
inline

◆ trHits()

int TIDA::Track::trHits ( ) const
inline

◆ trHoles()

int TIDA::Track::trHoles ( ) const
inline

◆ z0()

double TIDA::Track::z0 ( ) const
inline

Member Data Documentation

◆ m_a0

double TIDA::Track::m_a0
protected

◆ m_author

int TIDA::Track::m_author
protected

◆ m_barcode

int TIDA::Track::m_barcode
protected

◆ m_bLayerHits

int TIDA::Track::m_bLayerHits
protected

Track hits and holes - encoded as 1000*nholes + nhits the relevant %1000 or /1000 should be performed by the relevant accessor to return either the number of hits or holes.

Definition at line 131 of file Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h.

◆ m_chi2

double TIDA::Track::m_chi2
protected

◆ m_da0

double TIDA::Track::m_da0
protected

◆ m_deta

double TIDA::Track::m_deta
protected

◆ m_dof

double TIDA::Track::m_dof
protected

◆ m_dphi

double TIDA::Track::m_dphi
protected

◆ m_dpT

double TIDA::Track::m_dpT
protected

◆ m_dz0

double TIDA::Track::m_dz0
protected

◆ m_eta

double TIDA::Track::m_eta
protected

◆ m_expectBL

bool TIDA::Track::m_expectBL
protected

◆ m_hasTruth

bool TIDA::Track::m_hasTruth
protected

◆ m_hitPattern

unsigned TIDA::Track::m_hitPattern
protected

◆ m_id

unsigned long TIDA::Track::m_id
protected

◆ m_match_barcode

int TIDA::Track::m_match_barcode
protected

◆ m_multiPattern

unsigned TIDA::Track::m_multiPattern
protected

◆ m_phi

double TIDA::Track::m_phi
protected

◆ m_pixelHits

int TIDA::Track::m_pixelHits
protected

◆ m_pT

double TIDA::Track::m_pT
protected

◆ m_sctHits

int TIDA::Track::m_sctHits
protected

◆ m_siHits

int TIDA::Track::m_siHits
protected

◆ m_strawHits

int TIDA::Track::m_strawHits
protected

◆ m_trHits

int TIDA::Track::m_trHits
protected

◆ m_z0

double TIDA::Track::m_z0
protected

The documentation for this class was generated from the following files: