#include <FPGAWord.h>
Public Member Functions | |
bool | atExtreme () const |
unsigned int | bits (unsigned int lsb, unsigned int nbit) const |
FPGAWord () | |
FPGAWord (int value, int nbits, bool positive=true, int line=-1, const char *file=nullptr) | |
int | nbits () const |
bool | operator== (const FPGAWord &other) const |
void | set (int value, int nbits, bool positive=true, int line=-1, const char *file=nullptr) |
std::string | str () const |
int | value () const |
~FPGAWord ()=default | |
Private Attributes | |
int | nbits_ {-1} |
bool | positive_ {true} |
int | value_ {-1} |
Definition at line 9 of file FPGAWord.h.
FPGAWord::FPGAWord | ( | ) |
Definition at line 8 of file FPGAWord.cc.
FPGAWord::FPGAWord | ( | int | value, |
int | nbits, | ||
bool | positive = true , |
||
int | line = -1 , |
||
const char * | file = nullptr |
||
) |
Definition at line 10 of file FPGAWord.cc.
References FrontierConditions_GlobalTag_cff::file, and mps_splice::line.
|
default |
bool FPGAWord::atExtreme | ( | ) | const |
Definition at line 79 of file FPGAWord.cc.
Referenced by trklet::TrackletCalculatorDisplaced::addLayerProj(), and trklet::TrackletCalculatorBase::addLayerProj().
unsigned int FPGAWord::bits | ( | unsigned int | lsb, |
unsigned int | nbit | ||
) | const |
Definition at line 74 of file FPGAWord.cc.
References cms::cuda::assert(), and hgcalVFEProducer_cfi::lsb.
Referenced by trklet::ProjectionRouter::execute(), trklet::TrackletEngine::execute(), and trklet::TrackletProcessor::execute().
|
inline |
Definition at line 25 of file FPGAWord.h.
References nbits_.
Referenced by trklet::TrackletCalculatorDisplaced::addDiskProj(), trklet::TrackletCalculatorBase::addDiskProj(), trklet::TrackletCalculatorDisplaced::addLayerProj(), trklet::TrackletCalculatorBase::addLayerProj(), trklet::ProjectionRouter::execute(), trklet::TrackletEngine::execute(), trklet::TripletEngine::execute(), trklet::TrackletEngineDisplaced::execute(), trklet::TrackletProcessor::execute(), trklet::MatchProcessor::execute(), trklet::VMRouter::execute(), trklet::Tracklet::getStubIDs(), trklet::Tracklet::ichiSqfit(), trklet::Stub::iphivmFineBins(), trklet::Stub::phiregionaddress(), trklet::Stub::phiregionaddressstr(), trklet::Stub::setPhiCorr(), trklet::FitTrack::trackFitChisq(), and trklet::Tracklet::vmstrlayer().
bool FPGAWord::operator== | ( | const FPGAWord & | other | ) | const |
void FPGAWord::set | ( | int | value, |
int | nbits, | ||
bool | positive = true , |
||
int | line = -1 , |
||
const char * | file = nullptr |
||
) |
Definition at line 14 of file FPGAWord.cc.
References cms::cuda::assert(), FrontierConditions_GlobalTag_cff::file, mps_splice::line, and relativeConstraints::value.
Referenced by trklet::TrackletEventProcessor::event(), trklet::VMRouter::execute(), trklet::TrackDerTable::fillTable(), trklet::Tracklet::fullmatchdiskstr(), trklet::Tracklet::fullmatchstr(), trklet::Stub::setAllStubIndex(), trklet::DiskProjection::setBendIndex(), trklet::Tracklet::setFitPars(), trklet::Stub::setPhiCorr(), trklet::Stub::Stub(), trklet::FitTrack::trackFitChisq(), trklet::Tracklet::Tracklet(), trklet::Tracklet::trackletprojstr(), and trklet::Tracklet::trackletprojstrD().
std::string FPGAWord::str | ( | ) | const |
Definition at line 54 of file FPGAWord.cc.
References mps_fire::i, and str.
Referenced by trklet::TrackletEventProcessor::event(), trklet::TrackDerTable::fillTable(), trklet::Tracklet::fullmatchdiskstr(), trklet::Tracklet::fullmatchstr(), trklet::Stub::phiregionaddressstr(), trklet::Stub::str(), trklet::Stub::strbare(), trklet::FitTrack::trackFitChisq(), trklet::Tracklet::trackfitstr(), trklet::Tracklet::trackletparstr(), trklet::Tracklet::trackletprojstr(), trklet::Tracklet::trackletprojstrD(), trklet::Tracklet::vmstrdisk(), trklet::Tracklet::vmstrlayer(), and trklet::VMStubsMEMemory::writeStubs().
|
inline |
Definition at line 24 of file FPGAWord.h.
References value_.
Referenced by trklet::TrackletCalculatorDisplaced::addDiskProj(), trklet::TrackletCalculatorBase::addDiskProj(), trklet::TrackletCalculatorDisplaced::addLayerProj(), trklet::TrackletCalculatorBase::addLayerProj(), trklet::InputLinkMemory::addStub(), trklet::VMStubsTEMemory::addVMStub(), average.Average::average(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchEngine::execute(), trklet::ProjectionRouter::execute(), trklet::TrackletEngine::execute(), trklet::TripletEngine::execute(), trklet::TrackletEngineDisplaced::execute(), trklet::MatchCalculator::execute(), trklet::TrackletProcessor::execute(), trklet::MatchProcessor::execute(), trklet::VMRouter::execute(), trklet::Tracklet::finervm(), trklet::Tracklet::finezvm(), trklet::Tracklet::fit(), trklet::PurgeDuplicate::getPhiRes(), trklet::Tracklet::getStubIDs(), trklet::Tracklet::ichiSqfit(), trklet::Stub::iphivmFineBins(), trklet::Stub::isBarrel(), trklet::Stub::isDisk(), trklet::Stub::isPSmodule(), trklet::Stub::layerdisk(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::Tracklet::makeTrack(), trklet::MatchProcessor::matchCalculator(), trklet::TrackletCalculatorBase::overlapSeeding(), trklet::Stub::phiapprox(), trklet::Tracklet::phiprojvm(), trklet::Stub::phiregionaddress(), trklet::Stub::phiregionaddressstr(), trklet::Stub::rapprox(), trklet::Tracklet::rbin1projvm(), trklet::Tracklet::rbin2projvm(), trklet::Stub::setPhiCorr(), trklet::MatchEngineUnit::step(), trklet::Stub::str(), trklet::FitTrack::trackFitChisq(), trklet::FitTrack::trackFitFake(), trklet::Tracklet::vmstrlayer(), trklet::Stub::zapprox(), trklet::Tracklet::zbin1projvm(), trklet::Tracklet::zbin2projvm(), and trklet::Tracklet::zprojvm().
|
private |
Definition at line 33 of file FPGAWord.h.
Referenced by nbits().
|
private |
Definition at line 34 of file FPGAWord.h.
|
private |
Definition at line 32 of file FPGAWord.h.
Referenced by value().