ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger/TrigAnalysis/TrigInDetAnalysis/src/Track.cxx
Go to the documentation of this file.
1
9
10
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
33TIDA::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) :
46 m_dof(dof),
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 }
#define M_PI
int m_bLayerHits
Track hits and holes - encoded as 1000*nholes + nhits the relevant %1000 or /1000 should be performed...