#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 |
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 |
Static Public Member Functions | |
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 | |
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 | ||
) |
|
virtualdefault |
|
pure virtual |
Implemented in trklet::VMStubsMEMemory, trklet::VMStubsTEMemory, trklet::StubPairsMemory, trklet::TrackFitMemory, trklet::StubTripletsMemory, trklet::DTCLinkMemory, trklet::FullMatchMemory, trklet::TrackletProjectionsMemory, trklet::InputLinkMemory, trklet::CandidateMatchMemory, trklet::TrackletParametersMemory, trklet::VMProjectionsMemory, trklet::AllInnerStubsMemory, trklet::AllStubsMemory, trklet::AllProjectionsMemory, and trklet::CleanTrackMemory.
|
static |
Definition at line 104 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 | ||
) |
Definition at line 62 of file MemoryBase.cc.
References data.
Referenced by openFile().
|
inline |
|
inline |
Definition at line 19 of file MemoryBase.h.
References name_.
Referenced by trklet::VMRouter::addInput(), trklet::CandidateMatchMemory::addMatch(), trklet::FullMatchMemory::addMatch(), trklet::TrackletProjectionsMemory::addProj(), trklet::TrackletCalculatorDisplaced::addProjectionDisk(), trklet::VMStubsTEMemory::addVMStub(), plotting.Plot::draw(), trklet::TrackletEngineDisplaced::execute(), trklet::MatchProcessor::execute(), openFile(), trklet::TrackletEngine::setVMPhiBin(), 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::VMProjectionsMemory::writeVMPROJ(), and trklet::TrackletProjectionsMemory::~TrackletProjectionsMemory().
|
static |
Definition at line 111 of file MemoryBase.cc.
References TauDecayModes::dec.
Referenced by trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::InputLinkMemory::writeStubs(), trklet::DTCLinkMemory::writeStubs(), trklet::AllInnerStubsMemory::writeStubs(), trklet::AllStubsMemory::writeStubs(), trklet::VMStubsTEMemory::writeStubs(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
void MemoryBase::initLayerDisk | ( | unsigned int | pos, |
int & | layer, | ||
int & | disk | ||
) |
Definition at line 20 of file MemoryBase.cc.
References Exception, and name_.
Referenced by trklet::AllProjectionsMemory::AllProjectionsMemory(), trklet::FullMatchMemory::FullMatchMemory(), initLayerDisk(), trklet::TrackletProjectionsMemory::TrackletProjectionsMemory(), trklet::VMProjectionsMemory::VMProjectionsMemory(), trklet::VMStubsMEMemory::VMStubsMEMemory(), and trklet::VMStubsTEMemory::VMStubsTEMemory().
unsigned int MemoryBase::initLayerDisk | ( | unsigned int | pos | ) |
Definition at line 34 of file MemoryBase.cc.
References initLayerDisk(), and trklet::N_DISK.
void MemoryBase::initSpecialSeeding | ( | unsigned int | pos, |
bool & | overlap, | ||
bool & | extra, | ||
bool & | extended | ||
) |
Definition at line 43 of file MemoryBase.cc.
References name_, and hltL1SingleMuFiltered5_cfi::overlap.
Referenced by trklet::VMStubsTEMemory::VMStubsTEMemory().
void MemoryBase::openFile | ( | bool | first, |
std::string | dirName, | ||
std::string | filebase | ||
) |
Definition at line 75 of file MemoryBase.cc.
References bx_, TrackerOfflineValidation_Dqm_cff::dirName, event_, findAndReplaceAll(), dqmdumpme::first, alignmentValidation::fname, getName(), iSector_, trklet::openfile(), out_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
Referenced by trklet::InputLinkMemory::writeStubs(), trklet::DTCLinkMemory::writeStubs(), trklet::AllStubsMemory::writeStubs(), trklet::AllInnerStubsMemory::writeStubs(), and trklet::VMStubsTEMemory::writeStubs().
|
protected |
Definition at line 50 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 51 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 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::InputLinkMemory::writeStubs(), trklet::DTCLinkMemory::writeStubs(), trklet::AllInnerStubsMemory::writeStubs(), trklet::AllStubsMemory::writeStubs(), trklet::VMStubsTEMemory::writeStubs(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
|
protected |
Definition at line 46 of file MemoryBase.h.
Referenced by getLastPartOfName(), getName(), initLayerDisk(), and initSpecialSeeding().
|
protected |
Definition at line 49 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::InputLinkMemory::writeStubs(), trklet::DTCLinkMemory::writeStubs(), trklet::AllInnerStubsMemory::writeStubs(), trklet::AllStubsMemory::writeStubs(), trklet::VMStubsTEMemory::writeStubs(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), and trklet::VMProjectionsMemory::writeVMPROJ().
|
protected |
Definition at line 53 of file MemoryBase.h.
Referenced by trklet::FullMatchMemory::addMatch(), trklet::VMStubsMEMemory::addStub(), trklet::DTCLinkMemory::addStub(), trklet::VMStubsTEMemory::addVMStub(), trklet::VMStubsTEMemory::getPhiRange(), trklet::VMStubsMEMemory::VMStubsMEMemory(), trklet::VMStubsTEMemory::VMStubsTEMemory(), trklet::AllProjectionsMemory::writeAP(), trklet::CandidateMatchMemory::writeCM(), trklet::CleanTrackMemory::writeCT(), trklet::FullMatchMemory::writeMC(), trklet::StubPairsMemory::writeSP(), trklet::StubTripletsMemory::writeST(), trklet::InputLinkMemory::writeStubs(), trklet::DTCLinkMemory::writeStubs(), trklet::AllInnerStubsMemory::writeStubs(), trklet::AllStubsMemory::writeStubs(), trklet::VMStubsTEMemory::writeStubs(), trklet::VMStubsMEMemory::writeStubs(), trklet::TrackFitMemory::writeTF(), trklet::TrackletParametersMemory::writeTPAR(), trklet::TrackletProjectionsMemory::writeTPROJ(), trklet::VMProjectionsMemory::writeVMPROJ(), and trklet::TrackletProjectionsMemory::~TrackletProjectionsMemory().