#include <Stub.h>
Public Member Functions | |
FPGAWord | allStubIndex () const |
const FPGAWord & | alpha () const |
const FPGAWord & | bend () const |
const FPGAWord & | disk () const |
FPGAWord | iphivmFineBins (int VMbits, int finebits) const |
bool | isBarrel () const |
bool | isPSmodule () const |
L1TStub * | l1tstub () |
const L1TStub * | l1tstub () const |
const FPGAWord & | layer () const |
unsigned int | layerdisk () const |
const FPGAWord & | phi () const |
double | phiapprox (double phimin, double) const |
const FPGAWord & | phicorr () const |
unsigned int | phiregionaddress () const |
std::string | phiregionaddressstr () const |
const FPGAWord & | r () const |
double | rapprox () const |
void | setAllStubIndex (int nstub) |
void | setl1tstub (L1TStub *l1tstub) |
void | setPhiCorr (int phiCorr) |
std::string | str () const |
std::string | strbare () const |
std::string | strinner () const |
Stub (Settings const &settings) | |
Stub (L1TStub &stub, Settings const &settings, Globals &globals) | |
const FPGAWord & | stubindex () const |
const FPGAWord & | z () const |
double | zapprox () const |
~Stub ()=default | |
Private Attributes | |
FPGAWord | alpha_ |
FPGAWord | bend_ |
FPGAWord | disk_ |
L1TStub * | l1tstub_ |
FPGAWord | layer_ |
unsigned int | layerdisk_ |
FPGAWord | phi_ |
FPGAWord | phicorr_ |
FPGAWord | r_ |
Settings const & | settings_ |
FPGAWord | stubindex_ |
FPGAWord | z_ |
Definition at line 17 of file Stub.cc.
References alpha_, cms::cuda::assert(), bend(), bend_, trklet::Settings::bendcut(), trklet::Settings::benddecode(), trklet::Settings::bfield(), trklet::Settings::c(), trklet::L1SimTrack::charge(), trklet::convertHexToBin(), disk(), disk_, trklet::Globals::event(), trklet::L1TStub::isPSmodule(), l1tstub_, layer_, trklet::L1TStub::layerdisk(), layerdisk_, trklet::N_BENDBITS_2S, trklet::N_BENDBITS_PS, trklet::N_LAYER, trklet::Settings::nbitsalpha(), trklet::Settings::nphibitsstub(), trklet::Settings::nrbitsstub(), trklet::SLHCEvent::nsimtracks(), trklet::Settings::nzbitsstub(), trklet::Globals::ofstream(), phi_, phicorr_, trklet::L1SimTrack::pt(), trklet::L1TStub::r(), r_, trklet::rinv(), trklet::FPGAWord::set(), settings_, trklet::SLHCEvent::simtrack(), trklet::Settings::stripPitch(), trklet::L1TStub::stubword(), trklet::L1TStub::tpmatch2(), trklet::L1SimTrack::trackid(), trklet::Settings::writeMonitorData(), trklet::L1TStub::z(), and z_.
|
default |
|
inline |
|
inline |
Definition at line 64 of file Stub.h.
References alpha_.
Referenced by trklet::MatchCalculator::execute(), trklet::MatchProcessor::matchCalculator(), and trklet::FitTrack::trackFitChisq().
|
inline |
Definition at line 58 of file Stub.h.
References bend_.
Referenced by trklet::Sector::addStub(), trklet::TrackletProcessor::execute(), trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), and Stub().
|
inline |
Definition at line 68 of file Stub.h.
References disk_.
Referenced by trklet::VMStubsTEMemory::addVMStub(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletEngine::execute(), trklet::TrackletEngineDisplaced::execute(), trklet::TrackletProcessor::execute(), trklet::TrackletProcessorDisplaced::execute(), trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), trklet::Tracklet::getStubIDs(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorBase::overlapSeeding(), and Stub().
FPGAWord Stub::iphivmFineBins | ( | int | VMbits, |
int | finebits | ||
) | const |
Definition at line 107 of file Stub.cc.
References trklet::FPGAWord::nbits(), phicorr_, and trklet::FPGAWord::value().
Referenced by trklet::VMRouterCM::execute(), and trklet::VMRouter::execute().
|
inline |
Definition at line 81 of file Stub.h.
References layerdisk_, and trklet::N_LAYER.
Referenced by trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), and trklet::TrackletCalculatorDisplaced::LLLSeeding().
|
inline |
Definition at line 71 of file Stub.h.
References layerdisk_, trklet::N_LAYER, trklet::N_PSLAYER, r_, and trklet::FPGAWord::value().
Referenced by trklet::VMStubsTEMemory::addVMStub(), trklet::Tracklet::diskstubstr(), trklet::TrackletProcessorDisplaced::execute(), trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), trklet::Tracklet::fullmatchdiskstr(), trklet::VMStubME::isPSmodule(), trklet::VMStubTE::isPSmodule(), trklet::TrackletEngineUnit::step(), and str().
|
inline |
Definition at line 77 of file Stub.h.
References l1tstub_.
Referenced by trklet::Tracklet::disk(), trklet::TrackletEngineDisplaced::execute(), trklet::InputRouter::execute(), trklet::TrackletCalculator::execute(), trklet::MatchCalculator::execute(), trklet::TrackletCalculatorDisplaced::execute(), trklet::TrackletProcessor::execute(), trklet::TrackletProcessorDisplaced::execute(), trklet::VMRouterCM::execute(), trklet::FitTrack::execute(), trklet::VMRouter::execute(), trklet::Tracklet::getL1Stubs(), trklet::PurgeDuplicate::getPhiRes(), trklet::Tracklet::getStubIDs(), trklet::Tracklet::layer(), trklet::MatchProcessor::matchCalculator(), setl1tstub(), trklet::Tracklet::stubtruthmatch(), trklet::Tracklet::tpseed(), trklet::FitTrack::trackFitChisq(), and trklet::Tracklet::Tracklet().
|
inline |
|
inline |
Definition at line 67 of file Stub.h.
References layer_.
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::Tracklet::getStubIDs(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), and trklet::TrackletCalculatorBase::overlapSeeding().
unsigned int Stub::layerdisk | ( | ) | const |
Definition at line 185 of file Stub.cc.
References funct::abs(), disk_, layer_, trklet::N_LAYER, and trklet::FPGAWord::value().
Referenced by trklet::VMStubsTEMemory::addVMStub(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::Tracklet::disk(), trklet::TrackletCalculator::execute(), trklet::TrackletCalculatorDisplaced::execute(), trklet::TrackletProcessorDisplaced::execute(), trklet::PurgeDuplicate::getPhiRes(), trklet::Tracklet::layer(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::TrackletCalculatorBase::overlapSeeding(), phiregionaddress(), and phiregionaddressstr().
|
inline |
Definition at line 62 of file Stub.h.
References phi_.
Referenced by Particle.Particle::__str__(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::MatchProcessor::matchCalculator(), trklet::TrackletCalculatorBase::overlapSeeding(), and ntupleDataFormat.Track::phiPull().
double Stub::phiapprox | ( | double | phimin, |
double | |||
) | const |
Definition at line 177 of file Stub.cc.
References trklet::Settings::kphi(), layer_, phi_, phimin, reco::reduceRange(), settings_, and trklet::FPGAWord::value().
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::MatchProcessor::matchCalculator(), and trklet::TrackletCalculatorBase::overlapSeeding().
|
inline |
Definition at line 63 of file Stub.h.
References phicorr_.
Referenced by trklet::InputRouter::execute(), trklet::TrackletProcessor::execute(), trklet::VMRouterCM::execute(), and trklet::VMRouter::execute().
unsigned int Stub::phiregionaddress | ( | ) | const |
Definition at line 112 of file Stub.cc.
References LEDCalibrationChannels::iphi, layerdisk(), trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), phicorr_, settings_, stubindex_, and trklet::FPGAWord::value().
Referenced by trklet::Tracklet::getStubIDs().
std::string Stub::phiregionaddressstr | ( | ) | const |
Definition at line 117 of file Stub.cc.
References LEDCalibrationChannels::iphi, layerdisk(), trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), phicorr_, settings_, trklet::FPGAWord::str(), stubindex_, and trklet::FPGAWord::value().
Referenced by trklet::Tracklet::addressstr().
|
inline |
Definition at line 60 of file Stub.h.
References r_.
Referenced by trklet::Sector::addStub(), trklet::VMStubsTEMemory::addVMStub(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::Tracklet::diskstubstr(), trklet::MatchCalculator::execute(), trklet::TrackletProcessor::execute(), trklet::TrackletProcessorDisplaced::execute(), trklet::VMRouterCM::execute(), trklet::FitTrack::execute(), trklet::VMRouter::execute(), trklet::Tracklet::fullmatchdiskstr(), trklet::Tracklet::fullmatchstr(), trklet::Tracklet::layerstubstr(), trklet::MatchProcessor::matchCalculator(), and trklet::TrackletCalculatorBase::overlapSeeding().
double Stub::rapprox | ( | ) | const |
Definition at line 144 of file Stub.cc.
References funct::abs(), disk_, trklet::L1TStub::isPSmodule(), trklet::Settings::kr(), l1tstub_, layer_, trklet::Settings::nrbitsstub(), r_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), trklet::Settings::rmean(), settings_, and trklet::FPGAWord::value().
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::MatchProcessor::matchCalculator(), and trklet::TrackletCalculatorBase::overlapSeeding().
void Stub::setAllStubIndex | ( | int | nstub | ) |
Definition at line 123 of file Stub.cc.
References trklet::Settings::debugTracklet(), trklet::N_BITSMEMADDRESS, trklet::FPGAWord::set(), settings_, and stubindex_.
Referenced by trklet::VMRouterCM::execute(), and trklet::VMRouter::execute().
|
inline |
Definition at line 79 of file Stub.h.
References l1tstub(), and l1tstub_.
Referenced by trklet::DTCLinkMemory::addStub().
void Stub::setPhiCorr | ( | int | phiCorr | ) |
Definition at line 133 of file Stub.cc.
References trklet::FPGAWord::nbits(), phi_, phicorr_, trklet::FPGAWord::set(), and trklet::FPGAWord::value().
Referenced by trklet::Sector::addStub().
|
inline |
|
inline |
Definition at line 40 of file Stub.h.
References bend_, phi_, r_, trklet::FPGAWord::str(), and z_.
Referenced by trklet::TrackletProcessorDisplaced::execute().
|
inline |
Definition at line 42 of file Stub.h.
References trklet::FPGAWord::bits(), trklet::FPGAWord::nbits(), phicorr_, trklet::FPGAWord::str(), str(), and stubindex_.
|
inline |
Definition at line 66 of file Stub.h.
References stubindex_.
Referenced by trklet::MatchCalculator::execute(), trklet::Tracklet::getStubIDs(), trklet::MatchProcessor::matchCalculator(), and trklet::Tracklet::trackletparstr().
|
inline |
Definition at line 61 of file Stub.h.
References z_.
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::TrackletProcessor::execute(), trklet::TrackletProcessorDisplaced::execute(), trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), trklet::MatchProcessor::matchCalculator(), trklet::TrackletCalculatorBase::overlapSeeding(), geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().
double Stub::zapprox | ( | ) | const |
Definition at line 158 of file Stub.cc.
References funct::abs(), disk_, trklet::Settings::kz(), layer_, settings_, Validation_hcalonly_cfi::sign, trklet::FPGAWord::value(), z_, and trklet::Settings::zmean().
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::MatchProcessor::matchCalculator(), and trklet::TrackletCalculatorBase::overlapSeeding().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 86 of file Stub.h.
Referenced by layer(), layerdisk(), phiapprox(), rapprox(), str(), Stub(), and zapprox().
|
private |
Definition at line 84 of file Stub.h.
Referenced by isBarrel(), isPSmodule(), and Stub().
|
private |
Definition at line 90 of file Stub.h.
Referenced by phi(), phiapprox(), setPhiCorr(), str(), strbare(), and Stub().
|
private |
Definition at line 95 of file Stub.h.
Referenced by iphivmFineBins(), phicorr(), phiregionaddress(), phiregionaddressstr(), setPhiCorr(), strinner(), and Stub().
|
private |
|
private |
Definition at line 100 of file Stub.h.
Referenced by phiapprox(), phiregionaddress(), phiregionaddressstr(), rapprox(), setAllStubIndex(), Stub(), and zapprox().
|
private |
Definition at line 97 of file Stub.h.
Referenced by allStubIndex(), phiregionaddress(), phiregionaddressstr(), setAllStubIndex(), strinner(), and stubindex().