#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, unsigned int iSector) | |
void | writeSP (bool first) |
~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 |
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< 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, | ||
unsigned int | iSector | ||
) |
Definition at line 8 of file StubPairsMemory.cc.
|
overridedefault |
|
inline |
Definition at line 19 of file StubPairsMemory.h.
References indices_, stubs_, and tedNames_.
Referenced by trklet::TrackletEngine::execute(), and trklet::TrackletProcessor::execute().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 36 of file StubPairsMemory.h.
|
inline |
Definition at line 33 of file StubPairsMemory.h.
References mps_fire::i, and indices_.
|
inline |
Definition at line 34 of file StubPairsMemory.h.
References mps_fire::i, and tedNames_.
Referenced by trklet::TrackletProcessor::execute().
|
inline |
Definition at line 30 of file StubPairsMemory.h.
References mps_fire::i, and stubs_.
Referenced by trklet::TrackletProcessor::execute().
|
inline |
Definition at line 31 of file StubPairsMemory.h.
References mps_fire::i, and stubs_.
Referenced by trklet::TrackletProcessor::execute().
|
inline |
Definition at line 28 of file StubPairsMemory.h.
References stubs_.
Referenced by trklet::TrackletProcessor::execute().
void StubPairsMemory::writeSP | ( | bool | first | ) |
Definition at line 11 of file StubPairsMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, dqmdumpme::first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::MemoryBase::out_, 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().