#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, unsigned int iSector) | |
void | writeTPROJ (bool first) |
~TrackletProjectionsMemory () 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< 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) |
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, | ||
unsigned int | iSector | ||
) |
Definition at line 9 of file TrackletProjectionsMemory.cc.
References cms::cuda::assert(), disk_, trklet::MemoryBase::find_nth(), trklet::MemoryBase::initLayerDisk(), layer_, and Skims_PA_cff::name.
|
overridedefault |
void TrackletProjectionsMemory::addProj | ( | Tracklet * | tracklet | ) |
Definition at line 16 of file TrackletProjectionsMemory.cc.
References cms::cuda::assert(), disk_, trklet::MemoryBase::getName(), layer_, tracklets_, trklet::Tracklet::validProj(), and trklet::Tracklet::validProjDisk().
Referenced by trklet::TrackletCalculatorDisplaced::addProjection(), trklet::TrackletCalculatorBase::addProjection(), trklet::TrackletCalculatorDisplaced::addProjectionDisk(), and trklet::TrackletCalculatorBase::addProjectionDisk().
|
overridevirtual |
Implements trklet::MemoryBase.
Definition at line 34 of file TrackletProjectionsMemory.cc.
References tracklets_.
|
inline |
|
inline |
Definition at line 25 of file TrackletProjectionsMemory.h.
References mps_fire::i, and tracklets_.
Referenced by trklet::MatchProcessor::execute().
|
inline |
Definition at line 31 of file TrackletProjectionsMemory.h.
References layer_.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
Definition at line 23 of file TrackletProjectionsMemory.h.
References tracklets_.
Referenced by trklet::MatchProcessor::execute().
void TrackletProjectionsMemory::writeTPROJ | ( | bool | first | ) |
Definition at line 36 of file TrackletProjectionsMemory.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_, trklet::MemoryBase::out_, amptDefault_cfi::proj, and tracklets_.
|
private |
Definition at line 38 of file TrackletProjectionsMemory.h.
Referenced by addProj(), disk(), TrackletProjectionsMemory(), and writeTPROJ().
|
private |
Definition at line 37 of file TrackletProjectionsMemory.h.
Referenced by addProj(), layer(), TrackletProjectionsMemory(), and writeTPROJ().
|
private |
Definition at line 35 of file TrackletProjectionsMemory.h.
Referenced by addProj(), clean(), getTracklet(), nTracklets(), and writeTPROJ().