#include <TrackletParametersMemory.h>
Public Member Functions | |
void | addTracklet (Tracklet *tracklet) |
void | clean () override |
Tracklet * | getTracklet (unsigned int i) |
unsigned int | nTracklets () const |
TrackletParametersMemory (std::string name, Settings const &settings) | |
void | writeTPAR (bool first, unsigned int iSector) |
~TrackletParametersMemory () 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< Tracklet * > | tracklets_ |
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 TrackletParametersMemory.h.
TrackletParametersMemory::TrackletParametersMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 11 of file TrackletParametersMemory.cc.
|
overridedefault |
|
inline |
Definition at line 23 of file TrackletParametersMemory.h.
References tracklets_.
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), and trklet::TrackletCalculatorBase::overlapSeeding().
|
overridevirtual |
Implements trklet::MemoryBase.
Definition at line 14 of file TrackletParametersMemory.cc.
References tracklets_.
|
inline |
Definition at line 27 of file TrackletParametersMemory.h.
References mps_fire::i, and tracklets_.
|
inline |
Definition at line 25 of file TrackletParametersMemory.h.
References tracklets_.
Referenced by trklet::TrackletCalculatorBase::barrelSeeding(), trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::TrackletCalculatorBase::diskSeeding(), trklet::TrackletCalculator::execute(), trklet::TrackletCalculatorDisplaced::execute(), trklet::TrackletProcessor::execute(), trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), and trklet::TrackletCalculatorBase::overlapSeeding().
void TrackletParametersMemory::writeTPAR | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 21 of file TrackletParametersMemory.cc.
References trklet::MemoryBase::bx_, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::hexstr(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, and tracklets_.
|
private |
Definition at line 34 of file TrackletParametersMemory.h.
Referenced by addTracklet(), clean(), getTracklet(), nTracklets(), and writeTPAR().