#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=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< 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 | ||
) |
Definition at line 10 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 17 of file TrackletProjectionsMemory.cc.
References funct::abs(), cms::cuda::assert(), disk_, trklet::MemoryBase::getName(), 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 35 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, |
unsigned int | iSector | ||
) |
Definition at line 37 of file TrackletProjectionsMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, disk_, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), 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 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().