CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
tmtt::TP Class Reference

#include <TP.h>

Public Member Functions

const std::vector< const Stub * > & assocStubs () const
 
int charge () const
 
float d0 () const
 
float dphi (float rad) const
 
float eta () const
 
void fillNearestJetInfo (const reco::GenJetCollection *genJets)
 
void fillTruth (const std::list< Stub > &vStubs)
 
unsigned int index () const
 
bool inTimeBx () const
 
float mass () const
 
float nearestJetPt () const
 
unsigned int numAssocStubs () const
 
unsigned int numLayers () const
 
bool operator== (const TP &tpOther) const
 
int pdgId () const
 
float phi0 () const
 
bool physicsCollision () const
 
float pt () const
 
float qOverPt () const
 
float tanLambda () const
 
float theta () const
 
 TP (const TrackingParticlePtr &tpPtr, unsigned int index_in_vTPs, const Settings *settings)
 
float tpInJet (float genJetPtCut=30.) const
 
const TrackingParticlePtrtrackingParticlePtr () const
 
float trkPhiAtR (float rad) const
 
float trkPhiAtStub (const Stub *stub) const
 
float trkRAtStub (const Stub *stub) const
 
float trkZAtR (float rad) const
 
float trkZAtStub (const Stub *stub) const
 
bool use () const
 
bool useForAlgEff () const
 
bool useForEff () const
 
float vx () const
 
float vy () const
 
float vz () const
 
float z0 () const
 

Private Member Functions

void calcNumLayers ()
 
void fillUse ()
 
void fillUseForAlgEff ()
 
void fillUseForEff ()
 

Private Attributes

std::vector< const Stub * > assocStubs_
 
int charge_
 
float d0_
 
float eta_
 
unsigned int index_in_vTPs_
 
bool inTimeBx_
 
float mass_
 
float nearestJetPt_
 
unsigned int nLayersWithStubs_
 
int pdgId_
 
float phi0_
 
bool physicsCollision_
 
float pt_
 
const Settingssettings_
 
float tanLambda_
 
float theta_
 
bool tpInJet_
 
TrackingParticlePtr trackingParticlePtr_
 
bool use_
 
bool useForAlgEff_
 
bool useForEff_
 
float vx_
 
float vy_
 
float vz_
 
float z0_
 

Detailed Description

Definition at line 23 of file TP.h.

Constructor & Destructor Documentation

tmtt::TP::TP ( const TrackingParticlePtr tpPtr,
unsigned int  index_in_vTPs,
const Settings settings 
)

Definition at line 16 of file TP.cc.

References EncodedEventId::bunchCrossing(), runTauDisplay::eid, EncodedEventId::event(), fillUse(), fillUseForEff(), inTimeBx_, physicsCollision_, and x.

17  : trackingParticlePtr_(tpPtr),
18  index_in_vTPs_(index_in_vTPs),
19  settings_(settings),
20  pdgId_(tpPtr->pdgId()),
21  charge_(tpPtr->charge()),
22  mass_(tpPtr->mass()),
23  pt_(tpPtr->pt()),
24  eta_(tpPtr->eta()),
25  theta_(tpPtr->theta()),
26  tanLambda_(1. / tan(theta_)),
27  phi0_(tpPtr->phi()),
28  vx_(tpPtr->vertex().x()),
29  vy_(tpPtr->vertex().y()),
30  vz_(tpPtr->vertex().z()),
31  d0_(vx_ * sin(phi0_) - vy_ * cos(phi0_)), // Copied from CMSSW class TrackBase::d0().
32  z0_(vz_ - (vx_ * cos(phi0_) + vy_ * sin(phi0_)) * tanLambda_) // Copied from CMSSW class TrackBase::dz().
33  {
34  const vector<SimTrack>& vst = tpPtr->g4Tracks();
35  EncodedEventId eid = vst.at(0).eventId();
36  inTimeBx_ = (eid.bunchCrossing() == 0); // TP from in-time or out-of-time Bx.
37  physicsCollision_ = (eid.event() == 0); // TP from physics collision or from pileup.
38 
39  this->fillUse(); // Fill use_ flag, indicating if TP is worth keeping.
40  this->fillUseForEff(); // Fill useForEff_ flag, indicating if TP is good for tracking efficiency measurement.
41  }
float phi0_
Definition: TP.h:121
int event() const
get the contents of the subdetector field (should be protected?)
int pdgId_
Definition: TP.h:112
float theta_
Definition: TP.h:119
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
int charge_
Definition: TP.h:115
float vy_
Definition: TP.h:123
void fillUseForEff()
Definition: TP.cc:103
float vx_
Definition: TP.h:122
unsigned int index_in_vTPs_
Definition: TP.h:108
void fillUse()
Definition: TP.cc:61
TrackingParticlePtr trackingParticlePtr_
Definition: TP.h:106
int bunchCrossing() const
get the detector field from this detid
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
float vz_
Definition: TP.h:124
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
float mass_
Definition: TP.h:116
float pt_
Definition: TP.h:117
const Settings * settings_
Definition: TP.h:110
float d0_
Definition: TP.h:125
float eta_
Definition: TP.h:118
bool physicsCollision_
Definition: TP.h:114
float z0_
Definition: TP.h:126
bool inTimeBx_
Definition: TP.h:113
float tanLambda_
Definition: TP.h:120

Member Function Documentation

const std::vector<const Stub*>& tmtt::TP::assocStubs ( ) const
inline

Definition at line 79 of file TP.h.

References assocStubs_.

Referenced by tmtt::Sector::stubsInside().

79  {
80  return assocStubs_;
81  } // associated stubs. (Includes those failing tightened front-end electronics cuts supplied by user). (Which stubs are returned is affected by "StubMatchStrict" config param.)
std::vector< const Stub * > assocStubs_
Definition: TP.h:128
void tmtt::TP::calcNumLayers ( )
inlineprivate

Definition at line 103 of file TP.h.

References assocStubs_, tmtt::Utility::countLayers(), nLayersWithStubs_, and settings_.

Referenced by fillTruth().

const Settings * settings_
Definition: TP.h:110
unsigned int countLayers(const Settings *settings, const std::vector< const Stub * > &stubs, bool disableReducedLayerID=false, bool onlyPS=false)
Definition: Utility.cc:25
unsigned int nLayersWithStubs_
Definition: TP.h:129
std::vector< const Stub * > assocStubs_
Definition: TP.h:128
int tmtt::TP::charge ( void  ) const
inline

Definition at line 46 of file TP.h.

References charge_.

46 { return charge_; }
int charge_
Definition: TP.h:115
float tmtt::TP::d0 ( ) const
inline

Definition at line 63 of file TP.h.

References d0_.

Referenced by tmtt::DigitalTrack::DigitalTrack(), tmtt::Histos::fillTrackFitting(), and tmtt::KFbase::printTP().

63 { return d0_; }
float d0_
Definition: TP.h:125
float tmtt::TP::dphi ( float  rad) const
inline

Definition at line 66 of file TP.h.

References charge_, tmtt::Settings::invPtToDphi(), pt_, and settings_.

Referenced by trkPhiAtR(), and trkPhiAtStub().

66 { return asin(settings_->invPtToDphi() * rad * charge_ / pt_); }
int charge_
Definition: TP.h:115
float pt_
Definition: TP.h:117
const Settings * settings_
Definition: TP.h:110
double invPtToDphi() const
Definition: Settings.h:397
float tmtt::TP::eta ( void  ) const
inline
void tmtt::TP::fillNearestJetInfo ( const reco::GenJetCollection genJets)

Definition at line 166 of file TP.cc.

References funct::abs(), reco::deltaR(), HLT_FULL_cff::deltaR, eta(), reco::LeafCandidate::eta(), maxEta, HLT_FULL_cff::minDR, HLT_FULL_cff::minPt, nearestJetPt_, reco::LeafCandidate::phi(), phi0(), reco::LeafCandidate::pt(), and tpInJet_.

166  {
167  double minDR = 999.;
168  double ptOfNearestJet = -1;
169 
170  reco::GenJetCollection::const_iterator iterGenJet;
171  for (iterGenJet = genJets->begin(); iterGenJet != genJets->end(); ++iterGenJet) {
172  reco::GenJet myJet = reco::GenJet(*iterGenJet);
173 
174  // Don't consider GenJets failing these cuts.
175  constexpr float minPt = 30.0;
176  constexpr float maxEta = 2.5;
177 
178  if (myJet.pt() > minPt && std::abs(myJet.eta()) > maxEta) {
179  double deltaR = reco::deltaR(this->eta(), this->phi0(), myJet.eta(), myJet.phi());
180 
181  if (deltaR < minDR) {
182  minDR = deltaR;
183  ptOfNearestJet = myJet.pt();
184  }
185  }
186  }
187 
188  // Only consider GenJets within this distance of TP.
189  constexpr float cutDR = 0.4;
190  tpInJet_ = (minDR < cutDR);
191  nearestJetPt_ = tpInJet_ ? ptOfNearestJet : -1.;
192  }
double pt() const final
transverse momentum
double maxEta
float eta() const
Definition: TP.h:54
float nearestJetPt_
Definition: TP.h:136
float phi0() const
Definition: TP.h:57
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
Jets made from MC generator particles.
Definition: GenJet.h:23
bool tpInJet_
Definition: TP.h:135
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
double phi() const final
momentum azimuthal angle
double eta() const final
momentum pseudorapidity
void tmtt::TP::fillTruth ( const std::list< Stub > &  vStubs)

Definition at line 45 of file TP.cc.

References assocStubs_, calcNumLayers(), fillUseForAlgEff(), index(), and alignCSCRings::s.

45  {
46  for (const Stub& s : vStubs) {
47  for (const TP* tp_i : s.assocTPs()) {
48  if (tp_i->index() == this->index())
49  assocStubs_.push_back(&s);
50  }
51  }
52 
53  this->fillUseForAlgEff(); // Fill useForAlgEff_ flag.
54 
55  this->calcNumLayers(); // Calculate number of tracker layers this TP has stubs in.
56  }
unsigned int index() const
Definition: TP.h:39
void calcNumLayers()
Definition: TP.h:103
TP(const TrackingParticlePtr &tpPtr, unsigned int index_in_vTPs, const Settings *settings)
Definition: TP.cc:16
void fillUseForAlgEff()
Definition: TP.cc:134
std::vector< const Stub * > assocStubs_
Definition: TP.h:128
void tmtt::TP::fillUse ( )
private

Definition at line 61 of file TP.cc.

References funct::abs(), Puppi_cff::etaMax, tmtt::Settings::etaRegions(), tmtt::Settings::genMaxAbsEta(), tmtt::Settings::genMaxVertR(), tmtt::Settings::genMaxVertZ(), tmtt::Settings::genMinPt(), tmtt::Settings::houghMinPt(), SiStripPI::max, SiStripPI::min, HLT_FULL_cff::ptMax, ptMin, settings_, trackingParticlePtr_, trackingParticleSelector_cfi::trackingParticleSelector, and use_.

Referenced by TP().

61  {
62  constexpr bool useOnlyInTimeParticles = false;
63  constexpr bool useOnlyTPfromPhysicsCollisionFalse = false;
64  // Use looser cuts here those those used for tracking efficiency measurement.
65  // Keep only those TP that have a chance (allowing for finite track resolution) of being reconstructed as L1 tracks. L1 tracks not matching these TP will be defined as fake.
66 
67  // Include all possible particle types here, as if some are left out, L1 tracks matching one of missing types will be declared fake.
68  constexpr std::array<int, 5> genPdgIdsAllUnsigned = {{11, 13, 211, 321, 2212}};
69  vector<int> genPdgIdsAll;
70  for (const int& iPdg : genPdgIdsAllUnsigned) {
71  genPdgIdsAll.push_back(iPdg);
72  genPdgIdsAll.push_back(-iPdg);
73  }
74 
75  // Range big enough to include all TP needed to measure tracking efficiency
76  // and big enough to include any TP that might be reconstructed for fake rate measurement.
77  constexpr float ptMinScale = 0.7;
78  const float ptMin = min(settings_->genMinPt(), ptMinScale * settings_->houghMinPt());
79  constexpr double ptMax = 9.9e9;
80  const float etaExtra = 0.2;
81  const float etaMax = max(settings_->genMaxAbsEta(), etaExtra + std::abs(settings_->etaRegions()[0]));
82  constexpr double fixedVertRcut = 10.;
83  constexpr double fixedVertZcut = 35.;
84 
86  ptMax,
87  -etaMax,
88  etaMax,
89  max(fixedVertRcut, settings_->genMaxVertR()),
90  max(fixedVertZcut, settings_->genMaxVertZ()),
91  0,
92  useOnlyTPfromPhysicsCollisionFalse,
93  useOnlyInTimeParticles,
94  true,
95  false,
96  genPdgIdsAll);
97 
99  }
double genMaxAbsEta() const
Definition: Settings.h:49
double houghMinPt() const
Definition: Settings.h:135
double genMinPt() const
Definition: Settings.h:48
double genMaxVertR() const
Definition: Settings.h:50
constexpr float ptMin
double genMaxVertZ() const
Definition: Settings.h:51
TrackingParticlePtr trackingParticlePtr_
Definition: TP.h:106
const std::vector< double > & etaRegions() const
Definition: Settings.h:124
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const Settings * settings_
Definition: TP.h:110
bool use_
Definition: TP.h:131
tuple etaMax
Definition: Puppi_cff.py:47
void tmtt::TP::fillUseForAlgEff ( )
private

Definition at line 134 of file TP.cc.

References assocStubs_, tmtt::Utility::countLayers(), tmtt::Settings::genMinStubLayers(), settings_, useForAlgEff_, and useForEff_.

Referenced by fillTruth().

134  {
135  useForAlgEff_ = false;
136  if (useForEff_) {
138  }
139  }
bool useForEff_
Definition: TP.h:132
bool useForAlgEff_
Definition: TP.h:133
const Settings * settings_
Definition: TP.h:110
unsigned int genMinStubLayers() const
Definition: Settings.h:56
unsigned int countLayers(const Settings *settings, const std::vector< const Stub * > &stubs, bool disableReducedLayerID=false, bool onlyPS=false)
Definition: Utility.cc:25
std::vector< const Stub * > assocStubs_
Definition: TP.h:128
void tmtt::TP::fillUseForEff ( )
private

Definition at line 103 of file TP.cc.

References funct::abs(), d0_, tmtt::Settings::genMaxAbsEta(), tmtt::Settings::genMaxD0(), tmtt::Settings::genMaxVertR(), tmtt::Settings::genMaxVertZ(), tmtt::Settings::genMaxZ0(), tmtt::Settings::genMinPt(), tmtt::Settings::genPdgIds(), HLT_FULL_cff::ptMax, settings_, trackingParticlePtr_, trackingParticleSelector_cfi::trackingParticleSelector, use_, useForEff_, and z0_.

Referenced by TP().

103  {
104  useForEff_ = false;
105  if (use_) {
106  constexpr bool useOnlyInTimeParticles = true;
107  constexpr bool useOnlyTPfromPhysicsCollision = true;
108  constexpr double ptMax = 9.9e9;
110  ptMax,
115  0,
116  useOnlyTPfromPhysicsCollision,
117  useOnlyInTimeParticles,
118  true,
119  false,
120  settings_->genPdgIds());
121 
123 
124  // Add additional cut on particle transverse impact parameter.
125  if (std::abs(d0_) > settings_->genMaxD0())
126  useForEff_ = false;
127  if (std::abs(z0_) > settings_->genMaxZ0())
128  useForEff_ = false;
129  }
130  }
double genMaxAbsEta() const
Definition: Settings.h:49
double genMaxZ0() const
Definition: Settings.h:53
double genMinPt() const
Definition: Settings.h:48
double genMaxVertR() const
Definition: Settings.h:50
bool useForEff_
Definition: TP.h:132
double genMaxVertZ() const
Definition: Settings.h:51
TrackingParticlePtr trackingParticlePtr_
Definition: TP.h:106
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const Settings * settings_
Definition: TP.h:110
bool use_
Definition: TP.h:131
float d0_
Definition: TP.h:125
float z0_
Definition: TP.h:126
double genMaxD0() const
Definition: Settings.h:52
const std::vector< int > & genPdgIds() const
Definition: Settings.h:54
unsigned int tmtt::TP::index ( ) const
inline
bool tmtt::TP::inTimeBx ( ) const
inline

Definition at line 43 of file TP.h.

References inTimeBx_.

43 { return inTimeBx_; }
bool inTimeBx_
Definition: TP.h:113
float tmtt::TP::mass ( ) const
inline

Definition at line 47 of file TP.h.

References mass_.

Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().

47 { return mass_; }
float mass_
Definition: TP.h:116
float tmtt::TP::nearestJetPt ( ) const
inline

Definition at line 95 of file TP.h.

References nearestJetPt_.

95 { return nearestJetPt_; } // -ve if no nearest jet.
float nearestJetPt_
Definition: TP.h:136
unsigned int tmtt::TP::numAssocStubs ( ) const
inline

Definition at line 82 of file TP.h.

References assocStubs_.

Referenced by tmtt::Utility::matchingTP().

82 { return assocStubs_.size(); }
std::vector< const Stub * > assocStubs_
Definition: TP.h:128
unsigned int tmtt::TP::numLayers ( ) const
inline

Definition at line 83 of file TP.h.

References nLayersWithStubs_.

83 { return nLayersWithStubs_; }
unsigned int nLayersWithStubs_
Definition: TP.h:129
bool tmtt::TP::operator== ( const TP tpOther) const
inline

Definition at line 31 of file TP.h.

References index().

31 { return (this->index() == tpOther.index()); }
unsigned int index() const
Definition: TP.h:39
int tmtt::TP::pdgId ( ) const
inline

Definition at line 41 of file TP.h.

References pdgId_.

Referenced by Particle.Particle::__str__(), and tmtt::DigitalTrack::DigitalTrack().

41 { return pdgId_; }
int pdgId_
Definition: TP.h:112
float tmtt::TP::phi0 ( ) const
inline
bool tmtt::TP::physicsCollision ( ) const
inline

Definition at line 45 of file TP.h.

References physicsCollision_.

45 { return physicsCollision_; }
bool physicsCollision_
Definition: TP.h:114
float tmtt::TP::pt ( ) const
inline
float tmtt::TP::qOverPt ( ) const
inline

Definition at line 50 of file TP.h.

References charge_, and pt_.

Referenced by tmtt::DigitalTrack::DigitalTrack(), tmtt::Histos::fillTrackFitting(), tmtt::SimpleLR4::fit(), tmtt::KFbase::printTP(), and tmtt::HTrphi::trueCell().

50  {
51  constexpr float big = 9.9e9;
52  return (pt_ > 0) ? charge_ / pt_ : big;
53  }
int charge_
Definition: TP.h:115
float pt_
Definition: TP.h:117
Definition: big.h:8
float tmtt::TP::tanLambda ( ) const
inline

Definition at line 56 of file TP.h.

References tanLambda_.

Referenced by tmtt::DigitalTrack::DigitalTrack(), and tmtt::KFbase::printTP().

56 { return tanLambda_; }
float tanLambda_
Definition: TP.h:120
float tmtt::TP::theta ( void  ) const
inline

Definition at line 55 of file TP.h.

References theta_.

Referenced by Tau.Tau::zImpact().

55 { return theta_; }
float theta_
Definition: TP.h:119
float tmtt::TP::tpInJet ( float  genJetPtCut = 30.) const
inline

Definition at line 94 of file TP.h.

References nearestJetPt_, and tpInJet_.

94 { return (tpInJet_ && nearestJetPt_ > genJetPtCut); }
float nearestJetPt_
Definition: TP.h:136
bool tpInJet_
Definition: TP.h:135
const TrackingParticlePtr& tmtt::TP::trackingParticlePtr ( ) const
inline

Definition at line 29 of file TP.h.

References trackingParticlePtr_.

29 { return trackingParticlePtr_; }
TrackingParticlePtr trackingParticlePtr_
Definition: TP.h:106
float tmtt::TP::trkPhiAtR ( float  rad) const
inline

Definition at line 68 of file TP.h.

References d0_, reco::deltaPhi(), dphi(), and phi0_.

Referenced by tmtt::Sector::insidePhiSec(), and tmtt::HTrphi::trueCell().

68 { return reco::deltaPhi(phi0_ - this->dphi(rad) - d0_ / rad, 0.); }
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
float phi0_
Definition: TP.h:121
float dphi(float rad) const
Definition: TP.h:66
float d0_
Definition: TP.h:125
float tmtt::TP::trkPhiAtStub ( const Stub stub) const

Definition at line 143 of file TP.cc.

References dphi(), phi0_, and trkRAtStub().

143  {
144  float trkPhi = phi0_ - this->dphi(this->trkRAtStub(stub));
145  return trkPhi;
146  }
float phi0_
Definition: TP.h:121
float dphi(float rad) const
Definition: TP.h:66
float trkRAtStub(const Stub *stub) const
Definition: TP.cc:152
float tmtt::TP::trkRAtStub ( const Stub stub) const

Definition at line 152 of file TP.cc.

References tmtt::Stub::barrel(), tmtt::Stub::r(), tanLambda_, tmtt::Stub::z(), and z0_.

Referenced by trkPhiAtStub().

152  {
153  float rTrk = (stub->barrel()) ? stub->r() : (stub->z() - z0_) / tanLambda_;
154  return rTrk;
155  }
float z0_
Definition: TP.h:126
float tanLambda_
Definition: TP.h:120
float tmtt::TP::trkZAtR ( float  rad) const
inline

Definition at line 70 of file TP.h.

References tanLambda_, and vz_.

Referenced by tmtt::Sector::insideEtaReg().

70 { return (vz_ + rad * tanLambda_); }
float vz_
Definition: TP.h:124
float tanLambda_
Definition: TP.h:120
float tmtt::TP::trkZAtStub ( const Stub stub) const

Definition at line 161 of file TP.cc.

References tmtt::Stub::barrel(), tmtt::Stub::r(), tanLambda_, tmtt::Stub::z(), and z0_.

161  {
162  float zTrk = (stub->barrel()) ? z0_ + tanLambda_ * stub->r() : stub->z();
163  return zTrk;
164  }
float z0_
Definition: TP.h:126
float tanLambda_
Definition: TP.h:120
bool tmtt::TP::use ( ) const
inline

Definition at line 85 of file TP.h.

References use_.

85 { return use_; }
bool use_
Definition: TP.h:131
bool tmtt::TP::useForAlgEff ( ) const
inline

Definition at line 89 of file TP.h.

References useForAlgEff_.

Referenced by tmtt::L1track3D::cheat(), tmtt::DigitalTrack::DigitalTrack(), tmtt::Histos::fillTrackFitting(), and tmtt::KFbase::printTP().

89 { return useForAlgEff_; }
bool useForAlgEff_
Definition: TP.h:133
bool tmtt::TP::useForEff ( ) const
inline

Definition at line 87 of file TP.h.

References useForEff_.

Referenced by tmtt::DigitalTrack::DigitalTrack().

87 { return useForEff_; }
bool useForEff_
Definition: TP.h:132
float tmtt::TP::vx ( ) const
inline

Definition at line 59 of file TP.h.

References vx_.

59 { return vx_; }
float vx_
Definition: TP.h:122
float tmtt::TP::vy ( ) const
inline

Definition at line 60 of file TP.h.

References vy_.

60 { return vy_; }
float vy_
Definition: TP.h:123
float tmtt::TP::vz ( ) const
inline

Definition at line 61 of file TP.h.

References vz_.

61 { return vz_; }
float vz_
Definition: TP.h:124
float tmtt::TP::z0 ( ) const
inline

Definition at line 64 of file TP.h.

References z0_.

Referenced by tmtt::DigitalTrack::DigitalTrack(), tmtt::Histos::fillTrackFitting(), and tmtt::KFbase::printTP().

64 { return z0_; }
float z0_
Definition: TP.h:126

Member Data Documentation

std::vector<const Stub*> tmtt::TP::assocStubs_
private

Definition at line 128 of file TP.h.

Referenced by assocStubs(), calcNumLayers(), fillTruth(), fillUseForAlgEff(), and numAssocStubs().

int tmtt::TP::charge_
private

Definition at line 115 of file TP.h.

Referenced by charge(), dphi(), and qOverPt().

float tmtt::TP::d0_
private

Definition at line 125 of file TP.h.

Referenced by d0(), fillUseForEff(), and trkPhiAtR().

float tmtt::TP::eta_
private

Definition at line 118 of file TP.h.

Referenced by eta().

unsigned int tmtt::TP::index_in_vTPs_
private

Definition at line 108 of file TP.h.

Referenced by index().

bool tmtt::TP::inTimeBx_
private

Definition at line 113 of file TP.h.

Referenced by inTimeBx(), and TP().

float tmtt::TP::mass_
private

Definition at line 116 of file TP.h.

Referenced by mass().

float tmtt::TP::nearestJetPt_
private

Definition at line 136 of file TP.h.

Referenced by fillNearestJetInfo(), nearestJetPt(), and tpInJet().

unsigned int tmtt::TP::nLayersWithStubs_
private

Definition at line 129 of file TP.h.

Referenced by calcNumLayers(), and numLayers().

int tmtt::TP::pdgId_
private

Definition at line 112 of file TP.h.

Referenced by pdgId().

float tmtt::TP::phi0_
private

Definition at line 121 of file TP.h.

Referenced by phi0(), trkPhiAtR(), and trkPhiAtStub().

bool tmtt::TP::physicsCollision_
private

Definition at line 114 of file TP.h.

Referenced by physicsCollision(), and TP().

float tmtt::TP::pt_
private

Definition at line 117 of file TP.h.

Referenced by dphi(), pt(), and qOverPt().

const Settings* tmtt::TP::settings_
private

Definition at line 110 of file TP.h.

Referenced by calcNumLayers(), dphi(), fillUse(), fillUseForAlgEff(), and fillUseForEff().

float tmtt::TP::tanLambda_
private

Definition at line 120 of file TP.h.

Referenced by tanLambda(), trkRAtStub(), trkZAtR(), and trkZAtStub().

float tmtt::TP::theta_
private

Definition at line 119 of file TP.h.

Referenced by theta().

bool tmtt::TP::tpInJet_
private

Definition at line 135 of file TP.h.

Referenced by fillNearestJetInfo(), and tpInJet().

TrackingParticlePtr tmtt::TP::trackingParticlePtr_
private

Definition at line 106 of file TP.h.

Referenced by fillUse(), fillUseForEff(), and trackingParticlePtr().

bool tmtt::TP::use_
private

Definition at line 131 of file TP.h.

Referenced by fillUse(), fillUseForEff(), and use().

bool tmtt::TP::useForAlgEff_
private

Definition at line 133 of file TP.h.

Referenced by fillUseForAlgEff(), and useForAlgEff().

bool tmtt::TP::useForEff_
private

Definition at line 132 of file TP.h.

Referenced by fillUseForAlgEff(), fillUseForEff(), and useForEff().

float tmtt::TP::vx_
private

Definition at line 122 of file TP.h.

Referenced by vx().

float tmtt::TP::vy_
private

Definition at line 123 of file TP.h.

Referenced by vy().

float tmtt::TP::vz_
private

Definition at line 124 of file TP.h.

Referenced by trkZAtR(), and vz().

float tmtt::TP::z0_
private

Definition at line 126 of file TP.h.

Referenced by fillUseForEff(), trkRAtStub(), trkZAtStub(), and z0().