#include <AllProjectionsMemory.h>
Public Member Functions | |
void | addTracklet (Tracklet *tracklet) |
AllProjectionsMemory (std::string name, Settings const &settings) | |
void | clean () override |
const Tracklet * | getTracklet (unsigned int i) const |
unsigned int | nTracklets () const |
void | writeAP (bool first, unsigned int iSector) |
~AllProjectionsMemory () 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 | |
int | disk_ |
int | layer_ |
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 14 of file AllProjectionsMemory.h.
AllProjectionsMemory::AllProjectionsMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 13 of file AllProjectionsMemory.cc.
References disk_, trklet::MemoryBase::initLayerDisk(), and layer_.
|
overridedefault |
|
inline |
Definition at line 20 of file AllProjectionsMemory.h.
References tracklets_.
Referenced by trklet::ProjectionRouter::execute().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 26 of file AllProjectionsMemory.h.
References tracklets_.
|
inline |
Definition at line 24 of file AllProjectionsMemory.h.
References mps_fire::i, and tracklets_.
|
inline |
Definition at line 22 of file AllProjectionsMemory.h.
References tracklets_.
Referenced by trklet::ProjectionRouter::execute().
void AllProjectionsMemory::writeAP | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 17 of file AllProjectionsMemory.cc.
References trklet::MemoryBase::bx_, disk_, trklet::MemoryBase::event_, dqmdumpme::first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::hexstr(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, layer_, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, amptDefault_cfi::proj, trklet::MemoryBase::settings_, and tracklets_.
|
private |
Definition at line 34 of file AllProjectionsMemory.h.
Referenced by AllProjectionsMemory(), and writeAP().
|
private |
Definition at line 33 of file AllProjectionsMemory.h.
Referenced by AllProjectionsMemory(), and writeAP().
|
private |
Definition at line 31 of file AllProjectionsMemory.h.
Referenced by addTracklet(), clean(), getTracklet(), nTracklets(), and writeAP().