#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 |
void | resize (int nbins) |
VMStubsMEMemory (std::string name, Settings const &settings) | |
void | writeStubs (bool first, unsigned int iSector) |
~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 |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
unsigned int | initLayerDisk (unsigned int pos) |
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
MemoryBase (std::string name, Settings const &settings) | |
void | openFile (bool first, std::string dirName, 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 | ||
) |
Definition at line 9 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 47 of file VMStubsMEMemory.h.
References binnedstubs_.
|
inline |
Definition at line 41 of file VMStubsMEMemory.h.
References cms::cuda::assert(), newFWLiteAna::bin, binnedstubs_, mps_fire::i, and findQualityFiles::size.
|
inline |
Definition at line 35 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 30 of file VMStubsMEMemory.h.
References cms::cuda::assert(), newFWLiteAna::bin, and binnedstubs_.
Referenced by trklet::MatchEngine::execute(), trklet::MatchProcessor::execute(), and trklet::MatchEngineUnit::step().
|
inline |
Definition at line 28 of file VMStubsMEMemory.h.
References binnedstubs_, and LaserClient_cfi::nbins.
void VMStubsMEMemory::writeStubs | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 19 of file VMStubsMEMemory.cc.
References binnedstubs_, trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), mps_fire::i, trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, trklet::FPGAWord::str(), and createJobs::tmp.
|
private |
Definition at line 56 of file VMStubsMEMemory.h.
Referenced by addStub(), clean(), getStubBin(), getVMStubMEBin(), nStubsBin(), resize(), VMStubsMEMemory(), and writeStubs().