#include <MemoryBase.h>
Public Member Functions | |
virtual void | clean ()=0 |
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 |
Static Public Member Functions | |
static size_t | find_nth (const std::string &haystack, size_t pos, const std::string &needle, size_t nth) |
Protected Attributes | |
int | bx_ |
int | event_ |
unsigned int | iSector_ |
std::string | name_ |
std::ofstream | out_ |
Settings const & | settings_ |
Definition at line 13 of file MemoryBase.h.
MemoryBase::MemoryBase | ( | std::string | name, |
Settings const & | settings, | ||
unsigned int | iSector | ||
) |
|
virtualdefault |
|
pure virtual |
Implemented in trklet::VMStubsMEMemory, trklet::StubPairsMemory, trklet::VMStubsTEMemory, trklet::TrackFitMemory, trklet::InputLinkMemory, trklet::StubTripletsMemory, trklet::FullMatchMemory, trklet::CandidateMatchMemory, trklet::TrackletParametersMemory, trklet::VMProjectionsMemory, trklet::AllStubsMemory, trklet::TrackletProjectionsMemory, trklet::AllProjectionsMemory, and trklet::CleanTrackMemory.
|
static |
Definition at line 108 of file MemoryBase.cc.
Referenced by trklet::FullMatchMemory::FullMatchMemory(), and trklet::TrackletProjectionsMemory::TrackletProjectionsMemory().
void MemoryBase::findAndReplaceAll | ( | std::string & | data, |
std::string | toSearch, | ||
std::string | replaceStr | ||
) |
|
inline |
Definition at line 20 of file MemoryBase.h.
References name_.
|
inline |
Definition at line 19 of file MemoryBase.h.
References name_.
Referenced by trklet::CandidateMatchMemory::addMatch(), trklet::FullMatchMemory::addMatch(), trklet::TrackletProjectionsMemory::addProj(), trklet::TrackletCalculatorDisplaced::addProjectionDisk(), trklet::InputLinkMemory::addStub(), trklet::VMStubsTEMemory::addVMStub(), plotting.Plot::draw(), trklet::TrackletEngineDisplaced::execute(), trklet::MatchProcessor::execute(), openFile(), trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), trklet::VMStubsTEMemory::writeVMBendTable(), and trklet::VMProjectionsMemory::writeVMPROJ().
unsigned int MemoryBase::initLayerDisk | ( | unsigned int | pos | ) |
void MemoryBase::initLayerDisk | ( | unsigned int | pos, |
int & | layer, | ||
int & | disk | ||
) |
Definition at line 17 of file MemoryBase.cc.
References Exception, and name_.
Referenced by trklet::AllProjectionsMemory::AllProjectionsMemory(), trklet::FullMatchMemory::FullMatchMemory(), initLayerDisk(), trklet::InputLinkMemory::InputLinkMemory(), trklet::TrackletProjectionsMemory::TrackletProjectionsMemory(), trklet::VMProjectionsMemory::VMProjectionsMemory(), trklet::VMStubsMEMemory::VMStubsMEMemory(), and trklet::VMStubsTEMemory::VMStubsTEMemory().
void MemoryBase::initSpecialSeeding | ( | unsigned int | pos, |
bool & | overlap, | ||
bool & | extra, | ||
bool & | extended | ||
) |
Definition at line 40 of file MemoryBase.cc.
References name_, and goodZToMuMu_cfi::overlap.
Referenced by trklet::VMStubsTEMemory::VMStubsTEMemory().
void MemoryBase::openFile | ( | bool | first, |
std::string | filebase | ||
) |
Definition at line 72 of file MemoryBase.cc.
References bx_, event_, findAndReplaceAll(), dqmdumpme::first, alignmentValidation::fname, getName(), iSector_, out_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by trklet::AllStubsMemory::writeStubs(), trklet::InputLinkMemory::writeStubs(), and trklet::VMStubsTEMemory::writeStubs().
|
protected |
Definition at line 47 of file MemoryBase.h.
Referenced by MemoryBase(), openFile(), trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
|
protected |
Definition at line 48 of file MemoryBase.h.
Referenced by MemoryBase(), openFile(), trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
|
protected |
Definition at line 44 of file MemoryBase.h.
Referenced by MemoryBase(), openFile(), trklet::VMStubsTEMemory::setbendtable(), trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
|
protected |
Definition at line 43 of file MemoryBase.h.
Referenced by getLastPartOfName(), getName(), initLayerDisk(), and initSpecialSeeding().
|
protected |
Definition at line 46 of file MemoryBase.h.
Referenced by openFile(), trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::AllStubsMemory::writeStubs(), trklet::InputLinkMemory::writeStubs(), trklet::VMStubsTEMemory::writeStubs(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
|
protected |
Definition at line 50 of file MemoryBase.h.
Referenced by trklet::FullMatchMemory::addMatch(), trklet::VMStubsMEMemory::addStub(), trklet::InputLinkMemory::addStub(), trklet::VMStubsTEMemory::addVMStub(), trklet::VMStubsTEMemory::clean(), trklet::VMStubsTEMemory::getPhiRange(), trklet::VMStubsTEMemory::setbendtable(), trklet::VMStubsMEMemory::VMStubsMEMemory(), trklet::VMStubsTEMemory::VMStubsTEMemory(), trklet::CleanTrackMemory::writeCT(), and trklet::VMStubsTEMemory::writeStubs().