#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 TrackingParticlePtr & | trackingParticlePtr () 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 Settings * | settings_ |
float | tanLambda_ |
float | theta_ |
bool | tpInJet_ |
TrackingParticlePtr | trackingParticlePtr_ |
bool | use_ |
bool | useForAlgEff_ |
bool | useForEff_ |
float | vx_ |
float | vy_ |
float | vz_ |
float | z0_ |
tmtt::TP::TP | ( | const TrackingParticlePtr & | tpPtr, |
unsigned int | index_in_vTPs, | ||
const Settings * | settings | ||
) |
Definition at line 16 of file TP.cc.
References runTauDisplay::eid, fillUse(), fillUseForEff(), TrackingParticle::g4Tracks(), inTimeBx_, physicsCollision_, and x.
|
inline |
Definition at line 79 of file TP.h.
References assocStubs_.
|
inlineprivate |
Definition at line 103 of file TP.h.
References assocStubs_, tmtt::Utility::countLayers(), nLayersWithStubs_, and settings_.
Referenced by fillTruth().
|
inline |
|
inline |
|
inline |
Definition at line 66 of file TP.h.
References charge_, tmtt::Settings::invPtToDphi(), pt_, and settings_.
Referenced by trkPhiAtR(), and trkPhiAtStub().
|
inline |
Definition at line 54 of file TP.h.
References eta_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), fillNearestJetInfo(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().
void tmtt::TP::fillNearestJetInfo | ( | const reco::GenJetCollection * | genJets | ) |
Definition at line 166 of file TP.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), reco::deltaR(), PbPb_ZMuSkimMuonDPG_cff::deltaR, eta(), reco::LeafCandidate::eta(), nanoDQM_cfi::GenJet, l1tCaloJetHTTProducer_cfi::genJets, razorScouting_cff::maxEta, HLT_2023v12_cff::minDR, PV_cfg::minPt, nearestJetPt_, reco::LeafCandidate::phi(), phi0(), reco::LeafCandidate::pt(), and tpInJet_.
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.
|
private |
Definition at line 61 of file TP.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), 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, SiStripPI::min, AlignmentTrackSelector_cfi::ptMax, ptMin, settings_, trackingParticlePtr_, trackingParticleSelector_cfi::trackingParticleSelector, and use_.
Referenced by TP().
|
private |
Definition at line 134 of file TP.cc.
References assocStubs_, tmtt::Utility::countLayers(), tmtt::Settings::genMinStubLayers(), settings_, useForAlgEff_, and useForEff_.
Referenced by fillTruth().
|
private |
Definition at line 103 of file TP.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), 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().
|
inline |
Definition at line 39 of file TP.h.
References index_in_vTPs_.
Referenced by tmtt::L1track3D::cheat(), fillTruth(), and operator==().
|
inline |
|
inline |
Definition at line 47 of file TP.h.
References mass_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), and datamodel.Object::p4().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 57 of file TP.h.
References phi0_.
Referenced by fillNearestJetInfo(), and tmtt::SimpleLR4::fit().
|
inline |
|
inline |
Definition at line 48 of file TP.h.
References pt_.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), tmtt::KFParamsComb::isGoodState(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), datamodel.Object::p4(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
inline |
Definition at line 50 of file TP.h.
References charge_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and pt_.
Referenced by tmtt::SimpleLR4::fit().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float tmtt::TP::trkPhiAtStub | ( | const Stub * | stub | ) | const |
Definition at line 143 of file TP.cc.
References dphi(), phi0_, run3scouting_cff::trkPhi, and trkRAtStub().
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().
|
inline |
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_.
|
inline |
|
inline |
Definition at line 89 of file TP.h.
References useForAlgEff_.
Referenced by tmtt::L1track3D::cheat().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 128 of file TP.h.
Referenced by assocStubs(), calcNumLayers(), fillTruth(), fillUseForAlgEff(), and numAssocStubs().
|
private |
|
private |
Definition at line 125 of file TP.h.
Referenced by d0(), fillUseForEff(), and trkPhiAtR().
|
private |
|
private |
Definition at line 113 of file TP.h.
Referenced by inTimeBx(), and TP().
|
private |
Definition at line 136 of file TP.h.
Referenced by fillNearestJetInfo(), nearestJetPt(), and tpInJet().
|
private |
Definition at line 129 of file TP.h.
Referenced by calcNumLayers(), and numLayers().
|
private |
Definition at line 121 of file TP.h.
Referenced by phi0(), trkPhiAtR(), and trkPhiAtStub().
|
private |
Definition at line 114 of file TP.h.
Referenced by physicsCollision(), and TP().
|
private |
|
private |
Definition at line 110 of file TP.h.
Referenced by calcNumLayers(), dphi(), fillUse(), fillUseForAlgEff(), and fillUseForEff().
|
private |
Definition at line 120 of file TP.h.
Referenced by tanLambda(), trkRAtStub(), trkZAtR(), and trkZAtStub().
|
private |
Definition at line 135 of file TP.h.
Referenced by fillNearestJetInfo(), and tpInJet().
|
private |
Definition at line 106 of file TP.h.
Referenced by fillUse(), fillUseForEff(), and trackingParticlePtr().
|
private |
Definition at line 131 of file TP.h.
Referenced by fillUse(), fillUseForEff(), and use().
|
private |
Definition at line 133 of file TP.h.
Referenced by fillUseForAlgEff(), and useForAlgEff().
|
private |
Definition at line 132 of file TP.h.
Referenced by fillUseForAlgEff(), fillUseForEff(), and useForEff().
|
private |
Definition at line 126 of file TP.h.
Referenced by fillUseForEff(), trkRAtStub(), trkZAtStub(), and z0().