ATLAS Offline Software
Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx
Go to the documentation of this file.
1 
12 #include <cmath>
13 
15 
17  m_eta(0), m_phi(0), m_z0(0), m_a0(0), m_pT(0), m_chi2(0),
18  m_dof(0),
19  m_deta(0), m_dphi(0), m_dz0(0), m_da0(0), m_dpT(0),
20  m_bLayerHits(0), m_pixelHits(0), m_sctHits(0), m_siHits(0),
21  m_strawHits(0), m_trHits(0),
22  m_hitPattern(0),
23  m_multiPattern(0),
24  m_author(0),
25  m_hasTruth(0),
26  m_barcode(0),
27  m_match_barcode(0),
28  m_expectBL(0),
29  m_id(0)
30 {}
31 
32 
33 TIDA::Track::Track(double eta, double phi, double z0, double a0, double pT, double chi2, double dof,
34  double deta, double dphi, double dz0, double da0, double dpT,
35  int bLayerHits, int pixelHits, int sctHits, int siHits,
36  int strawHits, int trHits,
37  unsigned hitPattern,
38  unsigned multiPattern,
39  int author,
40  bool hasTruth,
41  int barcode,
42  int match_barcode,
43  bool expectBL,
44  unsigned long id) :
45  m_eta(eta), m_phi(phi), m_z0(z0), m_a0(a0), m_pT(pT), m_chi2(chi2),
46  m_dof(dof),
47  m_deta(deta), m_dphi(dphi), m_dz0(dz0), m_da0(da0), m_dpT(dpT),
48  m_bLayerHits(bLayerHits), m_pixelHits(pixelHits), m_sctHits(sctHits), m_siHits(siHits),
49  m_strawHits(strawHits), m_trHits(trHits),
50  m_hitPattern(hitPattern),
51  m_multiPattern(multiPattern),
52  m_author(author),
53  m_hasTruth(hasTruth),
54  m_barcode(barcode),
55  m_match_barcode(match_barcode),
56  m_expectBL(expectBL),
57  m_id(id)
58 {}
59 
60 
62 
63 
65  m_pT *= -1;
66  m_a0 *= -1;
67  m_phi -= M_PI;
68  m_eta *= -1;
69  }
CalculateHighPtTerm.pT
pT
Definition: ICHEP2016/CalculateHighPtTerm.py:57
Track.h
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
TIDA::Track::rotate
void rotate()
Definition: Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx:64
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
M_PI
#define M_PI
Definition: ActiveFraction.h:11
ClassImp
ClassImp(TIDA::Track) TIDA
Definition: Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx:14
TIDA::Track::Track
Track()
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:523
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
a0
double a0
Definition: globals.cxx:27
TIDA::Track::~Track
virtual ~Track()
Definition: Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx:61
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
CaloCondBlobAlgs_fillNoiseFromASCII.author
string author
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:26
TIDA::Track
Definition: Trigger/TrigAnalysis/TrigInDetAnalysis/TrigInDetAnalysis/Track.h:26