|
|
#include <Stub.h>
|
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 |
|
Definition at line 43 of file Stub.h.
◆ DigiStage
Enumerator |
---|
NONE | |
GP | |
HT | |
SF | |
TF | |
Definition at line 89 of file Stub.h.
◆ Stub() [1/2]
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 |
|
) |
| |
◆ Stub() [2/2]
Definition at line 56 of file Stub.cc.
96 for (
unsigned int iClus = 0; iClus <= 1; iClus++) {
113 phiRelToModule *= -1;
115 phiRelToModule *= -1;
134 if (settings->degradeBendRes() == 2) {
138 bend_ = degradedBend;
139 }
else if (settings->degradeBendRes() == 1) {
156 for (
unsigned int iClus = 0; iClus <= 1; iClus++) {
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_.
◆ alpha()
float tmtt::Stub::alpha |
( |
void |
| ) |
const |
|
inline |
◆ approxB()
double tmtt::Stub::approxB |
( |
| ) |
|
|
private |
◆ assocTP()
const TP* tmtt::Stub::assocTP |
( |
| ) |
const |
|
inline |
◆ assocTPofCluster()
std::array<const TP*, 2> tmtt::Stub::assocTPofCluster |
( |
| ) |
const |
|
inline |
◆ assocTPs()
const std::set<const TP*>& tmtt::Stub::assocTPs |
( |
| ) |
const |
|
inline |
◆ barrel()
bool tmtt::Stub::barrel |
( |
| ) |
const |
|
inline |
◆ bend()
float tmtt::Stub::bend |
( |
| ) |
const |
|
inline |
◆ bendCut()
float tmtt::Stub::bendCut |
( |
| ) |
const |
|
inline |
◆ bendCutInFrontend()
float tmtt::Stub::bendCutInFrontend |
( |
| ) |
const |
|
inline |
◆ bendInFrontend()
float tmtt::Stub::bendInFrontend |
( |
| ) |
const |
|
inline |
◆ calcDphiOverBend()
void tmtt::Stub::calcDphiOverBend |
( |
| ) |
|
|
private |
Definition at line 314 of file Stub.cc.
317 float dphiOverBendCorrection_approx_ =
approxB();
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().
◆ calcQoverPtrange()
void tmtt::Stub::calcQoverPtrange |
( |
| ) |
|
Definition at line 163 of file Stub.cc.
167 const int min_array_bin = 0;
168 const int max_array_bin =
nbinsPt - 1;
174 float qOverPtBinSize = (2. * houghMaxInvPt) / houghNbinsPt;
176 qOverPtBinSize = 2. * houghMaxInvPt / (houghNbinsPt - 1);
184 int min_bin = std::floor(-
tmp + (qOverPtMin + houghMaxInvPt) / qOverPtBinSize);
185 int max_bin = std::floor(
tmp + (qOverPtMax + houghMaxInvPt) / qOverPtBinSize);
188 min_bin =
max(min_bin, min_array_bin);
189 max_bin =
min(max_bin, max_array_bin);
192 if (min_bin > max_bin) {
193 min_bin = max_array_bin;
194 max_bin = min_array_bin;
References bend(), bendCut(), tmtt::Settings::houghMinPt(), tmtt::Settings::houghNbinsPt(), createfilelist::int, SiStripPI::max, max_qOverPt_bin_, min(), min_qOverPt_bin_, L1MuTriggerPtScale_cfi::nbinsPt, qOverPtOverBend(), settings_, tmtt::Settings::shape(), and createJobs::tmp.
Referenced by digitize(), and Stub().
◆ degradeResolution()
void tmtt::Stub::degradeResolution |
( |
float |
bend, |
|
|
float & |
degradedBend, |
|
|
unsigned int & |
num |
|
) |
| const |
|
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().
◆ digitalStub()
◆ digitize()
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_.
◆ dphiOverBend()
float tmtt::Stub::dphiOverBend |
( |
| ) |
const |
|
inline |
◆ eta()
float tmtt::Stub::eta |
( |
void |
| ) |
const |
|
inline |
◆ fillTruth()
◆ frontendPass()
bool tmtt::Stub::frontendPass |
( |
| ) |
const |
|
inline |
◆ genuine()
bool tmtt::Stub::genuine |
( |
| ) |
const |
|
inline |
◆ genuineCluster()
std::array<bool, 2> tmtt::Stub::genuineCluster |
( |
| ) |
const |
|
inline |
◆ index()
unsigned int tmtt::Stub::index |
( |
| ) |
const |
|
inline |
◆ iphi()
unsigned int tmtt::Stub::iphi |
( |
| ) |
const |
|
inline |
◆ layerId()
unsigned int tmtt::Stub::layerId |
( |
| ) |
const |
|
inline |
◆ layerIdReduced()
unsigned int tmtt::Stub::layerIdReduced |
( |
| ) |
const |
|
inline |
◆ localU_cluster()
std::array<float, 2> tmtt::Stub::localU_cluster |
( |
| ) |
const |
|
inline |
◆ localV_cluster()
std::array<float, 2> tmtt::Stub::localV_cluster |
( |
| ) |
const |
|
inline |
◆ max_qOverPt_bin()
unsigned int tmtt::Stub::max_qOverPt_bin |
( |
| ) |
const |
|
inline |
◆ min_qOverPt_bin()
unsigned int tmtt::Stub::min_qOverPt_bin |
( |
| ) |
const |
|
inline |
◆ nStrips()
unsigned int tmtt::Stub::nStrips |
( |
| ) |
const |
|
inline |
◆ numMergedBend()
float tmtt::Stub::numMergedBend |
( |
| ) |
const |
|
inline |
◆ operator==()
bool tmtt::Stub::operator== |
( |
const Stub & |
stubOther | ) |
|
|
inline |
Definition at line 72 of file Stub.h.
72 {
return (this->
index() == stubOther.index()); }
References index().
◆ phi()
float tmtt::Stub::phi |
( |
void |
| ) |
const |
|
inline |
◆ phiDiff()
float tmtt::Stub::phiDiff |
( |
float |
rad, |
|
|
float |
Pt |
|
) |
| const |
|
inline |
◆ psModule()
bool tmtt::Stub::psModule |
( |
| ) |
const |
|
inline |
◆ qOverPt()
float tmtt::Stub::qOverPt |
( |
| ) |
const |
|
inline |
◆ qOverPtcut()
float tmtt::Stub::qOverPtcut |
( |
| ) |
const |
|
inline |
◆ qOverPtOverBend()
float tmtt::Stub::qOverPtOverBend |
( |
| ) |
const |
|
inline |
◆ r()
float tmtt::Stub::r |
( |
| ) |
const |
|
inline |
◆ setDigitizeWarningsOn()
void tmtt::Stub::setDigitizeWarningsOn |
( |
bool |
newVal | ) |
|
|
inline |
◆ setFrontend()
void tmtt::Stub::setFrontend |
( |
const StubKiller * |
stubKiller | ) |
|
|
private |
Definition at line 267 of file Stub.cc.
283 "BadConfig: FE stub bend window sizes provided in cfg ES source are tighter than those to make the stubs. "
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().
◆ setTrackerModule()
◆ sigmaPar()
float tmtt::Stub::sigmaPar |
( |
| ) |
const |
|
inline |
◆ sigmaPerp()
float tmtt::Stub::sigmaPerp |
( |
| ) |
const |
|
inline |
◆ sigmaR()
float tmtt::Stub::sigmaR |
( |
| ) |
const |
|
inline |
◆ sigmaZ()
float tmtt::Stub::sigmaZ |
( |
| ) |
const |
|
inline |
◆ stripLength()
float tmtt::Stub::stripLength |
( |
| ) |
const |
|
inline |
◆ stripPitch()
float tmtt::Stub::stripPitch |
( |
| ) |
const |
|
inline |
◆ stubFailedDegradeWindow()
bool tmtt::Stub::stubFailedDegradeWindow |
( |
| ) |
const |
|
inline |
◆ theta()
float tmtt::Stub::theta |
( |
void |
| ) |
const |
|
inline |
◆ tiltAngle()
float tmtt::Stub::tiltAngle |
( |
| ) |
const |
|
inline |
◆ tiltedBarrel()
bool tmtt::Stub::tiltedBarrel |
( |
| ) |
const |
|
inline |
◆ trackerModule()
◆ trkPhiAtR()
float tmtt::Stub::trkPhiAtR |
( |
float |
rad | ) |
const |
|
inline |
◆ trkPhiAtRcut()
float tmtt::Stub::trkPhiAtRcut |
( |
float |
rad | ) |
const |
|
inline |
◆ ttStubRef()
const TTStubRef& tmtt::Stub::ttStubRef |
( |
| ) |
const |
|
inline |
◆ z()
float tmtt::Stub::z |
( |
| ) |
const |
|
inline |
◆ alpha_
◆ assocTP_
const TP* tmtt::Stub::assocTP_ |
|
private |
◆ assocTPofCluster_
std::array<const TP*, 2> tmtt::Stub::assocTPofCluster_ |
|
private |
◆ assocTPs_
std::set<const TP*> tmtt::Stub::assocTPs_ |
|
private |
◆ barrel_
◆ bend_
◆ bendInFrontend_
float tmtt::Stub::bendInFrontend_ |
|
private |
◆ degradeBend_
◆ digitalStub_
◆ digitizeWarningsOn_
bool tmtt::Stub::digitizeWarningsOn_ |
|
private |
◆ dphiOverBend_
float tmtt::Stub::dphiOverBend_ |
|
private |
◆ frontendPass_
bool tmtt::Stub::frontendPass_ |
|
private |
◆ index_in_vStubs_
unsigned int tmtt::Stub::index_in_vStubs_ |
|
private |
◆ invRoot12
const float tmtt::Stub::invRoot12 = sqrt(1. / 12.) |
|
private |
◆ iphi_
unsigned int tmtt::Stub::iphi_ |
|
private |
◆ lastDigiStep_
◆ layerId_
unsigned int tmtt::Stub::layerId_ |
|
private |
◆ layerIdReduced_
unsigned int tmtt::Stub::layerIdReduced_ |
|
private |
◆ localU_cluster_
std::array<float, 2> tmtt::Stub::localU_cluster_ |
|
private |
◆ localV_cluster_
std::array<float, 2> tmtt::Stub::localV_cluster_ |
|
private |
◆ max_qOverPt_bin_
unsigned int tmtt::Stub::max_qOverPt_bin_ |
|
private |
◆ min_qOverPt_bin_
unsigned int tmtt::Stub::min_qOverPt_bin_ |
|
private |
◆ nStrips_
unsigned int tmtt::Stub::nStrips_ |
|
private |
◆ numMergedBend_
unsigned int tmtt::Stub::numMergedBend_ |
|
private |
◆ phi_
◆ psModule_
bool tmtt::Stub::psModule_ |
|
private |
◆ r_
◆ rejectedStubBend_
const float tmtt::Stub::rejectedStubBend_ = 99999. |
|
private |
◆ settings_
Definition at line 233 of file Stub.h.
Referenced by approxB(), bendCut(), bendCutInFrontend(), calcDphiOverBend(), calcQoverPtrange(), degradeResolution(), digitize(), fillTruth(), phiDiff(), qOverPtOverBend(), and setFrontend().
◆ stripLength_
float tmtt::Stub::stripLength_ |
|
private |
◆ stripPitch_
float tmtt::Stub::stripPitch_ |
|
private |
◆ stubFailedDegradeWindow_
bool tmtt::Stub::stubFailedDegradeWindow_ |
|
private |
◆ tiltAngle_
float tmtt::Stub::tiltAngle_ |
|
private |
◆ tiltedBarrel_
bool tmtt::Stub::tiltedBarrel_ |
|
private |
◆ trackerModule_
◆ ttStubRef_
◆ z_
unsigned int index_in_vStubs_
double invPtToDphi() const
double houghMinPt() const
double maxStubEta() const
bool tiltedBarrel() const
bool stubMatchStrict() const
float stripLength() const
bool tiltedBarrel() const
void setFrontend(const StubKiller *stubKiller)
float pitchOverSep() const
bool stubFailedDegradeWindow_
void degrade(float bend, bool psModule, const DetId &stDetId, float windowFEnew, float °radedBend, unsigned int &numInGroup) const
bool enableDigitize() const
T const * get() const
Returns C++ pointer to the item.
float stripLength() const
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
const TrackerModule * trackerModule() const
unsigned int layerIdReduced() const
float bendInFrontend() const
unsigned int iphi() const
Sin< T >::type sin(const T &t)
const edm::Ref< edmNew::DetSetVector< TTCluster< T > >, TTCluster< T > > & clusterRef(unsigned int hitStackMember) const
Clusters composing the Stub – see https://twiki.cern.ch/twiki/bin/viewauth/CMS/SLHCTrackerTriggerSWTo...
const Plane & surface() const
The nominal surface of the GeomDet.
unsigned int max_qOverPt_bin_
Cos< T >::type cos(const T &t)
unsigned int shape() const
static unsigned int calcLayerIdReduced(unsigned int layerId)
Class to store the L1 Track Trigger stubs.
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
std::set< const TP * > assocTPs_
double bendCutExtra() const
unsigned int index() const
void degradeResolution(float bend, float °radedBend, unsigned int &num) const
std::unique_ptr< DigitalStub > digitalStub_
std::array< const TP *, 2 > assocTPofCluster_
double bApprox_intercept() const
const TTStubRef & ttStubRef() const
unsigned int layerId() const
const DegradeBend * degradeBend_
unsigned int min_qOverPt_bin_
bool outerModuleAtSmallerR() const
unsigned int layerIdReduced_
std::array< bool, 2 > genuineCluster() const
float qOverPtOverBend() const
const Settings * settings_
std::array< float, 2 > localU_cluster_
bool killLowPtStubs() const
unsigned int houghNbinsPt() const
unsigned int layerId() const
const float rejectedStubBend_
const PixelTopology * specTopol() const
unsigned int numMergedBend_
unsigned int nStrips() const
const PixelGeomDetUnit * specDet() const
Abs< T >::type abs(const T &t)
const DetId & detId() const
std::array< float, 2 > localV_cluster_
unsigned int nStrips() const
double bApprox_gradient() const
float bendCutInFrontend() const
unsigned int killScenario() const
const TrackerModule * trackerModule_
float sensorWidth() const