#include <CandidateMatchMemory.h>
Public Member Functions | |
void | addMatch (std::pair< Tracklet *, int > tracklet, const Stub *stub) |
CandidateMatchMemory (std::string name, Settings const &settings, unsigned int iSector) | |
void | clean () override |
std::pair< std::pair< Tracklet *, int >, const Stub * > | getMatch (unsigned int i) |
unsigned int | nMatches () const |
void | writeCM (bool first) |
~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 |
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 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) |
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, | ||
unsigned int | iSector | ||
) |
Definition at line 14 of file CandidateMatchMemory.cc.
|
overridedefault |
Definition at line 17 of file CandidateMatchMemory.cc.
References Exception, trklet::MemoryBase::getName(), match(), 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 |
void CandidateMatchMemory::writeCM | ( | bool | first | ) |
Definition at line 31 of file CandidateMatchMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, Exception, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, matches_, trklet::Settings::memPath(), 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().