CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
tmtt::DigitalTrack Class Reference

#include <DigitalTrack.h>

Public Member Functions

bool accepted () const
 
int cBinhelix () const
 
int cBinHT () const
 
float chisquaredRphi () const
 
float chisquaredRphi_bcon () const
 
float chisquaredRz () const
 
float d0 () const
 
 DigitalTrack (const Settings *settings, const std::string &fitterName, const L1fittedTrack *fitTrk)
 
unsigned int hitPattern () const
 
unsigned int iDigi_chisquaredRphi () const
 
unsigned int iDigi_chisquaredRphi_bcon () const
 
unsigned int iDigi_chisquaredRz () const
 
int iDigi_d0 () const
 
int iDigi_oneOver2r () const
 
int iDigi_oneOver2r_bcon () const
 
int iDigi_phi0rel () const
 
int iDigi_phi0rel_bcon () const
 
int iDigi_tanLambda () const
 
int iDigi_z0 () const
 
unsigned int iEtaReg () const
 
unsigned int iGetNonant (unsigned int iPhiSec) const
 
unsigned int iPhiSec () const
 
int mBinhelix () const
 
int mBinHT () const
 
unsigned int nlayers () const
 
float oneOver2r () const
 
float oneOver2r_bcon () const
 
float orig_chisquaredRphi () const
 
float orig_chisquaredRz () const
 
float orig_d0 () const
 
float orig_oneOver2r () const
 
float orig_phi0 () const
 
float orig_phi0rel () const
 
float orig_qOverPt () const
 
float orig_tanLambda () const
 
float orig_z0 () const
 
float phi0 () const
 
float phi0_bcon () const
 
float phi0rel () const
 
float phi0rel_bcon () const
 
float qOverPt () const
 
float qOverPt_bcon () const
 
float tanLambda () const
 
float tp_d0 () const
 
float tp_eta () const
 
int tp_index () const
 
float tp_pdgId () const
 
float tp_phi0 () const
 
float tp_pt () const
 
float tp_qoverpt () const
 
float tp_tanLambda () const
 
float tp_useForAlgEff () const
 
float tp_useForEff () const
 
float tp_z0 () const
 
float z0 () const
 

Private Member Functions

void checkAccuracy () const
 
void checkInRange () const
 
void loadDigiCfg (const std::string &fitterName)
 
void makeDigitalTrack ()
 

Private Attributes

bool accepted_
 
int cBin_
 
int cBinhelix_
 
unsigned int chisquaredBits_
 
double chisquaredMult_
 
float chisquaredRange_
 
float chisquaredRphi_
 
float chisquaredRphi_bcon_
 
float chisquaredRphi_bcon_orig_
 
float chisquaredRphi_orig_
 
float chisquaredRz_
 
float chisquaredRz_orig_
 
float chosenRofPhi_
 
bool consistent_
 
bool consistentSect_
 
float d0_
 
float d0_orig_
 
unsigned int d0Bits_
 
double d0Mult_
 
float d0Range_
 
std::string fitterName_
 
unsigned int hitPattern_
 
unsigned int iDigi_chisquaredRphi_
 
unsigned int iDigi_chisquaredRphi_bcon_
 
unsigned int iDigi_chisquaredRz_
 
int iDigi_d0_
 
int iDigi_oneOver2r_
 
int iDigi_oneOver2r_bcon_
 
int iDigi_phi0rel_
 
int iDigi_phi0rel_bcon_
 
int iDigi_tanLambda_
 
int iDigi_z0_
 
unsigned int iEtaReg_
 
float invPtToDPhi_
 
unsigned int iPhiSec_
 
int mBin_
 
int mBinhelix_
 
unsigned int nbinsPt_
 
unsigned int nHelixParams_
 
unsigned int nlayers_
 
unsigned int numPhiNonants_
 
unsigned int numPhiSectors_
 
float oneOver2r_
 
float oneOver2r_bcon_
 
float oneOver2r_bcon_orig_
 
float oneOver2r_orig_
 
unsigned int oneOver2rBits_
 
double oneOver2rMult_
 
float oneOver2rRange_
 
float phi0_
 
float phi0_bcon_
 
float phi0_bcon_orig_
 
float phi0_orig_
 
unsigned int phi0Bits_
 
double phi0Mult_
 
float phi0Range_
 
float phi0rel_
 
float phi0rel_bcon_
 
float phi0rel_bcon_orig_
 
float phi0rel_orig_
 
double phiNonantWidth_
 
double phiSectorCentre_
 
double phiSectorWidth_
 
float qOverPt_
 
float qOverPt_bcon_
 
float qOverPt_bcon_orig_
 
float qOverPt_orig_
 
const Settingssettings_
 
bool skipTrackDigi_
 
float tanLambda_
 
float tanLambda_orig_
 
unsigned int tanLambdaBits_
 
double tanLambdaMult_
 
float tanLambdaRange_
 
float tp_d0_
 
float tp_eta_
 
int tp_index_
 
int tp_pdgId_
 
float tp_phi0_
 
float tp_pt_
 
float tp_qoverpt_
 
float tp_tanLambda_
 
bool tp_useForAlgEff_
 
bool tp_useForEff_
 
float tp_z0_
 
float z0_
 
float z0_orig_
 
unsigned int z0Bits_
 
double z0Mult_
 
float z0Range_
 

Detailed Description

Used to digitize the fitted track helix params. WARNING: Digitizes according to common format agreed for KF and SimpleLR4 fitters, and uses KF digitisation cfg for all fitters except SimpleLR4.

Definition at line 22 of file DigitalTrack.h.

Constructor & Destructor Documentation

◆ DigitalTrack()

tmtt::DigitalTrack::DigitalTrack ( const Settings settings,
const std::string &  fitterName,
const L1fittedTrack fitTrk 
)

Definition at line 14 of file DigitalTrack.cc.

References chisquaredRange_, chisquaredRphi_bcon_orig_, chisquaredRphi_orig_, reco::deltaPhi(), dqmMemoryStats::float, iPhiSec_, loadDigiCfg(), M_PI, makeDigitalTrack(), tmtt::L1fittedTrack::matchedTP(), numPhiNonants_, numPhiSectors_, tmtt::L1fittedTrack::phi0(), tmtt::L1fittedTrack::phi0_bcon(), phi0rel_bcon_orig_, phi0rel_orig_, phiSectorCentre_, phiSectorWidth_, cmsswSequenceInfo::tp, tp_d0_, tp_eta_, tp_index_, tp_pdgId_, tp_phi0_, tp_pt_, tp_qoverpt_, tp_tanLambda_, tp_useForAlgEff_, tp_useForEff_, and tp_z0_.

15  :
16 
17  // Digitization configuration parameters
18  settings_(settings),
19 
20  // Number of phi sectors and phi nonants.
21  numPhiSectors_(settings->numPhiSectors()),
22  numPhiNonants_(settings->numPhiNonants()),
23  // Phi sector and phi nonant width (radians)
24  phiSectorWidth_(2. * M_PI / float(numPhiSectors_)),
25  phiNonantWidth_(2. * M_PI / float(numPhiNonants_)),
26  // Radius from beamline with respect to which stub r coord. is measured.
27  chosenRofPhi_(settings->chosenRofPhi()),
28 
29  // Number of q/Pt bins in Hough transform array.
30  nbinsPt_((int)settings->houghNbinsPt()),
31  invPtToDPhi_(settings->invPtToDphi()),
32 
33  // Info about fitted track
34  fitterName_(fitterName),
35  nHelixParams_(fitTrk->nHelixParam()),
36 
37  nlayers_(fitTrk->numLayers()),
38  iPhiSec_(fitTrk->iPhiSec()),
39  iEtaReg_(fitTrk->iEtaReg()),
40  mBin_(int(fitTrk->cellLocationHT().first) - floor(settings_->houghNbinsPt() / 2)),
41  cBin_(int(fitTrk->cellLocationHT().second) - floor(settings_->houghNbinsPhi() / 2)),
42  mBinhelix_(int(fitTrk->cellLocationFit().first) - floor(settings_->houghNbinsPt() / 2)),
43  cBinhelix_(int(fitTrk->cellLocationFit().second) - floor(settings_->houghNbinsPhi() / 2)),
44  hitPattern_(fitTrk->hitPattern()),
45  consistent_(fitTrk->consistentHTcell()),
46  consistentSect_(fitTrk->consistentSector()),
47  accepted_(fitTrk->accepted()),
48 
49  qOverPt_orig_(fitTrk->qOverPt()),
50  oneOver2r_orig_(fitTrk->qOverPt() * invPtToDPhi_),
51  d0_orig_(fitTrk->d0()),
52  phi0_orig_(fitTrk->phi0()),
53  tanLambda_orig_(fitTrk->tanLambda()),
54  z0_orig_(fitTrk->z0()),
55  chisquaredRphi_orig_(fitTrk->chi2rphi()),
56  chisquaredRz_orig_(fitTrk->chi2rz()),
57 
58  // Same again with beam-spot constraint.
59  qOverPt_bcon_orig_(fitTrk->qOverPt_bcon()),
60  oneOver2r_bcon_orig_(fitTrk->qOverPt_bcon() * invPtToDPhi_),
61  phi0_bcon_orig_(fitTrk->phi0_bcon()),
62  chisquaredRphi_bcon_orig_(fitTrk->chi2rphi_bcon()) {
63  // Get digitisation parameters for this particular track fitter.
64  this->loadDigiCfg(fitterName);
65 
66  // Complete storage of info about fitted track & truth particle.
67  double phiCentreSec0 = -M_PI / float(numPhiNonants_) + M_PI / float(numPhiSectors_);
68  phiSectorCentre_ = phiSectorWidth_ * float(iPhiSec_) + phiCentreSec0;
70  phi0rel_bcon_orig_ = reco::deltaPhi(fitTrk->phi0_bcon(), phiSectorCentre_);
71 
72  // FIX: Remove this BODGE once BCHI increased to 11 in KFstate.h
77 
78  // Associated truth, if any.
79  const TP* tp = fitTrk->matchedTP();
80  bool tpOK = (tp != nullptr);
81  tp_tanLambda_ = tpOK ? tp->tanLambda() : 0;
82  tp_qoverpt_ = tpOK ? tp->qOverPt() : 0;
83  tp_pt_ = tpOK ? tp->pt() : 0;
84  tp_d0_ = tpOK ? tp->d0() : 0;
85  tp_eta_ = tpOK ? tp->eta() : 0;
86  tp_phi0_ = tpOK ? tp->phi0() : 0;
87  tp_z0_ = tpOK ? tp->z0() : 0;
88  tp_index_ = tpOK ? tp->index() : -1;
89  tp_useForAlgEff_ = tpOK ? tp->useForAlgEff() : false;
90  tp_useForEff_ = tpOK ? tp->useForEff() : false;
91  tp_pdgId_ = tpOK ? tp->pdgId() : 0;
92 
93  // Digitize track.
94  this->makeDigitalTrack();
95  }
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
float chisquaredRphi_bcon_orig_
Definition: DigitalTrack.h:182
unsigned int iPhiSec_
Definition: DigitalTrack.h:155
unsigned int nbinsPt_
Definition: DigitalTrack.h:123
unsigned int houghNbinsPt() const
Definition: Settings.h:137
unsigned int numPhiNonants_
Definition: DigitalTrack.h:118
unsigned int numPhiSectors_
Definition: DigitalTrack.h:117
unsigned int nHelixParams_
Definition: DigitalTrack.h:151
#define M_PI
unsigned int iEtaReg_
Definition: DigitalTrack.h:156
std::string fitterName_
Definition: DigitalTrack.h:150
const Settings * settings_
Definition: DigitalTrack.h:114
unsigned int nlayers_
Definition: DigitalTrack.h:154
void loadDigiCfg(const std::string &fitterName)
Definition: DigitalTrack.cc:99
unsigned int hitPattern_
Definition: DigitalTrack.h:161
unsigned int houghNbinsPhi() const
Definition: Settings.h:139

Member Function Documentation

◆ accepted()

bool tmtt::DigitalTrack::accepted ( ) const
inline

Definition at line 69 of file DigitalTrack.h.

References accepted_.

69 { return accepted_; }

◆ cBinhelix()

int tmtt::DigitalTrack::cBinhelix ( ) const
inline

Definition at line 65 of file DigitalTrack.h.

References cBinhelix_.

65 { return cBinhelix_; }

◆ cBinHT()

int tmtt::DigitalTrack::cBinHT ( ) const
inline

Definition at line 68 of file DigitalTrack.h.

References cBin_.

68 { return cBin_; }

◆ checkAccuracy()

void tmtt::DigitalTrack::checkAccuracy ( ) const
private

Definition at line 290 of file DigitalTrack.cc.

References funct::abs(), accepted_, chisquaredRphi_, chisquaredRphi_orig_, chisquaredRz_, chisquaredRz_orig_, d0_, d0_orig_, reco::deltaPhi(), Exception, fitterName_, phi0_, phi0_orig_, qOverPt_, qOverPt_orig_, tanLambda_, tanLambda_orig_, z0_, and z0_orig_.

Referenced by makeDigitalTrack().

290  {
291  if (accepted_) { // Don't bother apply to tracks rejected by the fitter.
292  float TA = qOverPt_ - qOverPt_orig_;
293  float TB = reco::deltaPhi(phi0_, phi0_orig_);
294  float TC = z0_ - z0_orig_;
295  float TD = tanLambda_ - tanLambda_orig_;
296  float TE = d0_ - d0_orig_;
298  float TG = chisquaredRz_ - chisquaredRz_orig_;
299 
300  // Compare to small numbers, representing acceptable precision loss.
301  constexpr float smallTA = 0.01, smallTB = 0.001, smallTC = 0.05, smallTD = 0.002, smallTE = 0.05, smallTF = 0.5,
302  smallTG = 0.5;
303  if (std::abs(TA) > smallTA || std::abs(TB) > smallTB || std::abs(TC) > smallTC || std::abs(TD) > smallTD ||
304  std::abs(TE) > smallTE || std::abs(TF) > smallTF || std::abs(TG) > smallTG) {
305  throw cms::Exception("LogicError")
306  << "WARNING: DigitalTrack lost precision: " << fitterName_ << " accepted=" << accepted_ << " " << TA << " "
307  << TB << " " << TC << " " << TD << " " << TE << " " << TF << " " << TG;
308  }
309  }
310  }
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
std::string fitterName_
Definition: DigitalTrack.h:150

◆ checkInRange()

void tmtt::DigitalTrack::checkInRange ( ) const
private

Definition at line 247 of file DigitalTrack.cc.

References funct::abs(), accepted_, chisquaredRange_, chisquaredRphi_orig_, chisquaredRz_orig_, consistentSect_, d0_orig_, d0Range_, Exception, fitterName_, oneOver2r_orig_, oneOver2rRange_, or, phi0Range_, phi0rel_orig_, tanLambda_orig_, tanLambdaRange_, z0_orig_, and z0Range_.

Referenced by makeDigitalTrack().

247  {
248  if (accepted_) { // Don't bother apply to tracks rejected by the fitter.
250  throw cms::Exception("BadConfig")
251  << "DigitalTrack: Track oneOver2r is out of assumed digitization range."
252  << " |oneOver2r| = " << std::abs(oneOver2r_orig_) << " > " << 0.5 * oneOver2rRange_
253  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
254  if (consistentSect_) { // don't bother if track will fail sector consistency cut.
255  if (std::abs(phi0rel_orig_) >= 0.5 * phi0Range_)
256  throw cms::Exception("BadConfig") << "DigitalTrack: Track phi0rel is out of assumed digitization range."
257  << " |phi0rel| = " << std::abs(phi0rel_orig_) << " > " << 0.5 * phi0Range_
258  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
259  }
260  if (std::abs(z0_orig_) >= 0.5 * z0Range_)
261  throw cms::Exception("BadConfig") << "DigitalTrack: Track z0 is out of assumed digitization range."
262  << " |z0| = " << std::abs(z0_orig_) << " > " << 0.5 * z0Range_
263  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
264  if (std::abs(d0_orig_) >= 0.5 * d0Range_)
265  throw cms::Exception("BadConfig") << "DigitalTrack: Track d0 is out of assumed digitization range."
266  << " |d0| = " << std::abs(d0_orig_) << " > " << 0.5 * d0Range_
267  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
269  throw cms::Exception("BadConfig")
270  << "DigitalTrack: Track tanLambda is out of assumed digitization range."
271  << " |tanLambda| = " << std::abs(tanLambda_orig_) << " > " << 0.5 * tanLambdaRange_
272  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
273  if (accepted_) { // Tracks declared invalid by fitter can have very large original chi2.
275  throw cms::Exception("BadConfig")
276  << "DigitalTrack: Track chisquaredRphi is out of assumed digitization range."
277  << " chisquaredRphi = " << chisquaredRphi_orig_ << " > " << chisquaredRange_ << " or < 0"
278  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
280  throw cms::Exception("BadConfig")
281  << "DigitalTrack: Track chisquaredRz is out of assumed digitization range."
282  << " chisquaredRz = " << chisquaredRz_orig_ << " > " << chisquaredRange_ << " or < 0"
283  << "; Fitter=" << fitterName_ << "; track accepted = " << accepted_;
284  }
285  }
286  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
std::string fitterName_
Definition: DigitalTrack.h:150

◆ chisquaredRphi()

float tmtt::DigitalTrack::chisquaredRphi ( ) const
inline

Definition at line 52 of file DigitalTrack.h.

References chisquaredRphi_.

52 { return chisquaredRphi_; }

◆ chisquaredRphi_bcon()

float tmtt::DigitalTrack::chisquaredRphi_bcon ( ) const
inline

Definition at line 60 of file DigitalTrack.h.

References chisquaredRphi_bcon_.

60 { return chisquaredRphi_bcon_; }

◆ chisquaredRz()

float tmtt::DigitalTrack::chisquaredRz ( ) const
inline

Definition at line 53 of file DigitalTrack.h.

References chisquaredRz_.

53 { return chisquaredRz_; }

◆ d0()

float tmtt::DigitalTrack::d0 ( ) const
inline

Definition at line 47 of file DigitalTrack.h.

References d0_.

47 { return d0_; }

◆ hitPattern()

unsigned int tmtt::DigitalTrack::hitPattern ( ) const
inline

Definition at line 70 of file DigitalTrack.h.

References hitPattern_.

70 { return hitPattern_; }
unsigned int hitPattern_
Definition: DigitalTrack.h:161

◆ iDigi_chisquaredRphi()

unsigned int tmtt::DigitalTrack::iDigi_chisquaredRphi ( ) const
inline

Definition at line 36 of file DigitalTrack.h.

References iDigi_chisquaredRphi_.

36 { return iDigi_chisquaredRphi_; }
unsigned int iDigi_chisquaredRphi_
Definition: DigitalTrack.h:191

◆ iDigi_chisquaredRphi_bcon()

unsigned int tmtt::DigitalTrack::iDigi_chisquaredRphi_bcon ( ) const
inline

Definition at line 42 of file DigitalTrack.h.

References iDigi_chisquaredRphi_bcon_.

unsigned int iDigi_chisquaredRphi_bcon_
Definition: DigitalTrack.h:196

◆ iDigi_chisquaredRz()

unsigned int tmtt::DigitalTrack::iDigi_chisquaredRz ( ) const
inline

Definition at line 37 of file DigitalTrack.h.

References iDigi_chisquaredRz_.

37 { return iDigi_chisquaredRz_; }
unsigned int iDigi_chisquaredRz_
Definition: DigitalTrack.h:192

◆ iDigi_d0()

int tmtt::DigitalTrack::iDigi_d0 ( ) const
inline

Definition at line 31 of file DigitalTrack.h.

References iDigi_d0_.

31 { return iDigi_d0_; }

◆ iDigi_oneOver2r()

int tmtt::DigitalTrack::iDigi_oneOver2r ( ) const
inline

Definition at line 30 of file DigitalTrack.h.

References iDigi_oneOver2r_.

30 { return iDigi_oneOver2r_; }

◆ iDigi_oneOver2r_bcon()

int tmtt::DigitalTrack::iDigi_oneOver2r_bcon ( ) const
inline

Definition at line 40 of file DigitalTrack.h.

References iDigi_oneOver2r_bcon_.

40 { return iDigi_oneOver2r_bcon_; } // half inverse curvature of track.

◆ iDigi_phi0rel()

int tmtt::DigitalTrack::iDigi_phi0rel ( ) const
inline

Definition at line 33 of file DigitalTrack.h.

References iDigi_phi0rel_.

Referenced by tmtt::SimpleLR4::fit().

33 { return iDigi_phi0rel_; }

◆ iDigi_phi0rel_bcon()

int tmtt::DigitalTrack::iDigi_phi0rel_bcon ( ) const
inline

Definition at line 41 of file DigitalTrack.h.

References iDigi_phi0rel_bcon_.

41 { return iDigi_phi0rel_bcon_; } // measured relative to centre of sector

◆ iDigi_tanLambda()

int tmtt::DigitalTrack::iDigi_tanLambda ( ) const
inline

Definition at line 35 of file DigitalTrack.h.

References iDigi_tanLambda_.

35 { return iDigi_tanLambda_; }

◆ iDigi_z0()

int tmtt::DigitalTrack::iDigi_z0 ( ) const
inline

Definition at line 34 of file DigitalTrack.h.

References iDigi_z0_.

34 { return iDigi_z0_; }

◆ iEtaReg()

unsigned int tmtt::DigitalTrack::iEtaReg ( ) const
inline

Definition at line 63 of file DigitalTrack.h.

References iEtaReg_.

63 { return iEtaReg_; }
unsigned int iEtaReg_
Definition: DigitalTrack.h:156

◆ iGetNonant()

unsigned int tmtt::DigitalTrack::iGetNonant ( unsigned int  iPhiSec) const
inline

Definition at line 97 of file DigitalTrack.h.

References iPhiSec(), numPhiNonants_, and numPhiSectors_.

97 { return floor(iPhiSec * numPhiNonants_ / numPhiSectors_); }
unsigned int numPhiNonants_
Definition: DigitalTrack.h:118
unsigned int numPhiSectors_
Definition: DigitalTrack.h:117
unsigned int iPhiSec() const
Definition: DigitalTrack.h:62

◆ iPhiSec()

unsigned int tmtt::DigitalTrack::iPhiSec ( ) const
inline

Definition at line 62 of file DigitalTrack.h.

References iPhiSec_.

Referenced by iGetNonant().

62 { return iPhiSec_; }
unsigned int iPhiSec_
Definition: DigitalTrack.h:155

◆ loadDigiCfg()

void tmtt::DigitalTrack::loadDigiCfg ( const std::string &  fitterName)
private

Definition at line 99 of file DigitalTrack.cc.

References chisquaredBits_, chisquaredMult_, chisquaredRange_, d0Bits_, d0Mult_, d0Range_, tmtt::Settings::kf_chisquaredBits(), tmtt::Settings::kf_chisquaredRange(), tmtt::Settings::kf_d0Bits(), tmtt::Settings::kf_d0Range(), tmtt::Settings::kf_oneOver2rBits(), tmtt::Settings::kf_oneOver2rRange(), tmtt::Settings::kf_phi0Bits(), tmtt::Settings::kf_phi0Range(), tmtt::Settings::kf_skipTrackDigi(), tmtt::Settings::kf_tanlambdaBits(), tmtt::Settings::kf_tanlambdaRange(), tmtt::Settings::kf_z0Bits(), tmtt::Settings::kf_z0Range(), oneOver2rBits_, oneOver2rMult_, oneOver2rRange_, tmtt::Settings::other_skipTrackDigi(), phi0Bits_, phi0Mult_, phi0Range_, funct::pow(), settings_, skipTrackDigi_, tmtt::Settings::slr_chisquaredBits(), tmtt::Settings::slr_chisquaredRange(), tmtt::Settings::slr_d0Bits(), tmtt::Settings::slr_d0Range(), tmtt::Settings::slr_oneOver2rBits(), tmtt::Settings::slr_oneOver2rRange(), tmtt::Settings::slr_phi0Bits(), tmtt::Settings::slr_phi0Range(), tmtt::Settings::slr_skipTrackDigi(), tmtt::Settings::slr_tanlambdaBits(), tmtt::Settings::slr_tanlambdaRange(), tmtt::Settings::slr_z0Bits(), tmtt::Settings::slr_z0Range(), tanLambdaBits_, tanLambdaMult_, tanLambdaRange_, z0Bits_, z0Mult_, and z0Range_.

Referenced by DigitalTrack().

99  {
100  if (fitterName == "SimpleLR4") {
101  // SimpleLR4 track fitter
115  } else {
116  // KF track fitter
117  // Also used for all other fitters, though unlikely to be correct them them ...
118  if (fitterName == "KF4ParamsComb" || fitterName == "KF5ParamsComb" || fitterName == "KF4ParamsCombHLS") {
120  } else {
121  skipTrackDigi_ = settings_->other_skipTrackDigi(); // Allows to skip digitisation for other fitters
122  }
135  }
136 
137  // Calculate multipliers to digitize the floating point numbers.
139  d0Mult_ = pow(2., d0Bits_) / d0Range_;
141  z0Mult_ = pow(2., z0Bits_) / z0Range_;
144  }
unsigned int phi0Bits_
Definition: DigitalTrack.h:132
double kf_tanlambdaRange() const
Definition: Settings.h:374
unsigned int slr_oneOver2rBits() const
Definition: Settings.h:351
double kf_phi0Range() const
Definition: Settings.h:370
unsigned int kf_d0Bits() const
Definition: Settings.h:367
double slr_phi0Range() const
Definition: Settings.h:356
unsigned int kf_oneOver2rBits() const
Definition: Settings.h:365
unsigned int tanLambdaBits_
Definition: DigitalTrack.h:136
unsigned int z0Bits_
Definition: DigitalTrack.h:134
double kf_z0Range() const
Definition: Settings.h:372
bool other_skipTrackDigi() const
Definition: Settings.h:379
unsigned int kf_phi0Bits() const
Definition: Settings.h:369
unsigned int kf_chisquaredBits() const
Definition: Settings.h:375
unsigned int oneOver2rBits_
Definition: DigitalTrack.h:128
double slr_z0Range() const
Definition: Settings.h:358
unsigned int d0Bits_
Definition: DigitalTrack.h:130
unsigned int chisquaredBits_
Definition: DigitalTrack.h:138
unsigned int slr_chisquaredBits() const
Definition: Settings.h:361
unsigned int slr_d0Bits() const
Definition: Settings.h:353
double slr_oneOver2rRange() const
Definition: Settings.h:352
unsigned int slr_tanlambdaBits() const
Definition: Settings.h:359
double slr_d0Range() const
Definition: Settings.h:354
double slr_chisquaredRange() const
Definition: Settings.h:362
double slr_tanlambdaRange() const
Definition: Settings.h:360
double kf_oneOver2rRange() const
Definition: Settings.h:366
const Settings * settings_
Definition: DigitalTrack.h:114
bool slr_skipTrackDigi() const
Definition: Settings.h:350
unsigned int kf_tanlambdaBits() const
Definition: Settings.h:373
double kf_d0Range() const
Definition: Settings.h:368
double kf_chisquaredRange() const
Definition: Settings.h:376
unsigned int slr_phi0Bits() const
Definition: Settings.h:355
bool kf_skipTrackDigi() const
Definition: Settings.h:364
unsigned int kf_z0Bits() const
Definition: Settings.h:371
unsigned int slr_z0Bits() const
Definition: Settings.h:357
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ makeDigitalTrack()

void tmtt::DigitalTrack::makeDigitalTrack ( )
private

Definition at line 148 of file DigitalTrack.cc.

References accepted_, checkAccuracy(), checkInRange(), chisquaredBits_, chisquaredMult_, chisquaredRphi_, chisquaredRphi_bcon_, chisquaredRphi_bcon_orig_, chisquaredRphi_orig_, chisquaredRz_, chisquaredRz_orig_, d0_, d0_orig_, d0Mult_, reco::deltaPhi(), iDigi_chisquaredRphi_, iDigi_chisquaredRphi_bcon_, iDigi_chisquaredRz_, iDigi_d0_, iDigi_oneOver2r_, iDigi_oneOver2r_bcon_, iDigi_phi0rel_, iDigi_phi0rel_bcon_, iDigi_tanLambda_, iDigi_z0_, invPtToDPhi_, nHelixParams_, oneOver2r_, oneOver2r_bcon_, oneOver2r_bcon_orig_, oneOver2r_orig_, oneOver2rMult_, phi0_, phi0_bcon_, phi0_bcon_orig_, phi0_orig_, phi0Mult_, phi0rel_, phi0rel_bcon_, phi0rel_bcon_orig_, phi0rel_orig_, phiSectorCentre_, funct::pow(), qOverPt_, qOverPt_bcon_, qOverPt_bcon_orig_, qOverPt_orig_, skipTrackDigi_, tanLambda_, tanLambda_orig_, tanLambdaMult_, z0_, z0_orig_, and z0Mult_.

Referenced by DigitalTrack().

148  {
149  if (skipTrackDigi_) {
150  // Optionally skip track digitisaton if done internally inside track fitting code, so
151  // retain original helix params.
152  iDigi_oneOver2r_ = 0;
153  iDigi_d0_ = 0;
154  iDigi_phi0rel_ = 0;
155  iDigi_tanLambda_ = 0;
156  iDigi_z0_ = 0;
159 
163 
166  d0_ = d0_orig_;
168  phi0_ = phi0_orig_;
170  z0_ = z0_orig_;
173 
174  // Same again with beam-spot constraint.
180 
181  } else {
182  //--- Digitize variables
183 
185  iDigi_d0_ = floor(d0_orig_ * d0Mult_);
188  iDigi_z0_ = floor(z0_orig_ * z0Mult_);
191 
192  // If fitted declared track invalid, it will have set its chi2 to very large number.
193  // So truncate it at maximum allowed by digitisation range.
194  if (!accepted_) {
197  }
198 
199  // Same again with beam-spot constraint.
203  if (!accepted_)
205 
206  //--- Determine floating point track params from digitized numbers (so with degraded resolution).
207 
210  if (nHelixParams_ == 5) {
211  d0_ = (iDigi_d0_ + 0.5) / d0Mult_;
212  } else {
213  d0_ = 0.;
214  }
215  phi0rel_ = (iDigi_phi0rel_ + 0.5) / phi0Mult_;
218  z0_ = (iDigi_z0_ + 0.5) / z0Mult_;
221 
222  // Same again with beam-spot constraint.
223  if (nHelixParams_ == 5) {
229  } else {
233  phi0_bcon_ = phi0_;
235  }
236 
237  // Check that track coords. are within assumed digitization range.
238  this->checkInRange();
239 
240  // Check that digitization followed by undigitization doesn't change results too much.
241  this->checkAccuracy();
242  }
243  }
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
void checkAccuracy() const
float chisquaredRphi_bcon_orig_
Definition: DigitalTrack.h:182
unsigned int iDigi_chisquaredRphi_bcon_
Definition: DigitalTrack.h:196
void checkInRange() const
unsigned int iDigi_chisquaredRphi_
Definition: DigitalTrack.h:191
unsigned int chisquaredBits_
Definition: DigitalTrack.h:138
unsigned int nHelixParams_
Definition: DigitalTrack.h:151
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
unsigned int iDigi_chisquaredRz_
Definition: DigitalTrack.h:192

◆ mBinhelix()

int tmtt::DigitalTrack::mBinhelix ( ) const
inline

Definition at line 64 of file DigitalTrack.h.

References mBinhelix_.

64 { return mBinhelix_; }

◆ mBinHT()

int tmtt::DigitalTrack::mBinHT ( ) const
inline

Definition at line 67 of file DigitalTrack.h.

References mBin_.

67 { return mBin_; }

◆ nlayers()

unsigned int tmtt::DigitalTrack::nlayers ( ) const
inline

Definition at line 66 of file DigitalTrack.h.

References nlayers_.

66 { return nlayers_; }
unsigned int nlayers_
Definition: DigitalTrack.h:154

◆ oneOver2r()

float tmtt::DigitalTrack::oneOver2r ( ) const
inline

Definition at line 46 of file DigitalTrack.h.

References oneOver2r_.

Referenced by tmtt::SimpleLR4::fit().

46 { return oneOver2r_; } // half inverse curvature of track.

◆ oneOver2r_bcon()

float tmtt::DigitalTrack::oneOver2r_bcon ( ) const
inline

Definition at line 57 of file DigitalTrack.h.

References oneOver2r_bcon_.

57 { return oneOver2r_bcon_; } // half inverse curvature of track.

◆ orig_chisquaredRphi()

float tmtt::DigitalTrack::orig_chisquaredRphi ( ) const
inline

Definition at line 81 of file DigitalTrack.h.

References chisquaredRphi_orig_.

81 { return chisquaredRphi_orig_; }

◆ orig_chisquaredRz()

float tmtt::DigitalTrack::orig_chisquaredRz ( ) const
inline

Definition at line 82 of file DigitalTrack.h.

References chisquaredRz_orig_.

82 { return chisquaredRz_orig_; }

◆ orig_d0()

float tmtt::DigitalTrack::orig_d0 ( ) const
inline

Definition at line 76 of file DigitalTrack.h.

References d0_orig_.

76 { return d0_orig_; }

◆ orig_oneOver2r()

float tmtt::DigitalTrack::orig_oneOver2r ( ) const
inline

Definition at line 75 of file DigitalTrack.h.

References oneOver2r_orig_.

75 { return oneOver2r_orig_; } // half inverse curvature of track.

◆ orig_phi0()

float tmtt::DigitalTrack::orig_phi0 ( ) const
inline

Definition at line 77 of file DigitalTrack.h.

References phi0_orig_.

77 { return phi0_orig_; }

◆ orig_phi0rel()

float tmtt::DigitalTrack::orig_phi0rel ( ) const
inline

Definition at line 78 of file DigitalTrack.h.

References phi0rel_orig_.

78 { return phi0rel_orig_; } // measured relative to centre of sector

◆ orig_qOverPt()

float tmtt::DigitalTrack::orig_qOverPt ( ) const
inline

Definition at line 74 of file DigitalTrack.h.

References qOverPt_orig_.

74 { return qOverPt_orig_; }

◆ orig_tanLambda()

float tmtt::DigitalTrack::orig_tanLambda ( ) const
inline

Definition at line 80 of file DigitalTrack.h.

References tanLambda_orig_.

80 { return tanLambda_orig_; }

◆ orig_z0()

float tmtt::DigitalTrack::orig_z0 ( ) const
inline

Definition at line 79 of file DigitalTrack.h.

References z0_orig_.

79 { return z0_orig_; }

◆ phi0()

float tmtt::DigitalTrack::phi0 ( ) const
inline

Definition at line 48 of file DigitalTrack.h.

References phi0_.

Referenced by tmtt::SimpleLR4::fit().

48 { return phi0_; }

◆ phi0_bcon()

float tmtt::DigitalTrack::phi0_bcon ( ) const
inline

Definition at line 58 of file DigitalTrack.h.

References phi0_bcon_.

58 { return phi0_bcon_; }

◆ phi0rel()

float tmtt::DigitalTrack::phi0rel ( ) const
inline

Definition at line 49 of file DigitalTrack.h.

References phi0rel_.

49 { return phi0rel_; } // measured relative to centre of sector

◆ phi0rel_bcon()

float tmtt::DigitalTrack::phi0rel_bcon ( ) const
inline

Definition at line 59 of file DigitalTrack.h.

References phi0rel_bcon_.

59 { return phi0rel_bcon_; } // measured relative to centre of sector

◆ qOverPt()

float tmtt::DigitalTrack::qOverPt ( ) const
inline

Definition at line 45 of file DigitalTrack.h.

References qOverPt_.

45 { return qOverPt_; }

◆ qOverPt_bcon()

float tmtt::DigitalTrack::qOverPt_bcon ( ) const
inline

Definition at line 56 of file DigitalTrack.h.

References qOverPt_bcon_.

56 { return qOverPt_bcon_; }

◆ tanLambda()

float tmtt::DigitalTrack::tanLambda ( ) const
inline

Definition at line 51 of file DigitalTrack.h.

References tanLambda_.

51 { return tanLambda_; }

◆ tp_d0()

float tmtt::DigitalTrack::tp_d0 ( ) const
inline

Definition at line 86 of file DigitalTrack.h.

References tp_d0_.

86 { return tp_d0_; }

◆ tp_eta()

float tmtt::DigitalTrack::tp_eta ( ) const
inline

Definition at line 85 of file DigitalTrack.h.

References tp_eta_.

85 { return tp_eta_; }

◆ tp_index()

int tmtt::DigitalTrack::tp_index ( ) const
inline

Definition at line 91 of file DigitalTrack.h.

References tp_index_.

91 { return tp_index_; }

◆ tp_pdgId()

float tmtt::DigitalTrack::tp_pdgId ( ) const
inline

Definition at line 94 of file DigitalTrack.h.

References tp_pdgId_.

94 { return tp_pdgId_; }

◆ tp_phi0()

float tmtt::DigitalTrack::tp_phi0 ( ) const
inline

Definition at line 87 of file DigitalTrack.h.

References tp_phi0_.

87 { return tp_phi0_; }

◆ tp_pt()

float tmtt::DigitalTrack::tp_pt ( ) const
inline

Definition at line 84 of file DigitalTrack.h.

References tp_pt_.

84 { return tp_pt_; }

◆ tp_qoverpt()

float tmtt::DigitalTrack::tp_qoverpt ( ) const
inline

Definition at line 90 of file DigitalTrack.h.

References tp_qoverpt_.

90 { return tp_qoverpt_; }

◆ tp_tanLambda()

float tmtt::DigitalTrack::tp_tanLambda ( ) const
inline

Definition at line 88 of file DigitalTrack.h.

References tp_tanLambda_.

88 { return tp_tanLambda_; }

◆ tp_useForAlgEff()

float tmtt::DigitalTrack::tp_useForAlgEff ( ) const
inline

Definition at line 92 of file DigitalTrack.h.

References tp_useForAlgEff_.

92 { return tp_useForAlgEff_; }

◆ tp_useForEff()

float tmtt::DigitalTrack::tp_useForEff ( ) const
inline

Definition at line 93 of file DigitalTrack.h.

References tp_useForEff_.

93 { return tp_useForEff_; }

◆ tp_z0()

float tmtt::DigitalTrack::tp_z0 ( ) const
inline

Definition at line 89 of file DigitalTrack.h.

References tp_z0_.

89 { return tp_z0_; }

◆ z0()

float tmtt::DigitalTrack::z0 ( ) const
inline

Definition at line 50 of file DigitalTrack.h.

References z0_.

50 { return z0_; }

Member Data Documentation

◆ accepted_

bool tmtt::DigitalTrack::accepted_
private

Definition at line 164 of file DigitalTrack.h.

Referenced by accepted(), checkAccuracy(), checkInRange(), and makeDigitalTrack().

◆ cBin_

int tmtt::DigitalTrack::cBin_
private

Definition at line 158 of file DigitalTrack.h.

Referenced by cBinHT().

◆ cBinhelix_

int tmtt::DigitalTrack::cBinhelix_
private

Definition at line 160 of file DigitalTrack.h.

Referenced by cBinhelix().

◆ chisquaredBits_

unsigned int tmtt::DigitalTrack::chisquaredBits_
private

Definition at line 138 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ chisquaredMult_

double tmtt::DigitalTrack::chisquaredMult_
private

Definition at line 146 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ chisquaredRange_

float tmtt::DigitalTrack::chisquaredRange_
private

Definition at line 139 of file DigitalTrack.h.

Referenced by checkInRange(), DigitalTrack(), and loadDigiCfg().

◆ chisquaredRphi_

float tmtt::DigitalTrack::chisquaredRphi_
private

Definition at line 207 of file DigitalTrack.h.

Referenced by checkAccuracy(), chisquaredRphi(), and makeDigitalTrack().

◆ chisquaredRphi_bcon_

float tmtt::DigitalTrack::chisquaredRphi_bcon_
private

Definition at line 214 of file DigitalTrack.h.

Referenced by chisquaredRphi_bcon(), and makeDigitalTrack().

◆ chisquaredRphi_bcon_orig_

float tmtt::DigitalTrack::chisquaredRphi_bcon_orig_
private

Definition at line 182 of file DigitalTrack.h.

Referenced by DigitalTrack(), and makeDigitalTrack().

◆ chisquaredRphi_orig_

float tmtt::DigitalTrack::chisquaredRphi_orig_
private

◆ chisquaredRz_

float tmtt::DigitalTrack::chisquaredRz_
private

Definition at line 208 of file DigitalTrack.h.

Referenced by checkAccuracy(), chisquaredRz(), and makeDigitalTrack().

◆ chisquaredRz_orig_

float tmtt::DigitalTrack::chisquaredRz_orig_
private

Definition at line 176 of file DigitalTrack.h.

Referenced by checkAccuracy(), checkInRange(), makeDigitalTrack(), and orig_chisquaredRz().

◆ chosenRofPhi_

float tmtt::DigitalTrack::chosenRofPhi_
private

Definition at line 122 of file DigitalTrack.h.

◆ consistent_

bool tmtt::DigitalTrack::consistent_
private

Definition at line 162 of file DigitalTrack.h.

◆ consistentSect_

bool tmtt::DigitalTrack::consistentSect_
private

Definition at line 163 of file DigitalTrack.h.

Referenced by checkInRange().

◆ d0_

float tmtt::DigitalTrack::d0_
private

Definition at line 202 of file DigitalTrack.h.

Referenced by checkAccuracy(), d0(), and makeDigitalTrack().

◆ d0_orig_

float tmtt::DigitalTrack::d0_orig_
private

Definition at line 170 of file DigitalTrack.h.

Referenced by checkAccuracy(), checkInRange(), makeDigitalTrack(), and orig_d0().

◆ d0Bits_

unsigned int tmtt::DigitalTrack::d0Bits_
private

Definition at line 130 of file DigitalTrack.h.

Referenced by loadDigiCfg().

◆ d0Mult_

double tmtt::DigitalTrack::d0Mult_
private

Definition at line 142 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ d0Range_

float tmtt::DigitalTrack::d0Range_
private

Definition at line 131 of file DigitalTrack.h.

Referenced by checkInRange(), and loadDigiCfg().

◆ fitterName_

std::string tmtt::DigitalTrack::fitterName_
private

Definition at line 150 of file DigitalTrack.h.

Referenced by checkAccuracy(), and checkInRange().

◆ hitPattern_

unsigned int tmtt::DigitalTrack::hitPattern_
private

Definition at line 161 of file DigitalTrack.h.

Referenced by hitPattern().

◆ iDigi_chisquaredRphi_

unsigned int tmtt::DigitalTrack::iDigi_chisquaredRphi_
private

Definition at line 191 of file DigitalTrack.h.

Referenced by iDigi_chisquaredRphi(), and makeDigitalTrack().

◆ iDigi_chisquaredRphi_bcon_

unsigned int tmtt::DigitalTrack::iDigi_chisquaredRphi_bcon_
private

Definition at line 196 of file DigitalTrack.h.

Referenced by iDigi_chisquaredRphi_bcon(), and makeDigitalTrack().

◆ iDigi_chisquaredRz_

unsigned int tmtt::DigitalTrack::iDigi_chisquaredRz_
private

Definition at line 192 of file DigitalTrack.h.

Referenced by iDigi_chisquaredRz(), and makeDigitalTrack().

◆ iDigi_d0_

int tmtt::DigitalTrack::iDigi_d0_
private

Definition at line 187 of file DigitalTrack.h.

Referenced by iDigi_d0(), and makeDigitalTrack().

◆ iDigi_oneOver2r_

int tmtt::DigitalTrack::iDigi_oneOver2r_
private

Definition at line 186 of file DigitalTrack.h.

Referenced by iDigi_oneOver2r(), and makeDigitalTrack().

◆ iDigi_oneOver2r_bcon_

int tmtt::DigitalTrack::iDigi_oneOver2r_bcon_
private

Definition at line 194 of file DigitalTrack.h.

Referenced by iDigi_oneOver2r_bcon(), and makeDigitalTrack().

◆ iDigi_phi0rel_

int tmtt::DigitalTrack::iDigi_phi0rel_
private

Definition at line 188 of file DigitalTrack.h.

Referenced by iDigi_phi0rel(), and makeDigitalTrack().

◆ iDigi_phi0rel_bcon_

int tmtt::DigitalTrack::iDigi_phi0rel_bcon_
private

Definition at line 195 of file DigitalTrack.h.

Referenced by iDigi_phi0rel_bcon(), and makeDigitalTrack().

◆ iDigi_tanLambda_

int tmtt::DigitalTrack::iDigi_tanLambda_
private

Definition at line 190 of file DigitalTrack.h.

Referenced by iDigi_tanLambda(), and makeDigitalTrack().

◆ iDigi_z0_

int tmtt::DigitalTrack::iDigi_z0_
private

Definition at line 189 of file DigitalTrack.h.

Referenced by iDigi_z0(), and makeDigitalTrack().

◆ iEtaReg_

unsigned int tmtt::DigitalTrack::iEtaReg_
private

Definition at line 156 of file DigitalTrack.h.

Referenced by iEtaReg().

◆ invPtToDPhi_

float tmtt::DigitalTrack::invPtToDPhi_
private

Definition at line 124 of file DigitalTrack.h.

Referenced by makeDigitalTrack().

◆ iPhiSec_

unsigned int tmtt::DigitalTrack::iPhiSec_
private

Definition at line 155 of file DigitalTrack.h.

Referenced by DigitalTrack(), and iPhiSec().

◆ mBin_

int tmtt::DigitalTrack::mBin_
private

Definition at line 157 of file DigitalTrack.h.

Referenced by mBinHT().

◆ mBinhelix_

int tmtt::DigitalTrack::mBinhelix_
private

Definition at line 159 of file DigitalTrack.h.

Referenced by mBinhelix().

◆ nbinsPt_

unsigned int tmtt::DigitalTrack::nbinsPt_
private

Definition at line 123 of file DigitalTrack.h.

◆ nHelixParams_

unsigned int tmtt::DigitalTrack::nHelixParams_
private

Definition at line 151 of file DigitalTrack.h.

Referenced by makeDigitalTrack().

◆ nlayers_

unsigned int tmtt::DigitalTrack::nlayers_
private

Definition at line 154 of file DigitalTrack.h.

Referenced by nlayers().

◆ numPhiNonants_

unsigned int tmtt::DigitalTrack::numPhiNonants_
private

Definition at line 118 of file DigitalTrack.h.

Referenced by DigitalTrack(), and iGetNonant().

◆ numPhiSectors_

unsigned int tmtt::DigitalTrack::numPhiSectors_
private

Definition at line 117 of file DigitalTrack.h.

Referenced by DigitalTrack(), and iGetNonant().

◆ oneOver2r_

float tmtt::DigitalTrack::oneOver2r_
private

Definition at line 201 of file DigitalTrack.h.

Referenced by makeDigitalTrack(), and oneOver2r().

◆ oneOver2r_bcon_

float tmtt::DigitalTrack::oneOver2r_bcon_
private

Definition at line 211 of file DigitalTrack.h.

Referenced by makeDigitalTrack(), and oneOver2r_bcon().

◆ oneOver2r_bcon_orig_

float tmtt::DigitalTrack::oneOver2r_bcon_orig_
private

Definition at line 179 of file DigitalTrack.h.

Referenced by makeDigitalTrack().

◆ oneOver2r_orig_

float tmtt::DigitalTrack::oneOver2r_orig_
private

Definition at line 169 of file DigitalTrack.h.

Referenced by checkInRange(), makeDigitalTrack(), and orig_oneOver2r().

◆ oneOver2rBits_

unsigned int tmtt::DigitalTrack::oneOver2rBits_
private

Definition at line 128 of file DigitalTrack.h.

Referenced by loadDigiCfg().

◆ oneOver2rMult_

double tmtt::DigitalTrack::oneOver2rMult_
private

Definition at line 141 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ oneOver2rRange_

float tmtt::DigitalTrack::oneOver2rRange_
private

Definition at line 129 of file DigitalTrack.h.

Referenced by checkInRange(), and loadDigiCfg().

◆ phi0_

float tmtt::DigitalTrack::phi0_
private

Definition at line 203 of file DigitalTrack.h.

Referenced by checkAccuracy(), makeDigitalTrack(), and phi0().

◆ phi0_bcon_

float tmtt::DigitalTrack::phi0_bcon_
private

Definition at line 212 of file DigitalTrack.h.

Referenced by makeDigitalTrack(), and phi0_bcon().

◆ phi0_bcon_orig_

float tmtt::DigitalTrack::phi0_bcon_orig_
private

Definition at line 180 of file DigitalTrack.h.

Referenced by makeDigitalTrack().

◆ phi0_orig_

float tmtt::DigitalTrack::phi0_orig_
private

Definition at line 171 of file DigitalTrack.h.

Referenced by checkAccuracy(), makeDigitalTrack(), and orig_phi0().

◆ phi0Bits_

unsigned int tmtt::DigitalTrack::phi0Bits_
private

Definition at line 132 of file DigitalTrack.h.

Referenced by loadDigiCfg().

◆ phi0Mult_

double tmtt::DigitalTrack::phi0Mult_
private

Definition at line 143 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ phi0Range_

float tmtt::DigitalTrack::phi0Range_
private

Definition at line 133 of file DigitalTrack.h.

Referenced by checkInRange(), and loadDigiCfg().

◆ phi0rel_

float tmtt::DigitalTrack::phi0rel_
private

Definition at line 204 of file DigitalTrack.h.

Referenced by makeDigitalTrack(), and phi0rel().

◆ phi0rel_bcon_

float tmtt::DigitalTrack::phi0rel_bcon_
private

Definition at line 213 of file DigitalTrack.h.

Referenced by makeDigitalTrack(), and phi0rel_bcon().

◆ phi0rel_bcon_orig_

float tmtt::DigitalTrack::phi0rel_bcon_orig_
private

Definition at line 181 of file DigitalTrack.h.

Referenced by DigitalTrack(), and makeDigitalTrack().

◆ phi0rel_orig_

float tmtt::DigitalTrack::phi0rel_orig_
private

Definition at line 172 of file DigitalTrack.h.

Referenced by checkInRange(), DigitalTrack(), makeDigitalTrack(), and orig_phi0rel().

◆ phiNonantWidth_

double tmtt::DigitalTrack::phiNonantWidth_
private

Definition at line 120 of file DigitalTrack.h.

◆ phiSectorCentre_

double tmtt::DigitalTrack::phiSectorCentre_
private

Definition at line 121 of file DigitalTrack.h.

Referenced by DigitalTrack(), and makeDigitalTrack().

◆ phiSectorWidth_

double tmtt::DigitalTrack::phiSectorWidth_
private

Definition at line 119 of file DigitalTrack.h.

Referenced by DigitalTrack().

◆ qOverPt_

float tmtt::DigitalTrack::qOverPt_
private

Definition at line 200 of file DigitalTrack.h.

Referenced by checkAccuracy(), makeDigitalTrack(), and qOverPt().

◆ qOverPt_bcon_

float tmtt::DigitalTrack::qOverPt_bcon_
private

Definition at line 210 of file DigitalTrack.h.

Referenced by makeDigitalTrack(), and qOverPt_bcon().

◆ qOverPt_bcon_orig_

float tmtt::DigitalTrack::qOverPt_bcon_orig_
private

Definition at line 178 of file DigitalTrack.h.

Referenced by makeDigitalTrack().

◆ qOverPt_orig_

float tmtt::DigitalTrack::qOverPt_orig_
private

Definition at line 168 of file DigitalTrack.h.

Referenced by checkAccuracy(), makeDigitalTrack(), and orig_qOverPt().

◆ settings_

const Settings* tmtt::DigitalTrack::settings_
private

Definition at line 114 of file DigitalTrack.h.

Referenced by loadDigiCfg().

◆ skipTrackDigi_

bool tmtt::DigitalTrack::skipTrackDigi_
private

Definition at line 127 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ tanLambda_

float tmtt::DigitalTrack::tanLambda_
private

Definition at line 206 of file DigitalTrack.h.

Referenced by checkAccuracy(), makeDigitalTrack(), and tanLambda().

◆ tanLambda_orig_

float tmtt::DigitalTrack::tanLambda_orig_
private

Definition at line 173 of file DigitalTrack.h.

Referenced by checkAccuracy(), checkInRange(), makeDigitalTrack(), and orig_tanLambda().

◆ tanLambdaBits_

unsigned int tmtt::DigitalTrack::tanLambdaBits_
private

Definition at line 136 of file DigitalTrack.h.

Referenced by loadDigiCfg().

◆ tanLambdaMult_

double tmtt::DigitalTrack::tanLambdaMult_
private

Definition at line 145 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ tanLambdaRange_

float tmtt::DigitalTrack::tanLambdaRange_
private

Definition at line 137 of file DigitalTrack.h.

Referenced by checkInRange(), and loadDigiCfg().

◆ tp_d0_

float tmtt::DigitalTrack::tp_d0_
private

Definition at line 220 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_d0().

◆ tp_eta_

float tmtt::DigitalTrack::tp_eta_
private

Definition at line 219 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_eta().

◆ tp_index_

int tmtt::DigitalTrack::tp_index_
private

Definition at line 224 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_index().

◆ tp_pdgId_

int tmtt::DigitalTrack::tp_pdgId_
private

Definition at line 227 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_pdgId().

◆ tp_phi0_

float tmtt::DigitalTrack::tp_phi0_
private

Definition at line 221 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_phi0().

◆ tp_pt_

float tmtt::DigitalTrack::tp_pt_
private

Definition at line 218 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_pt().

◆ tp_qoverpt_

float tmtt::DigitalTrack::tp_qoverpt_
private

Definition at line 217 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_qoverpt().

◆ tp_tanLambda_

float tmtt::DigitalTrack::tp_tanLambda_
private

Definition at line 222 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_tanLambda().

◆ tp_useForAlgEff_

bool tmtt::DigitalTrack::tp_useForAlgEff_
private

Definition at line 225 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_useForAlgEff().

◆ tp_useForEff_

bool tmtt::DigitalTrack::tp_useForEff_
private

Definition at line 226 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_useForEff().

◆ tp_z0_

float tmtt::DigitalTrack::tp_z0_
private

Definition at line 223 of file DigitalTrack.h.

Referenced by DigitalTrack(), and tp_z0().

◆ z0_

float tmtt::DigitalTrack::z0_
private

Definition at line 205 of file DigitalTrack.h.

Referenced by checkAccuracy(), makeDigitalTrack(), and z0().

◆ z0_orig_

float tmtt::DigitalTrack::z0_orig_
private

Definition at line 174 of file DigitalTrack.h.

Referenced by checkAccuracy(), checkInRange(), makeDigitalTrack(), and orig_z0().

◆ z0Bits_

unsigned int tmtt::DigitalTrack::z0Bits_
private

Definition at line 134 of file DigitalTrack.h.

Referenced by loadDigiCfg().

◆ z0Mult_

double tmtt::DigitalTrack::z0Mult_
private

Definition at line 144 of file DigitalTrack.h.

Referenced by loadDigiCfg(), and makeDigitalTrack().

◆ z0Range_

float tmtt::DigitalTrack::z0Range_
private

Definition at line 135 of file DigitalTrack.h.

Referenced by checkInRange(), and loadDigiCfg().