#include <CandidateMatchMemory.h>
Public Member Functions | |
void | addMatch (std::pair< Tracklet *, int > tracklet, const Stub *stub) |
CandidateMatchMemory (std::string name, Settings const &settings) | |
void | clean () override |
std::pair< std::pair< Tracklet *, int >, const Stub * > | getMatch (unsigned int i) |
unsigned int | nMatches () const |
void | writeCM (bool first, unsigned int iSector) |
~CandidateMatchMemory () 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::pair< std::pair< Tracklet *, int >, const Stub * > > | matches_ |
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) |
static std::string | hexstr (unsigned int index) |
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 17 of file CandidateMatchMemory.h.
CandidateMatchMemory::CandidateMatchMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 14 of file CandidateMatchMemory.cc.
|
overridedefault |
Definition at line 16 of file CandidateMatchMemory.cc.
References Exception, trklet::MemoryBase::getName(), matches_, and createJobs::tmp.
Referenced by trklet::MatchEngine::execute().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 29 of file CandidateMatchMemory.h.
References matches_.
|
inline |
Definition at line 27 of file CandidateMatchMemory.h.
References mps_fire::i, and matches_.
|
inline |
Definition at line 25 of file CandidateMatchMemory.h.
References matches_.
void CandidateMatchMemory::writeCM | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 30 of file CandidateMatchMemory.cc.
References trklet::MemoryBase::bx_, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::hexstr(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, matches_, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, and createJobs::tmp.
|
private |
Definition at line 34 of file CandidateMatchMemory.h.
Referenced by addMatch(), clean(), getMatch(), nMatches(), and writeCM().