#include <VMStubsMEMemory.h>
Public Member Functions | |
void | addStub (VMStubME stub, unsigned int bin) |
void | clean () override |
const Stub * | getStubBin (unsigned int bin, unsigned int i) const |
const VMStubME & | getVMStubMEBin (unsigned int bin, unsigned int i) const |
unsigned int | nStubsBin (unsigned int bin) const |
VMStubsMEMemory (std::string name, Settings const &settings, unsigned int iSector) | |
void | writeStubs (bool first) |
~VMStubsMEMemory () override=default | |
Public Member Functions inherited from trklet::MemoryBase | |
void | findAndReplaceAll (std::string &data, std::string toSearch, std::string replaceStr) |
std::string | getLastPartOfName () const |
std::string const & | getName () const |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
MemoryBase (std::string name, Settings const &settings, unsigned int iSector) | |
void | openFile (bool first, std::string filebase) |
virtual | ~MemoryBase ()=default |
Private Attributes | |
std::vector< std::vector< VMStubME > > | binnedstubs_ |
Additional Inherited Members | |
Static Public Member Functions inherited from trklet::MemoryBase | |
static size_t | find_nth (const std::string &haystack, size_t pos, const std::string &needle, size_t nth) |
Protected Attributes inherited from trklet::MemoryBase | |
int | bx_ |
int | event_ |
unsigned int | iSector_ |
std::string | name_ |
std::ofstream | out_ |
Settings const & | settings_ |
Definition at line 16 of file VMStubsMEMemory.h.
VMStubsMEMemory::VMStubsMEMemory | ( | std::string | name, |
Settings const & | settings, | ||
unsigned int | iSector | ||
) |
Definition at line 8 of file VMStubsMEMemory.cc.
References binnedstubs_, trklet::MemoryBase::initLayerDisk(), trklet::N_LAYER, trklet::Settings::NLONGVMBINS(), and trklet::MemoryBase::settings_.
|
overridedefault |
|
inline |
Definition at line 22 of file VMStubsMEMemory.h.
References newFWLiteAna::bin, binnedstubs_, trklet::Settings::maxStubsPerBin(), trklet::MemoryBase::settings_, and findQualityFiles::size.
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 45 of file VMStubsMEMemory.h.
References binnedstubs_.
|
inline |
Definition at line 39 of file VMStubsMEMemory.h.
References cms::cuda::assert(), newFWLiteAna::bin, binnedstubs_, mps_fire::i, and findQualityFiles::size.
|
inline |
Definition at line 33 of file VMStubsMEMemory.h.
References cms::cuda::assert(), newFWLiteAna::bin, binnedstubs_, mps_fire::i, and findQualityFiles::size.
Referenced by trklet::MatchEngine::execute(), and trklet::MatchEngineUnit::step().
|
inline |
Definition at line 28 of file VMStubsMEMemory.h.
References cms::cuda::assert(), newFWLiteAna::bin, and binnedstubs_.
Referenced by trklet::MatchEngine::execute(), trklet::MatchProcessor::execute(), and trklet::MatchEngineUnit::step().
void VMStubsMEMemory::writeStubs | ( | bool | first | ) |
Definition at line 19 of file VMStubsMEMemory.cc.
References binnedstubs_, trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, dqmdumpme::first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), mps_fire::i, trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::MemoryBase::out_, trklet::FPGAWord::str(), and createJobs::tmp.
|
private |
Definition at line 54 of file VMStubsMEMemory.h.
Referenced by addStub(), clean(), getStubBin(), getVMStubMEBin(), nStubsBin(), VMStubsMEMemory(), and writeStubs().