CMS 3D CMS Logo

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

◆ TP()

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

Definition at line 16 of file TP.cc.

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  }

References runTauDisplay::eid, fillUse(), fillUseForEff(), TrackingParticle::g4Tracks(), inTimeBx_, and physicsCollision_.

Member Function Documentation

◆ assocStubs()

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

Definition at line 79 of file TP.h.

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.)

References assocStubs_.

◆ calcNumLayers()

void tmtt::TP::calcNumLayers ( )
inlineprivate

Definition at line 103 of file TP.h.

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

Referenced by fillTruth().

◆ charge()

int tmtt::TP::charge ( void  ) const
inline

Definition at line 46 of file TP.h.

46 { return charge_; }

References charge_.

◆ d0()

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

Definition at line 63 of file TP.h.

63 { return d0_; }

References d0_.

◆ dphi()

float tmtt::TP::dphi ( float  rad) const
inline

Definition at line 66 of file TP.h.

66 { return asin(settings_->invPtToDphi() * rad * charge_ / pt_); }

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

Referenced by trkPhiAtR(), and trkPhiAtStub().

◆ eta()

float tmtt::TP::eta ( void  ) const
inline

Definition at line 54 of file TP.h.

54 { return eta_; }

References eta_.

Referenced by Particle.Particle::__str__(), fillNearestJetInfo(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ fillNearestJetInfo()

void tmtt::TP::fillNearestJetInfo ( const reco::GenJetCollection genJets)

Definition at line 166 of file TP.cc.

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  }

References funct::abs(), reco::deltaR(), PbPb_ZMuSkimMuonDPG_cff::deltaR, eta(), reco::LeafCandidate::eta(), nanoDQM_cfi::GenJet, ttbarCategorization_cff::genJets, maxEta, PDWG_EXOHSCP_cff::minDR, beam_dqm_sourceclient-live_cfg::minPt, nearestJetPt_, reco::LeafCandidate::phi(), phi0(), reco::LeafCandidate::pt(), and tpInJet_.

◆ fillTruth()

void tmtt::TP::fillTruth ( const std::list< Stub > &  vStubs)

Definition at line 45 of file TP.cc.

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  }

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

◆ fillUse()

void tmtt::TP::fillUse ( )
private

Definition at line 61 of file TP.cc.

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;
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  }

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

Referenced by TP().

◆ fillUseForAlgEff()

void tmtt::TP::fillUseForAlgEff ( )
private

Definition at line 134 of file TP.cc.

134  {
135  useForAlgEff_ = false;
136  if (useForEff_) {
138  }
139  }

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

Referenced by fillTruth().

◆ fillUseForEff()

void tmtt::TP::fillUseForEff ( )
private

Definition at line 103 of file TP.cc.

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  }

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(), AlignmentTrackSelector_cfi::ptMax, settings_, trackingParticlePtr_, trackingParticleSelector_cfi::trackingParticleSelector, use_, useForEff_, and z0_.

Referenced by TP().

◆ index()

unsigned int tmtt::TP::index ( ) const
inline

Definition at line 39 of file TP.h.

39 { return index_in_vTPs_; }

References index_in_vTPs_.

Referenced by tmtt::L1track3D::cheat(), fillTruth(), BeautifulSoup.PageElement::insert(), and operator==().

◆ inTimeBx()

bool tmtt::TP::inTimeBx ( ) const
inline

Definition at line 43 of file TP.h.

43 { return inTimeBx_; }

References inTimeBx_.

◆ mass()

float tmtt::TP::mass ( ) const
inline

Definition at line 47 of file TP.h.

47 { return mass_; }

References mass_.

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

◆ nearestJetPt()

float tmtt::TP::nearestJetPt ( ) const
inline

Definition at line 95 of file TP.h.

95 { return nearestJetPt_; } // -ve if no nearest jet.

References nearestJetPt_.

◆ numAssocStubs()

unsigned int tmtt::TP::numAssocStubs ( ) const
inline

Definition at line 82 of file TP.h.

82 { return assocStubs_.size(); }

References assocStubs_.

◆ numLayers()

unsigned int tmtt::TP::numLayers ( ) const
inline

Definition at line 83 of file TP.h.

83 { return nLayersWithStubs_; }

References nLayersWithStubs_.

◆ operator==()

bool tmtt::TP::operator== ( const TP tpOther) const
inline

Definition at line 31 of file TP.h.

31 { return (this->index() == tpOther.index()); }

References index().

◆ pdgId()

int tmtt::TP::pdgId ( ) const
inline

Definition at line 41 of file TP.h.

41 { return pdgId_; }

References pdgId_.

Referenced by Particle.Particle::__str__().

◆ phi0()

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

Definition at line 57 of file TP.h.

57 { return phi0_; }

References phi0_.

Referenced by fillNearestJetInfo(), and tmtt::SimpleLR4::fit().

◆ physicsCollision()

bool tmtt::TP::physicsCollision ( ) const
inline

Definition at line 45 of file TP.h.

45 { return physicsCollision_; }

References physicsCollision_.

◆ pt()

float tmtt::TP::pt ( ) const
inline

◆ qOverPt()

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

Definition at line 50 of file TP.h.

50  {
51  constexpr float big = 9.9e9;
52  return (pt_ > 0) ? charge_ / pt_ : big;
53  }

References charge_, and pt_.

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

◆ tanLambda()

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

Definition at line 56 of file TP.h.

56 { return tanLambda_; }

References tanLambda_.

◆ theta()

float tmtt::TP::theta ( void  ) const
inline

Definition at line 55 of file TP.h.

55 { return theta_; }

References theta_.

Referenced by Tau.Tau::zImpact().

◆ tpInJet()

float tmtt::TP::tpInJet ( float  genJetPtCut = 30.) const
inline

Definition at line 94 of file TP.h.

94 { return (tpInJet_ && nearestJetPt_ > genJetPtCut); }

References nearestJetPt_, and tpInJet_.

◆ trackingParticlePtr()

const TrackingParticlePtr& tmtt::TP::trackingParticlePtr ( ) const
inline

Definition at line 29 of file TP.h.

29 { return trackingParticlePtr_; }

References trackingParticlePtr_.

◆ trkPhiAtR()

float tmtt::TP::trkPhiAtR ( float  rad) const
inline

Definition at line 68 of file TP.h.

68 { return reco::deltaPhi(phi0_ - this->dphi(rad) - d0_ / rad, 0.); }

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

◆ trkPhiAtStub()

float tmtt::TP::trkPhiAtStub ( const Stub stub) const

Definition at line 143 of file TP.cc.

143  {
144  float trkPhi = phi0_ - this->dphi(this->trkRAtStub(stub));
145  return trkPhi;
146  }

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

◆ trkRAtStub()

float tmtt::TP::trkRAtStub ( const Stub stub) const

Definition at line 152 of file TP.cc.

152  {
153  float rTrk = (stub->barrel()) ? stub->r() : (stub->z() - z0_) / tanLambda_;
154  return rTrk;
155  }

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

Referenced by trkPhiAtStub().

◆ trkZAtR()

float tmtt::TP::trkZAtR ( float  rad) const
inline

Definition at line 70 of file TP.h.

70 { return (vz_ + rad * tanLambda_); }

References tanLambda_, and vz_.

◆ trkZAtStub()

float tmtt::TP::trkZAtStub ( const Stub stub) const

Definition at line 161 of file TP.cc.

161  {
162  float zTrk = (stub->barrel()) ? z0_ + tanLambda_ * stub->r() : stub->z();
163  return zTrk;
164  }

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

◆ use()

bool tmtt::TP::use ( ) const
inline

Definition at line 85 of file TP.h.

85 { return use_; }

References use_.

◆ useForAlgEff()

bool tmtt::TP::useForAlgEff ( ) const
inline

Definition at line 89 of file TP.h.

89 { return useForAlgEff_; }

References useForAlgEff_.

Referenced by tmtt::L1track3D::cheat().

◆ useForEff()

bool tmtt::TP::useForEff ( ) const
inline

Definition at line 87 of file TP.h.

87 { return useForEff_; }

References useForEff_.

◆ vx()

float tmtt::TP::vx ( ) const
inline

Definition at line 59 of file TP.h.

59 { return vx_; }

References vx_.

◆ vy()

float tmtt::TP::vy ( ) const
inline

Definition at line 60 of file TP.h.

60 { return vy_; }

References vy_.

◆ vz()

float tmtt::TP::vz ( ) const
inline

Definition at line 61 of file TP.h.

61 { return vz_; }

References vz_.

◆ z0()

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

Definition at line 64 of file TP.h.

64 { return z0_; }

References z0_.

Member Data Documentation

◆ assocStubs_

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

Definition at line 128 of file TP.h.

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

◆ charge_

int tmtt::TP::charge_
private

Definition at line 115 of file TP.h.

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

◆ d0_

float tmtt::TP::d0_
private

Definition at line 125 of file TP.h.

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

◆ eta_

float tmtt::TP::eta_
private

Definition at line 118 of file TP.h.

Referenced by eta().

◆ index_in_vTPs_

unsigned int tmtt::TP::index_in_vTPs_
private

Definition at line 108 of file TP.h.

Referenced by index().

◆ inTimeBx_

bool tmtt::TP::inTimeBx_
private

Definition at line 113 of file TP.h.

Referenced by inTimeBx(), and TP().

◆ mass_

float tmtt::TP::mass_
private

Definition at line 116 of file TP.h.

Referenced by mass().

◆ nearestJetPt_

float tmtt::TP::nearestJetPt_
private

Definition at line 136 of file TP.h.

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

◆ nLayersWithStubs_

unsigned int tmtt::TP::nLayersWithStubs_
private

Definition at line 129 of file TP.h.

Referenced by calcNumLayers(), and numLayers().

◆ pdgId_

int tmtt::TP::pdgId_
private

Definition at line 112 of file TP.h.

Referenced by pdgId().

◆ phi0_

float tmtt::TP::phi0_
private

Definition at line 121 of file TP.h.

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

◆ physicsCollision_

bool tmtt::TP::physicsCollision_
private

Definition at line 114 of file TP.h.

Referenced by physicsCollision(), and TP().

◆ pt_

float tmtt::TP::pt_
private

Definition at line 117 of file TP.h.

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

◆ settings_

const Settings* tmtt::TP::settings_
private

Definition at line 110 of file TP.h.

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

◆ tanLambda_

float tmtt::TP::tanLambda_
private

Definition at line 120 of file TP.h.

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

◆ theta_

float tmtt::TP::theta_
private

Definition at line 119 of file TP.h.

Referenced by theta().

◆ tpInJet_

bool tmtt::TP::tpInJet_
private

Definition at line 135 of file TP.h.

Referenced by fillNearestJetInfo(), and tpInJet().

◆ trackingParticlePtr_

TrackingParticlePtr tmtt::TP::trackingParticlePtr_
private

Definition at line 106 of file TP.h.

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

◆ use_

bool tmtt::TP::use_
private

Definition at line 131 of file TP.h.

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

◆ useForAlgEff_

bool tmtt::TP::useForAlgEff_
private

Definition at line 133 of file TP.h.

Referenced by fillUseForAlgEff(), and useForAlgEff().

◆ useForEff_

bool tmtt::TP::useForEff_
private

Definition at line 132 of file TP.h.

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

◆ vx_

float tmtt::TP::vx_
private

Definition at line 122 of file TP.h.

Referenced by vx().

◆ vy_

float tmtt::TP::vy_
private

Definition at line 123 of file TP.h.

Referenced by vy().

◆ vz_

float tmtt::TP::vz_
private

Definition at line 124 of file TP.h.

Referenced by trkZAtR(), and vz().

◆ z0_

float tmtt::TP::z0_
private

Definition at line 126 of file TP.h.

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

tmtt::TP::mass_
float mass_
Definition: TP.h:116
tmtt::Settings::invPtToDphi
double invPtToDphi() const
Definition: Settings.h:395
tmtt::Settings::genPdgIds
const std::vector< int > & genPdgIds() const
Definition: Settings.h:54
tmtt::Settings::houghMinPt
double houghMinPt() const
Definition: Settings.h:135
tmtt::TP::vz_
float vz_
Definition: TP.h:124
reco::GenJet
Jets made from MC generator particles.
Definition: GenJet.h:23
tmtt::TP::useForAlgEff_
bool useForAlgEff_
Definition: TP.h:133
tmtt::Utility::countLayers
unsigned int countLayers(const Settings *settings, const std::vector< const Stub * > &stubs, bool disableReducedLayerID=false, bool onlyPS=false)
Definition: Utility.cc:25
tmtt::Settings::genMaxVertZ
double genMaxVertZ() const
Definition: Settings.h:51
tmtt::TP::d0_
float d0_
Definition: TP.h:125
tmtt::TP::pt_
float pt_
Definition: TP.h:117
min
T min(T a, T b)
Definition: MathUtil.h:58
reco::deltaPhi
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
tmtt::TP::physicsCollision_
bool physicsCollision_
Definition: TP.h:114
tmtt::TP::eta_
float eta_
Definition: TP.h:118
tmtt::TP::use_
bool use_
Definition: TP.h:131
tmtt::TP::settings_
const Settings * settings_
Definition: TP.h:110
ptMin
constexpr float ptMin
Definition: PhotonIDValueMapProducer.cc:153
tmtt::TP::z0_
float z0_
Definition: TP.h:126
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
tmtt::Settings::genMinStubLayers
unsigned int genMinStubLayers() const
Definition: Settings.h:56
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
EncodedEventId
Definition: EncodedEventId.h:11
TrackingParticleSelector
alignCSCRings.s
s
Definition: alignCSCRings.py:92
tmtt::TP::inTimeBx_
bool inTimeBx_
Definition: TP.h:113
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
tmtt::TP::fillUseForAlgEff
void fillUseForAlgEff()
Definition: TP.cc:134
AlignmentTrackSelector_cfi.ptMax
ptMax
Definition: AlignmentTrackSelector_cfi.py:12
tmtt::TP::nLayersWithStubs_
unsigned int nLayersWithStubs_
Definition: TP.h:129
tmtt::Settings::genMaxAbsEta
double genMaxAbsEta() const
Definition: Settings.h:49
tmtt::Settings::genMaxZ0
double genMaxZ0() const
Definition: Settings.h:53
maxEta
double maxEta
Definition: PFJetBenchmarkAnalyzer.cc:76
l1pfProducerBarrel_cfi.etaExtra
etaExtra
Definition: l1pfProducerBarrel_cfi.py:62
tmtt::TP::tanLambda_
float tanLambda_
Definition: TP.h:120
PDWG_EXOHSCP_cff.minDR
minDR
Definition: PDWG_EXOHSCP_cff.py:109
tmtt::TP::assocStubs_
std::vector< const Stub * > assocStubs_
Definition: TP.h:128
PbPb_ZMuSkimMuonDPG_cff.deltaR
deltaR
Definition: PbPb_ZMuSkimMuonDPG_cff.py:63
tmtt::TP::pdgId_
int pdgId_
Definition: TP.h:112
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
tmtt::TP::phi0_
float phi0_
Definition: TP.h:121
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
tmtt::Settings::genMaxVertR
double genMaxVertR() const
Definition: Settings.h:50
tmtt::TP::charge_
int charge_
Definition: TP.h:115
tmtt::TP::dphi
float dphi(float rad) const
Definition: TP.h:66
ttbarCategorization_cff.genJets
genJets
Definition: ttbarCategorization_cff.py:29
beam_dqm_sourceclient-live_cfg.minPt
minPt
Definition: beam_dqm_sourceclient-live_cfg.py:318
tmtt::TP::phi0
float phi0() const
Definition: TP.h:57
tmtt::TP::vy_
float vy_
Definition: TP.h:123
tmtt::TP::useForEff_
bool useForEff_
Definition: TP.h:132
tmtt::TP::theta_
float theta_
Definition: TP.h:119
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
tmtt::TP::trkRAtStub
float trkRAtStub(const Stub *stub) const
Definition: TP.cc:152
tmtt::Settings::genMaxD0
double genMaxD0() const
Definition: Settings.h:52
tmtt::TP::calcNumLayers
void calcNumLayers()
Definition: TP.h:103
tmtt::TP::fillUseForEff
void fillUseForEff()
Definition: TP.cc:103
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition: ALCARECOTkAlBeamHalo_cff.py:33
reco::deltaR
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
tmtt::TP::vx_
float vx_
Definition: TP.h:122
tmtt::TP::nearestJetPt_
float nearestJetPt_
Definition: TP.h:136
big
Definition: big.h:8
tmtt::TP::index_in_vTPs_
unsigned int index_in_vTPs_
Definition: TP.h:108
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
nanoDQM_cfi.GenJet
GenJet
Definition: nanoDQM_cfi.py:226
trackingParticleSelector_cfi.trackingParticleSelector
trackingParticleSelector
Definition: trackingParticleSelector_cfi.py:4
tmtt::TP::index
unsigned int index() const
Definition: TP.h:39
tmtt::TP::trackingParticlePtr_
TrackingParticlePtr trackingParticlePtr_
Definition: TP.h:106
tmtt::TP::fillUse
void fillUse()
Definition: TP.cc:61
tmtt::TP::eta
float eta() const
Definition: TP.h:54
tmtt::Settings::etaRegions
const std::vector< double > & etaRegions() const
Definition: Settings.h:124
tmtt::TP::TP
TP(const TrackingParticlePtr &tpPtr, unsigned int index_in_vTPs, const Settings *settings)
Definition: TP.cc:16
tmtt::Settings::genMinPt
double genMinPt() const
Definition: Settings.h:48
tmtt::TP::tpInJet_
bool tpInJet_
Definition: TP.h:135