#include <Stub.h>
Public Member Functions | |
const FPGAWord & | alphanew () const |
const FPGAWord & | bend () const |
const FPGAWord & | disk () const |
FPGAWord | iphivmFineBins (int VMbits, int finebits) const |
bool | isBarrel () const |
bool | isDisk () 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 |
Stub (L1TStub &stub, Settings const &settings, double phiminsec, double phimaxsec) | |
Stub (Settings const &settings) | |
const FPGAWord & | stubindex () const |
const FPGAWord & | z () const |
double | zapprox () const |
~Stub ()=default | |
Private Attributes | |
FPGAWord | alphanew_ |
FPGAWord | bend_ |
FPGAWord | disk_ |
L1TStub * | l1tstub_ |
FPGAWord | layer_ |
FPGAWord | phi_ |
FPGAWord | phicorr_ |
FPGAWord | r_ |
Settings const & | settings_ |
FPGAWord | stubindex_ |
FPGAWord | z_ |
Stub::Stub | ( | Settings const & | settings | ) |
Definition at line 14 of file Stub.cc.
References funct::abs(), alphanew_, trklet::L1TStub::alphanorm(), cms::cuda::assert(), trklet::L1TStub::bend(), bend_, trklet::bendencode(), disk(), disk_, trklet::Settings::drmax(), trklet::Settings::dzmax(), Exception, mps_fire::i, LEDCalibrationChannels::iphi, trklet::L1TStub::isPSmodule(), l1tstub_, trklet::L1TStub::layer(), layer(), layer_, M_PI, trklet::L1TStub::module(), trklet::N_DISK, trklet::N_DSS_MOD, trklet::N_LAYER, trklet::Settings::nbitsalpha(), trklet::Settings::nphibitsstub(), trklet::Settings::nrbitsstub(), trklet::Settings::nzbitsstub(), trklet::L1TStub::phi(), phi_, phicorr_, r(), trklet::L1TStub::r(), r_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), reco::reduceRange(), trklet::Settings::rmaxdisk(), trklet::Settings::rmean(), trklet::FPGAWord::set(), settings_, Validation_hcalonly_cfi::sign, z(), trklet::L1TStub::z(), z_, trklet::Settings::zlength(), SiStripMonitorCluster_cfi::zmax, trklet::Settings::zmean(), and SiStripMonitorCluster_cfi::zmin.
|
default |
|
inline |
Definition at line 53 of file Stub.h.
References alphanew_.
Referenced by trklet::Tracklet::addMatchDisk(), trklet::MatchCalculator::execute(), and trklet::MatchProcessor::matchCalculator().
|
inline |
Definition at line 47 of file Stub.h.
References bend_.
Referenced by trklet::InputLinkMemory::addStub(), and trklet::VMRouter::execute().
|
inline |
Definition at line 57 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::VMRouter::execute(), trklet::PurgeDuplicate::getPhiRes(), trklet::Tracklet::getStubIDs(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorBase::overlapSeeding(), and Stub().
FPGAWord Stub::iphivmFineBins | ( | int | VMbits, |
int | finebits | ||
) | const |
Definition at line 172 of file Stub.cc.
References trklet::FPGAWord::nbits(), phicorr_, and trklet::FPGAWord::value().
Referenced by trklet::VMRouter::execute().
|
inline |
Definition at line 60 of file Stub.h.
References layer_, and trklet::FPGAWord::value().
Referenced by trklet::VMStubsTEMemory::addVMStub(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::Tracklet::calcSeedIndex(), trklet::TrackletCalculator::execute(), trklet::TrackletCalculatorDisplaced::execute(), trklet::TrackletProcessor::execute(), isPSmodule(), trklet::Tracklet::layer(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), and trklet::TrackletCalculatorBase::overlapSeeding().
|
inline |
Definition at line 61 of file Stub.h.
References disk_, and trklet::FPGAWord::value().
Referenced by trklet::Tracklet::disk(), trklet::TrackletCalculator::execute(), trklet::TrackletCalculatorDisplaced::execute(), trklet::TrackletProcessor::execute(), and trklet::TrackletCalculatorBase::overlapSeeding().
|
inline |
Definition at line 63 of file Stub.h.
References createfilelist::int, isBarrel(), layer_, trklet::N_PSLAYER, r_, and trklet::FPGAWord::value().
Referenced by trklet::VMStubsTEMemory::addVMStub(), trklet::VMRouter::execute(), trklet::VMStubME::isPSmodule(), trklet::VMStubTE::isPSmodule(), and str().
|
inline |
Definition at line 69 of file Stub.h.
References l1tstub_.
Referenced by trklet::TrackletCalculator::execute(), trklet::TrackletEngineDisplaced::execute(), trklet::MatchCalculator::execute(), trklet::TrackletCalculatorDisplaced::execute(), trklet::TrackletProcessor::execute(), trklet::VMRouter::execute(), trklet::PurgeDuplicate::getPhiRes(), trklet::MatchProcessor::matchCalculator(), setl1tstub(), and trklet::FitTrack::trackFitChisq().
|
inline |
|
inline |
Definition at line 56 of file Stub.h.
References layer_.
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::PurgeDuplicate::getPhiRes(), trklet::Tracklet::getStubIDs(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::TrackletCalculatorBase::overlapSeeding(), and Stub().
unsigned int Stub::layerdisk | ( | ) | const |
Definition at line 244 of file Stub.cc.
References funct::abs(), disk_, layer_, and trklet::FPGAWord::value().
Referenced by trklet::InputLinkMemory::addStub(), phiregionaddress(), and phiregionaddressstr().
|
inline |
Definition at line 51 of file Stub.h.
References phi_.
Referenced by Particle.Particle::__str__(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletEventProcessor::event(), trklet::MatchCalculator::execute(), trklet::MatchProcessor::matchCalculator(), trklet::TrackletCalculatorBase::overlapSeeding(), and ntupleDataFormat.Track::phiPull().
double Stub::phiapprox | ( | double | phimin, |
double | |||
) | const |
Definition at line 236 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 52 of file Stub.h.
References phicorr_.
Referenced by trklet::InputLinkMemory::addStub(), and trklet::VMRouter::execute().
unsigned int Stub::phiregionaddress | ( | ) | const |
Definition at line 177 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 182 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(), and trklet::Tracklet::trackfitstr().
|
inline |
Definition at line 49 of file Stub.h.
References r_.
Referenced by trklet::InputLinkMemory::addStub(), trklet::VMStubsTEMemory::addVMStub(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::VMRouter::execute(), trklet::MatchProcessor::matchCalculator(), trklet::TrackletCalculatorBase::overlapSeeding(), and Stub().
double Stub::rapprox | ( | ) | const |
Definition at line 209 of file Stub.cc.
References disk_, trklet::Settings::kr(), layer_, trklet::Settings::nrbitsstub(), r_, 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 188 of file Stub.cc.
References trklet::Settings::debugTracklet(), trklet::FPGAWord::set(), settings_, and stubindex_.
Referenced by trklet::VMRouter::execute().
|
inline |
void Stub::setPhiCorr | ( | int | phiCorr | ) |
Definition at line 198 of file Stub.cc.
References trklet::FPGAWord::nbits(), phi_, phicorr_, trklet::FPGAWord::set(), and trklet::FPGAWord::value().
Referenced by trklet::InputLinkMemory::addStub().
|
inline |
Definition at line 26 of file Stub.h.
References alphanew_, bend_, isPSmodule(), layer_, phi_, r_, trklet::FPGAWord::str(), trklet::FPGAWord::value(), and z_.
Referenced by trklet::TrackletEventProcessor::event().
|
inline |
|
inline |
Definition at line 55 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 50 of file Stub.h.
References z_.
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchCalculator::execute(), trklet::VMRouter::execute(), trklet::MatchProcessor::matchCalculator(), trklet::TrackletCalculatorBase::overlapSeeding(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r3D(), and Stub().
double Stub::zapprox | ( | ) | const |
Definition at line 217 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 |
Definition at line 79 of file Stub.h.
Referenced by alphanew(), str(), and Stub().
|
private |
|
private |
|
private |
Definition at line 87 of file Stub.h.
Referenced by l1tstub(), setl1tstub(), and Stub().
|
private |
Definition at line 74 of file Stub.h.
Referenced by isBarrel(), isPSmodule(), layer(), layerdisk(), phiapprox(), rapprox(), str(), Stub(), and zapprox().
|
private |
Definition at line 78 of file Stub.h.
Referenced by phi(), phiapprox(), setPhiCorr(), str(), strbare(), and Stub().
|
private |
Definition at line 83 of file Stub.h.
Referenced by iphivmFineBins(), phicorr(), phiregionaddress(), phiregionaddressstr(), setPhiCorr(), and Stub().
|
private |
|
private |
Definition at line 88 of file Stub.h.
Referenced by phiapprox(), phiregionaddress(), phiregionaddressstr(), rapprox(), setAllStubIndex(), Stub(), and zapprox().
|
private |
Definition at line 85 of file Stub.h.
Referenced by phiregionaddress(), phiregionaddressstr(), setAllStubIndex(), and stubindex().