#include <Sector.h>
Public Member Functions | |
float | etaMax () const |
float | etaMin () const |
unsigned int | iEtaReg () const |
bool | inside (const Stub *stub) const |
bool | insideEta (const Stub *stub) const |
bool | insideEtaReg (const TP &tp) const |
std::vector< bool > | insideEtaSubSecs (const Stub *stub) const |
bool | insidePhi (const Stub *stub) const |
bool | insidePhiSec (const TP &tp) const |
unsigned int | iPhiSec () const |
void | numStubsInside (const TP &tp, unsigned int &nStubsInsideEtaPhi, unsigned int &nStubsInsideEta, unsigned int &nStubsInsidePhi) const |
float | phiCentre () const |
Sector (const Settings *settings, unsigned int iPhiSec, unsigned int iEtaSec) | |
float | sectorHalfWidth () const |
std::unordered_map< const Stub *, std::pair< bool, bool > > | stubsInside (const TP &tp) const |
float | zAtChosenR_Max () const |
float | zAtChosenR_Min () const |
Private Member Functions | |
int64_t | forceBitWidth (const float value, const UInt_t nBits) const |
bool | insideEtaRange (const Stub *stub, float zRangeMin, float zRangeMax) const |
std::vector< bool > | subEtaFwCalc (const int rT, const int z) const |
Private Attributes | |
float | assumedPhiTrkRes_ |
float | beamWindowZ_ |
bool | calcPhiTrkRes_ |
float | chosenRofPhi_ |
float | chosenRofZ_ |
float | etaMax_ |
float | etaMin_ |
unsigned int | iEtaReg_ |
unsigned int | iPhiSec_ |
float | minPt_ |
unsigned int | numSubSecsEta_ |
float | phiCentre_ |
float | sectorHalfWidth_ |
const Settings * | settings_ |
bool | useStubPhi_ |
bool | useStubPhiTrk_ |
float | zOuterMax_ |
std::vector< float > | zOuterMaxSub_ |
float | zOuterMin_ |
std::vector< float > | zOuterMinSub_ |
tmtt::Sector::Sector | ( | const Settings * | settings, |
unsigned int | iPhiSec, | ||
unsigned int | iEtaSec | ||
) |
Definition at line 13 of file Sector.cc.
References chosenRofZ_, etaMax_, etaMin_, JetChargeProducer_cfi::exp, nano_mu_digi_cff::float, mps_fire::i, iPhiSec(), M_PI, tmtt::Settings::numPhiNonants(), tmtt::Settings::numPhiSectors(), numSubSecsEta_, phiCentre_, sectorHalfWidth_, funct::tan(), zOuterMaxSub_, and zOuterMinSub_.
|
inline |
|
inline |
|
private |
Definition at line 192 of file Sector.cc.
References funct::abs(), gpuClustering::pixelStatus::mask, mps_fire::result, and Validation_hcalonly_cfi::sign.
Referenced by subEtaFwCalc().
|
inline |
|
inline |
Definition at line 20 of file Sector.h.
References insideEta(), and insidePhi().
Referenced by insideEta(), insideEtaRange(), insideEtaSubSecs(), and stubsInside().
bool tmtt::Sector::insideEta | ( | const Stub * | stub | ) | const |
Definition at line 61 of file Sector.cc.
References inside(), insideEtaRange(), zOuterMax_, and zOuterMin_.
Referenced by inside(), numStubsInside(), and stubsInside().
|
private |
Definition at line 93 of file Sector.cc.
References funct::abs(), beamWindowZ_, chosenRofZ_, inside(), tmtt::Stub::r(), tmtt::Stub::z(), photonAnalyzer_cfi::zMax, and photonAnalyzer_cfi::zMin.
Referenced by insideEta(), and insideEtaSubSecs().
|
inline |
Definition at line 56 of file Sector.h.
References chosenRofZ_, cmsswSequenceInfo::tp, zOuterMax_, and zOuterMin_.
vector< bool > tmtt::Sector::insideEtaSubSecs | ( | const Stub * | stub | ) | const |
Definition at line 71 of file Sector.cc.
References tmtt::Stub::digitalStub(), tmtt::Settings::enableDigitize(), mps_fire::i, tmtt::DigitalStub::iDigi_Rt(), tmtt::DigitalStub::iDigi_Z(), inside(), insideEtaRange(), numSubSecsEta_, settings_, subEtaFwCalc(), zOuterMaxSub_, and zOuterMinSub_.
bool tmtt::Sector::insidePhi | ( | const Stub * | stub | ) | const |
Definition at line 111 of file Sector.cc.
References funct::abs(), assumedPhiTrkRes_, calcPhiTrkRes_, chosenRofPhi_, delPhi(), reco::deltaPhi(), SiStripPI::min, minPt_, tmtt::Stub::phi(), phiCentre_, tmtt::Stub::phiDiff(), sectorHalfWidth_, tmtt::Stub::trkPhiAtR(), tmtt::Stub::trkPhiAtRcut(), useStubPhi_, and useStubPhiTrk_.
Referenced by inside(), numStubsInside(), and stubsInside().
|
inline |
Definition at line 53 of file Sector.h.
References funct::abs(), chosenRofPhi_, phiCentre_, sectorHalfWidth_, and cmsswSequenceInfo::tp.
|
inline |
void tmtt::Sector::numStubsInside | ( | const TP & | tp, |
unsigned int & | nStubsInsideEtaPhi, | ||
unsigned int & | nStubsInsideEta, | ||
unsigned int & | nStubsInsidePhi | ||
) | const |
Definition at line 171 of file Sector.cc.
References insideEta(), insidePhi(), and stubsInside().
|
inline |
Definition at line 29 of file Sector.h.
References phiCentre_.
Referenced by tmtt::L1track3D::cheat().
|
inline |
Definition at line 156 of file Sector.cc.
References inside(), insideEta(), insidePhi(), and cmsswSequenceInfo::tp.
Referenced by numStubsInside().
|
private |
Definition at line 211 of file Sector.cc.
References funct::abs(), beamWindowZ_, chosenRofPhi_, chosenRofZ_, cm_to_mm, tmtt::Settings::etaRegions(), JetChargeProducer_cfi::exp, forceBitWidth(), g, iEtaReg_, conifer::pow(), tmtt::Settings::rtBits(), tmtt::Settings::rtRange(), settings_, funct::tan(), tmtt::Settings::zBits(), tmtt::Settings::zRange(), and beampixel_dqm_sourceclient-live_cfg::zRange.
Referenced by insideEtaSubSecs().
|
inline |
|
inline |
|
private |
Definition at line 88 of file Sector.h.
Referenced by insidePhi().
|
private |
Definition at line 76 of file Sector.h.
Referenced by insideEtaRange(), and subEtaFwCalc().
|
private |
Definition at line 91 of file Sector.h.
Referenced by insidePhi().
|
private |
Definition at line 86 of file Sector.h.
Referenced by insidePhi(), insidePhiSec(), and subEtaFwCalc().
|
private |
Definition at line 79 of file Sector.h.
Referenced by insideEtaRange(), insideEtaReg(), Sector(), and subEtaFwCalc().
|
private |
|
private |
|
private |
Definition at line 75 of file Sector.h.
Referenced by iEtaReg(), and subEtaFwCalc().
|
private |
|
private |
Definition at line 87 of file Sector.h.
Referenced by insidePhi().
|
private |
Definition at line 94 of file Sector.h.
Referenced by insideEtaSubSecs(), and Sector().
|
private |
Definition at line 84 of file Sector.h.
Referenced by insidePhi(), insidePhiSec(), phiCentre(), and Sector().
|
private |
Definition at line 85 of file Sector.h.
Referenced by insidePhi(), insidePhiSec(), Sector(), and sectorHalfWidth().
|
private |
Definition at line 71 of file Sector.h.
Referenced by insideEtaSubSecs(), and subEtaFwCalc().
|
private |
Definition at line 89 of file Sector.h.
Referenced by insidePhi().
|
private |
Definition at line 90 of file Sector.h.
Referenced by insidePhi().
|
private |
Definition at line 81 of file Sector.h.
Referenced by insideEta(), insideEtaReg(), and zAtChosenR_Max().
|
private |
Definition at line 96 of file Sector.h.
Referenced by insideEtaSubSecs(), and Sector().
|
private |
Definition at line 80 of file Sector.h.
Referenced by insideEta(), insideEtaReg(), and zAtChosenR_Min().
|
private |
Definition at line 95 of file Sector.h.
Referenced by insideEtaSubSecs(), and Sector().