#include <FullMatchMemory.h>
Public Member Functions | |
void | addMatch (Tracklet *tracklet, const Stub *stub) |
void | clean () override |
int | disk () const |
FullMatchMemory (std::string name, Settings const &settings) | |
std::pair< Tracklet *, const Stub * > | getMatch (unsigned int i) |
Tracklet * | getTracklet (unsigned int i) |
int | layer () const |
unsigned int | nMatches () const |
void | writeMC (bool first, unsigned int iSector) |
~FullMatchMemory () 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 *, const Stub * > > | matches_ |
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 FullMatchMemory.h.
FullMatchMemory::FullMatchMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 12 of file FullMatchMemory.cc.
References cms::cuda::assert(), disk_, trklet::MemoryBase::find_nth(), trklet::MemoryBase::initLayerDisk(), layer_, and Skims_PA_cff::name.
|
overridedefault |
Definition at line 18 of file FullMatchMemory.cc.
References trklet::Settings::doKF(), trklet::Settings::doMultipleMatches(), trklet::MemoryBase::getName(), matches_, trklet::MemoryBase::settings_, trklet::Tracklet::TCID(), createJobs::tmp, and trklet::Tracklet::trackletIndex().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 31 of file FullMatchMemory.h.
References matches_.
|
inline |
Definition at line 29 of file FullMatchMemory.h.
References mps_fire::i, and matches_.
|
inline |
Definition at line 27 of file FullMatchMemory.h.
References mps_fire::i, and matches_.
|
inline |
Definition at line 35 of file FullMatchMemory.h.
References layer_.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
Definition at line 25 of file FullMatchMemory.h.
References matches_.
void FullMatchMemory::writeMC | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 42 of file FullMatchMemory.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_, matches_, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, and trklet::MemoryBase::settings_.
|
private |
Definition at line 42 of file FullMatchMemory.h.
Referenced by disk(), FullMatchMemory(), and writeMC().
|
private |
Definition at line 41 of file FullMatchMemory.h.
Referenced by FullMatchMemory(), layer(), and writeMC().
Definition at line 39 of file FullMatchMemory.h.
Referenced by addMatch(), clean(), getMatch(), getTracklet(), nMatches(), and writeMC().