#include <VMProjectionsMemory.h>
Public Member Functions | |
void | addTracklet (Tracklet *tracklet, unsigned int allprojindex) |
void | clean () override |
int | disk () const |
int | getAllProjIndex (unsigned int i) const |
Tracklet * | getTracklet (unsigned int i) |
int | layer () const |
unsigned int | nTracklets () const |
VMProjectionsMemory (std::string name, Settings const &settings) | |
void | writeVMPROJ (bool first, unsigned int iSector) |
~VMProjectionsMemory () 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< std::pair< Tracklet *, unsigned int > > | 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 VMProjectionsMemory.h.
VMProjectionsMemory::VMProjectionsMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 10 of file VMProjectionsMemory.cc.
References disk_, trklet::MemoryBase::initLayerDisk(), and layer_.
|
overridedefault |
void VMProjectionsMemory::addTracklet | ( | Tracklet * | tracklet, |
unsigned int | allprojindex | ||
) |
Definition at line 14 of file VMProjectionsMemory.cc.
References cms::cuda::assert(), trklet::Tracklet::TCID(), createJobs::tmp, and tracklets_.
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 29 of file VMProjectionsMemory.h.
References tracklets_.
|
inline |
|
inline |
Definition at line 25 of file VMProjectionsMemory.h.
References mps_fire::i, and tracklets_.
Referenced by trklet::MatchEngine::execute().
|
inline |
Definition at line 24 of file VMProjectionsMemory.h.
References mps_fire::i, and tracklets_.
Referenced by trklet::MatchEngine::execute().
|
inline |
Definition at line 31 of file VMProjectionsMemory.h.
References layer_.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
Definition at line 22 of file VMProjectionsMemory.h.
References tracklets_.
Referenced by trklet::MatchEngine::execute().
void VMProjectionsMemory::writeVMPROJ | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 23 of file VMProjectionsMemory.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_, edm::second(), trklet::MemoryBase::settings_, createJobs::tmp, and tracklets_.
|
private |
Definition at line 36 of file VMProjectionsMemory.h.
Referenced by disk(), VMProjectionsMemory(), and writeVMPROJ().
|
private |
Definition at line 35 of file VMProjectionsMemory.h.
Referenced by layer(), VMProjectionsMemory(), and writeVMPROJ().
|
private |
Definition at line 37 of file VMProjectionsMemory.h.
Referenced by addTracklet(), clean(), getAllProjIndex(), getTracklet(), nTracklets(), and writeVMPROJ().