#include <Stub.h>
Public Types | |
enum | DigiStage { DigiStage::NONE, DigiStage::GP, DigiStage::HT, DigiStage::SF, DigiStage::TF } |
Public Member Functions | |
float | alpha () const |
const TP * | assocTP () const |
std::array< const TP *, 2 > | assocTPofCluster () const |
const std::set< const TP * > & | assocTPs () const |
bool | barrel () const |
float | bend () const |
float | bendCut () const |
float | bendCutInFrontend () const |
float | bendInFrontend () const |
void | calcQoverPtrange () |
const DigitalStub * | digitalStub () const |
void | digitize (unsigned int iPhiSec, DigiStage digiStep) |
float | dphiOverBend () const |
float | eta () const |
void | fillTruth (const std::map< edm::Ptr< TrackingParticle >, const TP *> &translateTP, const edm::Handle< TTStubAssMap > &mcTruthTTStubHandle, const edm::Handle< TTClusterAssMap > &mcTruthTTClusterHandle) |
bool | frontendPass () const |
bool | genuine () const |
std::array< bool, 2 > | genuineCluster () const |
unsigned int | index () const |
unsigned int | iphi () const |
unsigned int | layerId () const |
unsigned int | layerIdReduced () const |
std::array< float, 2 > | localU_cluster () const |
std::array< float, 2 > | localV_cluster () const |
unsigned int | max_qOverPt_bin () const |
unsigned int | min_qOverPt_bin () const |
unsigned int | nStrips () const |
float | numMergedBend () const |
bool | operator== (const Stub &stubOther) |
float | phi () const |
float | phiDiff (float rad, float Pt) const |
bool | psModule () const |
float | qOverPt () const |
float | qOverPtcut () const |
float | qOverPtOverBend () const |
float | r () const |
void | setDigitizeWarningsOn (bool newVal) |
float | sigmaPar () const |
float | sigmaPerp () const |
float | sigmaR () const |
float | sigmaZ () const |
float | stripLength () const |
float | stripPitch () const |
Stub (const Settings *settings, unsigned int idStub, double phi, double r, double z, double bend, unsigned int iphi, double alpha, unsigned int layerId, unsigned int iPhiSec, bool psModule, bool barrel, bool tiltedBarrel, float stripPitch, float stripLength, unsigned int nStrips) | |
Stub (const TTStubRef &ttStubRef, unsigned int index_in_vStubs, const Settings *settings, const TrackerTopology *trackerTopology, const TrackerModule *trackerModule, const DegradeBend *degradeBend, const StubKiller *stubKiller) | |
bool | stubFailedDegradeWindow () const |
float | theta () const |
float | tiltAngle () const |
bool | tiltedBarrel () const |
const TrackerModule * | trackerModule () const |
float | trkPhiAtR (float rad) const |
float | trkPhiAtRcut (float rad) const |
const TTStubRef & | ttStubRef () const |
float | z () const |
Private Member Functions | |
double | approxB () |
void | calcDphiOverBend () |
void | degradeResolution (float bend, float °radedBend, unsigned int &num) const |
void | setFrontend (const StubKiller *stubKiller) |
void | setTrackerModule (const TrackerGeometry *trackerGeometry, const TrackerTopology *trackerTopology, const DetId &detId) |
Private Attributes | |
float | alpha_ |
const TP * | assocTP_ |
std::array< const TP *, 2 > | assocTPofCluster_ |
std::set< const TP * > | assocTPs_ |
bool | barrel_ |
float | bend_ |
float | bendInFrontend_ |
const DegradeBend * | degradeBend_ |
std::unique_ptr< DigitalStub > | digitalStub_ |
bool | digitizeWarningsOn_ |
float | dphiOverBend_ |
bool | frontendPass_ |
unsigned int | index_in_vStubs_ |
const float | invRoot12 = sqrt(1. / 12.) |
unsigned int | iphi_ |
DigiStage | lastDigiStep_ |
unsigned int | layerId_ |
unsigned int | layerIdReduced_ |
std::array< float, 2 > | localU_cluster_ |
std::array< float, 2 > | localV_cluster_ |
unsigned int | max_qOverPt_bin_ |
unsigned int | min_qOverPt_bin_ |
unsigned int | nStrips_ |
unsigned int | numMergedBend_ |
float | phi_ |
bool | psModule_ |
float | r_ |
const float | rejectedStubBend_ = 99999. |
const Settings * | settings_ |
float | stripLength_ |
float | stripPitch_ |
bool | stubFailedDegradeWindow_ |
float | tiltAngle_ |
bool | tiltedBarrel_ |
const TrackerModule * | trackerModule_ |
TTStubRef | ttStubRef_ |
float | z_ |
|
strong |
Enumerator | |
---|---|
NONE | |
GP | |
HT | |
SF | |
TF |
Definition at line 89 of file Stub.h.
tmtt::Stub::Stub | ( | const Settings * | settings, |
unsigned int | idStub, | ||
double | phi, | ||
double | r, | ||
double | z, | ||
double | bend, | ||
unsigned int | iphi, | ||
double | alpha, | ||
unsigned int | layerId, | ||
unsigned int | iPhiSec, | ||
bool | psModule, | ||
bool | barrel, | ||
bool | tiltedBarrel, | ||
float | stripPitch, | ||
float | stripLength, | ||
unsigned int | nStrips | ||
) |
Definition at line 21 of file Stub.cc.
tmtt::Stub::Stub | ( | const TTStubRef & | ttStubRef, |
unsigned int | index_in_vStubs, | ||
const Settings * | settings, | ||
const TrackerTopology * | trackerTopology, | ||
const TrackerModule * | trackerModule, | ||
const DegradeBend * | degradeBend, | ||
const StubKiller * | stubKiller | ||
) |
Definition at line 56 of file Stub.cc.
References alpha_, assocTPofCluster_, barrel(), bend_, bendInFrontend_, calcDphiOverBend(), calcQoverPtrange(), TTStub< T >::clusterRef(), tmtt::Settings::degradeBendRes(), degradeResolution(), dqmMemoryStats::float, edm::Ref< C, T, F >::get(), iphi_, Topology::localPosition(), localU_cluster_, localV_cluster_, nStrips(), numMergedBend_, tmtt::TrackerModule::outerModuleAtSmallerR(), phi_, psModule(), r_, tmtt::TrackerModule::sensorWidth(), setFrontend(), tmtt::TrackerModule::specDet(), tmtt::TrackerModule::specTopol(), GeomDet::surface(), Surface::toGlobal(), trackerModule_, ttStubRef_, and z_.
|
inline |
Definition at line 119 of file Stub.h.
References alpha_.
Referenced by tmtt::KFParamsComb::matrixV(), and tmtt::KFbase::residual().
|
private |
Definition at line 304 of file Stub.cc.
References funct::abs(), tmtt::Settings::bApprox_gradient(), tmtt::Settings::bApprox_intercept(), barrel(), r_, settings_, tiltedBarrel(), and z_.
Referenced by calcDphiOverBend().
|
inline |
|
inline |
Definition at line 176 of file Stub.h.
References assocTPofCluster_.
|
inline |
Definition at line 164 of file Stub.h.
References assocTPs_.
Referenced by tmtt::KalmanState::good(), and tmtt::KFbase::printStub().
|
inline |
Definition at line 201 of file Stub.h.
References barrel_.
Referenced by approxB(), tmtt::KalmanState::KalmanState(), tmtt::KFbase::kalmanUpdate(), tmtt::KFParamsComb::matrixV(), tmtt::KFbase::residual(), sigmaR(), sigmaZ(), Stub(), tmtt::TP::trkRAtStub(), and tmtt::TP::trkZAtStub().
|
inline |
Definition at line 126 of file Stub.h.
References bend_.
Referenced by calcQoverPtrange(), degradeResolution(), qOverPt(), and setFrontend().
|
inline |
Definition at line 128 of file Stub.h.
References tmtt::Settings::bendCut(), tmtt::Settings::bendCutExtra(), numMergedBend_, and settings_.
Referenced by calcQoverPtrange(), qOverPtcut(), setFrontend(), and trkPhiAtRcut().
|
inline |
Definition at line 124 of file Stub.h.
References tmtt::Settings::bendCut(), and settings_.
Referenced by degradeResolution(), tmtt::StubWindowSuggest::process(), and setFrontend().
|
inline |
|
private |
Definition at line 314 of file Stub.cc.
References funct::abs(), approxB(), funct::cos(), dphiOverBend_, tmtt::TrackerModule::pitchOverSep(), settings_, funct::sin(), theta(), tmtt::TrackerModule::tiltAngle(), trackerModule_, and tmtt::Settings::useApproxB().
Referenced by digitize(), and Stub().
void tmtt::Stub::calcQoverPtrange | ( | ) |
Definition at line 163 of file Stub.cc.
References bend(), bendCut(), tmtt::Settings::houghMinPt(), tmtt::Settings::houghNbinsPt(), createfilelist::int, SiStripPI::max, max_qOverPt_bin_, SiStripPI::min, min_qOverPt_bin_, L1MuTriggerPtScale_cfi::nbinsPt, qOverPtOverBend(), settings_, tmtt::Settings::shape(), and createJobs::tmp.
Referenced by digitize(), and Stub().
|
private |
Definition at line 248 of file Stub.cc.
References funct::abs(), bend(), bendCutInFrontend(), tmtt::DegradeBend::degrade(), degradeBend_, tmtt::TrackerModule::detId(), tmtt::Settings::houghMinPt(), tmtt::Settings::killLowPtStubs(), EgammaValidation_cff::num, psModule(), qOverPtOverBend(), rejectedStubBend_, settings_, and trackerModule_.
Referenced by Stub().
|
inline |
Definition at line 96 of file Stub.h.
References digitalStub_.
Referenced by tmtt::Sector::insideEtaSubSecs().
void tmtt::Stub::digitize | ( | unsigned int | iPhiSec, |
Stub::DigiStage | digiStep | ||
) |
Definition at line 203 of file Stub.cc.
References bend_, calcDphiOverBend(), calcQoverPtrange(), digitalStub_, digitizeWarningsOn_, tmtt::Settings::enableDigitize(), GP, HT, lastDigiStep_, max_qOverPt_bin_, min_qOverPt_bin_, phi_, r_, settings_, and z_.
|
inline |
|
inline |
Definition at line 111 of file Stub.h.
Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and setFrontend().
void tmtt::Stub::fillTruth | ( | const std::map< edm::Ptr< TrackingParticle >, const TP *> & | translateTP, |
const edm::Handle< TTStubAssMap > & | mcTruthTTStubHandle, | ||
const edm::Handle< TTClusterAssMap > & | mcTruthTTClusterHandle | ||
) |
Definition at line 328 of file Stub.cc.
References assocTP_, assocTPofCluster_, assocTPs_, TTClusterAssociationMap< T >::findTrackingParticlePtr(), TTStubAssociationMap< T >::findTrackingParticlePtr(), TTClusterAssociationMap< T >::findTrackingParticlePtrs(), genuine(), genuineCluster(), TTClusterAssociationMap< T >::isGenuine(), TTStubAssociationMap< T >::isGenuine(), settings_, tmtt::Settings::stubMatchStrict(), and ttStubRef_.
|
inline |
|
inline |
|
inline |
Definition at line 173 of file Stub.h.
References assocTPofCluster_.
Referenced by fillTruth().
|
inline |
Definition at line 101 of file Stub.h.
References index_in_vStubs_.
Referenced by BeautifulSoup.PageElement::insert(), operator==(), and tmtt::KFbase::printStub().
|
inline |
|
inline |
Definition at line 198 of file Stub.h.
References layerId_.
Referenced by tmtt::KFbase::printStub().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 107 of file Stub.h.
References phi_.
Referenced by Particle.Particle::__str__(), tmtt::Sector::insidePhi(), tmtt::HTrphi::iPhiRange(), ntupleDataFormat.Track::phiPull(), tmtt::KFbase::printStub(), tmtt::HTrphi::store(), and tmtt::KFParamsComb::vectorM().
|
inline |
Definition at line 138 of file Stub.h.
References funct::abs(), tmtt::Settings::invPtToDphi(), r_, and settings_.
Referenced by tmtt::Sector::insidePhi().
|
inline |
Definition at line 196 of file Stub.h.
References psModule_.
Referenced by degradeResolution(), tmtt::KFParamsComb::matrixV(), tmtt::KFbase::residual(), and Stub().
|
inline |
|
inline |
|
inline |
Definition at line 148 of file Stub.h.
References dphiOverBend_, tmtt::Settings::invPtToDphi(), r_, and settings_.
Referenced by calcQoverPtrange(), degradeResolution(), tmtt::StubWindowSuggest::process(), qOverPt(), qOverPtcut(), and setFrontend().
|
inline |
Definition at line 108 of file Stub.h.
References r_.
Referenced by tmtt::Sector::insideEtaRange(), tmtt::HTrphi::iPhiRange(), tmtt::KalmanState::KalmanState(), tmtt::KFParamsComb::matrixH(), tmtt::KFParamsComb::matrixV(), tmtt::KFbase::printStub(), tmtt::KFbase::residual(), tmtt::HTrphi::store(), tmtt::TP::trkRAtStub(), and tmtt::TP::trkZAtStub().
|
inline |
|
private |
Definition at line 267 of file Stub.cc.
References funct::abs(), bend(), bendCut(), bendCutInFrontend(), bendInFrontend(), eta(), Exception, frontendPass_, edm::Ref< C, T, F >::get(), tmtt::Settings::houghMinPt(), tmtt::Settings::killLowPtStubs(), tmtt::Settings::killScenario(), tmtt::StubKiller::killStub(), tmtt::Settings::maxStubEta(), tmtt::StubKiller::none, qOverPtOverBend(), rejectedStubBend_, settings_, stubFailedDegradeWindow_, and ttStubRef_.
Referenced by Stub().
|
private |
|
inline |
Definition at line 191 of file Stub.h.
References invRoot12, and stripLength_.
Referenced by tmtt::KFParamsComb::matrixV(), tmtt::KFbase::printStub(), sigmaR(), and sigmaZ().
|
inline |
Definition at line 189 of file Stub.h.
References invRoot12, and stripPitch_.
Referenced by tmtt::KFParamsComb::matrixV(), and tmtt::KFbase::printStub().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 184 of file Stub.h.
References tiltAngle_.
Referenced by tmtt::KFParamsComb::matrixV().
|
inline |
Definition at line 203 of file Stub.h.
References tiltedBarrel_.
Referenced by approxB(), and tmtt::KFParamsComb::matrixV().
|
inline |
Definition at line 78 of file Stub.h.
References trackerModule_.
Referenced by tmtt::StubWindowSuggest::updateStoredWindow().
|
inline |
Definition at line 140 of file Stub.h.
References bend_, dphiOverBend_, phi_, and r_.
Referenced by tmtt::Sector::insidePhi().
|
inline |
Definition at line 142 of file Stub.h.
References funct::abs(), bendCut(), dphiOverBend_, and r_.
Referenced by tmtt::Sector::insidePhi().
|
inline |
|
inline |
Definition at line 109 of file Stub.h.
References z_.
Referenced by tmtt::Sector::insideEtaRange(), tmtt::KalmanState::KalmanState(), tmtt::KFParamsComb::matrixV(), geometryXMLparser.Alignable::pos(), tmtt::KFbase::printStub(), ntupleDataFormat._HitObject::r3D(), tmtt::KFbase::residual(), tmtt::TP::trkRAtStub(), tmtt::TP::trkZAtStub(), and tmtt::KFParamsComb::vectorM().
|
private |
|
private |
Definition at line 264 of file Stub.h.
Referenced by assocTP(), and fillTruth().
|
private |
Definition at line 267 of file Stub.h.
Referenced by assocTPofCluster(), fillTruth(), genuineCluster(), and Stub().
|
private |
Definition at line 265 of file Stub.h.
Referenced by assocTPs(), fillTruth(), and genuine().
|
private |
Definition at line 242 of file Stub.h.
Referenced by bend(), digitize(), Stub(), and trkPhiAtR().
|
private |
Definition at line 259 of file Stub.h.
Referenced by bendInFrontend(), and Stub().
|
private |
Definition at line 277 of file Stub.h.
Referenced by degradeResolution().
|
private |
Definition at line 269 of file Stub.h.
Referenced by digitalStub(), and digitize().
|
private |
Definition at line 271 of file Stub.h.
Referenced by digitize(), and setDigitizeWarningsOn().
|
private |
Definition at line 243 of file Stub.h.
Referenced by calcDphiOverBend(), dphiOverBend(), qOverPtOverBend(), trkPhiAtR(), and trkPhiAtRcut().
|
private |
Definition at line 255 of file Stub.h.
Referenced by frontendPass(), and setFrontend().
|
private |
|
private |
Definition at line 293 of file Stub.h.
Referenced by sigmaPar(), and sigmaPerp().
|
private |
|
private |
Definition at line 270 of file Stub.h.
Referenced by digitize().
|
private |
|
private |
Definition at line 282 of file Stub.h.
Referenced by layerIdReduced().
|
private |
Definition at line 248 of file Stub.h.
Referenced by localU_cluster(), and Stub().
|
private |
Definition at line 249 of file Stub.h.
Referenced by localV_cluster(), and Stub().
|
private |
Definition at line 245 of file Stub.h.
Referenced by calcQoverPtrange(), digitize(), and max_qOverPt_bin().
|
private |
Definition at line 244 of file Stub.h.
Referenced by calcQoverPtrange(), digitize(), and min_qOverPt_bin().
|
private |
|
private |
Definition at line 261 of file Stub.h.
Referenced by bendCut(), numMergedBend(), and Stub().
|
private |
Definition at line 239 of file Stub.h.
Referenced by digitize(), phi(), Stub(), and trkPhiAtR().
|
private |
Definition at line 287 of file Stub.h.
Referenced by psModule().
|
private |
Definition at line 240 of file Stub.h.
Referenced by approxB(), digitize(), eta(), phiDiff(), qOverPtOverBend(), r(), Stub(), theta(), trkPhiAtR(), and trkPhiAtRcut().
|
private |
Definition at line 291 of file Stub.h.
Referenced by degradeResolution(), and setFrontend().
|
private |
Definition at line 233 of file Stub.h.
Referenced by approxB(), bendCut(), bendCutInFrontend(), calcDphiOverBend(), calcQoverPtrange(), degradeResolution(), digitize(), fillTruth(), phiDiff(), qOverPtOverBend(), and setFrontend().
|
private |
Definition at line 285 of file Stub.h.
Referenced by sigmaPar(), and stripLength().
|
private |
Definition at line 284 of file Stub.h.
Referenced by sigmaPerp(), and stripPitch().
|
private |
Definition at line 257 of file Stub.h.
Referenced by setFrontend(), and stubFailedDegradeWindow().
|
private |
Definition at line 283 of file Stub.h.
Referenced by tiltAngle().
|
private |
Definition at line 289 of file Stub.h.
Referenced by tiltedBarrel().
|
private |
Definition at line 274 of file Stub.h.
Referenced by calcDphiOverBend(), degradeResolution(), Stub(), and trackerModule().
|
private |
Definition at line 231 of file Stub.h.
Referenced by fillTruth(), setFrontend(), Stub(), and ttStubRef().