#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 geometryDiff::file, mps_splice::line, and relativeConstraints::value.
|
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(), trklet::MatchProcessor::execute(), trklet::TrackletProcessor::execute(), and trklet::Stub::strinner().
|
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::MatchProcessor::execute(), trklet::TrackletProcessor::execute(), trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), trklet::Tracklet::getStubIDs(), trklet::Tracklet::ichiSqfit(), trklet::Stub::iphivmFineBins(), trklet::Stub::phiregionaddress(), trklet::Stub::phiregionaddressstr(), trklet::Stub::setPhiCorr(), trklet::TrackletEngineUnit::step(), trklet::Stub::strinner(), 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(), geometryDiff::file, mps_splice::line, and relativeConstraints::value.
Referenced by trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), trklet::TrackDerTable::fillTable(), trklet::Tracklet::fullmatchdiskstr(), trklet::Tracklet::fullmatchstr(), trklet::Stub::setAllStubIndex(), trklet::Projection::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::Tracklet::diskstubstr(), trklet::TrackDerTable::fillTable(), trklet::Tracklet::fullmatchdiskstr(), trklet::Tracklet::fullmatchstr(), trklet::Tracklet::layerstubstr(), trklet::Stub::phiregionaddressstr(), trklet::Stub::str(), trklet::Stub::strbare(), trklet::Stub::strinner(), trklet::FitTrack::trackFitChisq(), trklet::Tracklet::trackletparstr(), trklet::Tracklet::trackletprojstr(), trklet::Tracklet::trackletprojstrD(), trklet::Tracklet::vmstrdisk(), trklet::Tracklet::vmstrlayer(), trklet::DTCLinkMemory::writeStubs(), 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::Sector::addStub(), trklet::VMStubsTEMemory::addVMStub(), average.Average::average(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::MatchEngine::execute(), trklet::TrackletEngine::execute(), trklet::TripletEngine::execute(), trklet::TrackletEngineDisplaced::execute(), trklet::MatchCalculator::execute(), trklet::MatchProcessor::execute(), trklet::TrackletProcessor::execute(), trklet::VMRouterCM::execute(), trklet::VMRouter::execute(), trklet::Tracklet::fit(), trklet::Tracklet::getStubIDs(), trklet::Tracklet::ichiSqfit(), trklet::Stub::iphivmFineBins(), 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::Stub::phiregionaddress(), trklet::Stub::phiregionaddressstr(), trklet::Stub::rapprox(), trklet::Stub::setPhiCorr(), trklet::TrackletEngineUnit::step(), trklet::MatchEngineUnit::step(), trklet::Stub::str(), trklet::FitTrack::trackFitChisq(), trklet::FitTrack::trackFitFake(), trklet::Tracklet::vmstrlayer(), and trklet::Stub::zapprox().
|
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().