#include <StubPairsMemory.h>
Public Member Functions | |
void | addStubPair (const VMStubTE &stub1, const VMStubTE &stub2, const unsigned index=0, const std::string &tedName="") |
void | clean () override |
unsigned | getIndex (const unsigned i) const |
const std::string & | getTEDName (const unsigned i) const |
const VMStubTE & | getVMStub1 (unsigned int i) const |
const VMStubTE & | getVMStub2 (unsigned int i) const |
unsigned int | nStubPairs () const |
StubPairsMemory (std::string name, Settings const &settings) | |
void | writeSP (bool first, unsigned int iSector) |
~StubPairsMemory () 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< unsigned > | indices_ |
std::vector< std::pair< const VMStubTE, const VMStubTE > > | stubs_ |
std::vector< std::string > | tedNames_ |
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 13 of file StubPairsMemory.h.
StubPairsMemory::StubPairsMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 9 of file StubPairsMemory.cc.
|
overridedefault |
|
inline |
Definition at line 19 of file StubPairsMemory.h.
References indices_, stubs_, and tedNames_.
Referenced by trklet::TrackletEngine::execute().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 36 of file StubPairsMemory.h.
References indices_, stubs_, and tedNames_.
|
inline |
|
inline |
Definition at line 34 of file StubPairsMemory.h.
References mps_fire::i, and tedNames_.
|
inline |
Definition at line 30 of file StubPairsMemory.h.
References mps_fire::i, and stubs_.
|
inline |
Definition at line 31 of file StubPairsMemory.h.
References mps_fire::i, and stubs_.
|
inline |
Definition at line 28 of file StubPairsMemory.h.
References stubs_.
void StubPairsMemory::writeSP | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 11 of file StubPairsMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, and stubs_.
|
private |
Definition at line 47 of file StubPairsMemory.h.
Referenced by addStubPair(), clean(), and getIndex().
Definition at line 45 of file StubPairsMemory.h.
Referenced by addStubPair(), clean(), getVMStub1(), getVMStub2(), nStubPairs(), and writeSP().
|
private |
Definition at line 48 of file StubPairsMemory.h.
Referenced by addStubPair(), clean(), and getTEDName().