#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, unsigned int iSector) | |
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) |
~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 |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
MemoryBase (std::string name, Settings const &settings, unsigned int iSector) | |
void | openFile (bool first, 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) |
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, | ||
unsigned int | iSector | ||
) |
Definition at line 11 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(), match(), 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 |
void FullMatchMemory::writeMC | ( | bool | first | ) |
Definition at line 41 of file FullMatchMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, disk_, trklet::MemoryBase::event_, dqmdumpme::first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, layer_, match(), matches_, and trklet::MemoryBase::out_.
|
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().