#include <TrackletProjectionsMemory.h>
Public Member Functions | |
void | addProj (Tracklet *tracklet) |
void | clean () override |
int | disk () const |
Tracklet * | getTracklet (unsigned int i) |
int | layer () const |
unsigned int | nTracklets () const |
TrackletProjectionsMemory (std::string name, Settings const &settings) | |
void | writeTPROJ (bool first, unsigned int iSector) |
~TrackletProjectionsMemory () override | |
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_ |
bool | hasProj_ |
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 15 of file TrackletProjectionsMemory.h.
TrackletProjectionsMemory::TrackletProjectionsMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 10 of file TrackletProjectionsMemory.cc.
References cms::cuda::assert(), disk_, trklet::MemoryBase::find_nth(), hasProj_, trklet::MemoryBase::initLayerDisk(), layer_, and Skims_PA_cff::name.
|
inlineoverride |
Definition at line 19 of file TrackletProjectionsMemory.h.
References trklet::MemoryBase::getName(), hasProj_, trklet::MemoryBase::settings_, and trklet::Settings::writeMonitorData().
void TrackletProjectionsMemory::addProj | ( | Tracklet * | tracklet | ) |
Definition at line 18 of file TrackletProjectionsMemory.cc.
References funct::abs(), cms::cuda::assert(), disk_, trklet::MemoryBase::getName(), hasProj_, layer_, trklet::N_LAYER, tracklets_, and trklet::Tracklet::validProj().
Referenced by trklet::TrackletCalculatorDisplaced::addProjection(), trklet::TrackletCalculatorBase::addProjection(), trklet::TrackletCalculatorDisplaced::addProjectionDisk(), and trklet::TrackletCalculatorBase::addProjectionDisk().
|
overridevirtual |
Implements trklet::MemoryBase.
Definition at line 37 of file TrackletProjectionsMemory.cc.
References tracklets_.
|
inline |
|
inline |
Definition at line 29 of file TrackletProjectionsMemory.h.
References mps_fire::i, and tracklets_.
Referenced by trklet::MatchProcessor::execute().
|
inline |
Definition at line 35 of file TrackletProjectionsMemory.h.
References layer_.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
Definition at line 27 of file TrackletProjectionsMemory.h.
References tracklets_.
Referenced by trklet::MatchProcessor::execute().
void TrackletProjectionsMemory::writeTPROJ | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 39 of file TrackletProjectionsMemory.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 43 of file TrackletProjectionsMemory.h.
Referenced by addProj(), disk(), TrackletProjectionsMemory(), and writeTPROJ().
|
private |
Definition at line 41 of file TrackletProjectionsMemory.h.
Referenced by addProj(), TrackletProjectionsMemory(), and ~TrackletProjectionsMemory().
|
private |
Definition at line 42 of file TrackletProjectionsMemory.h.
Referenced by addProj(), layer(), TrackletProjectionsMemory(), and writeTPROJ().
|
private |
Definition at line 39 of file TrackletProjectionsMemory.h.
Referenced by addProj(), clean(), getTracklet(), nTracklets(), and writeTPROJ().