#include <TrackFitMemory.h>
Public Member Functions | |
void | addStubidsList (std::vector< std::pair< int, int >> stubidslist) |
void | addStubList (std::vector< const Stub *> stublist) |
void | addTrack (Tracklet *tracklet) |
void | clean () override |
std::vector< std::pair< int, int > > | getStubidslist (unsigned int i) const |
std::vector< const Stub * > | getStublist (unsigned int i) const |
Tracklet * | getTrack (unsigned int i) |
unsigned int | nStubidslists () const |
unsigned int | nStublists () const |
unsigned int | nTracks () const |
TrackFitMemory (std::string name, Settings const &settings, double phimin, double phimax) | |
void | writeTF (bool first, unsigned int iSector) |
~TrackFitMemory () 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 | |
double | phimax_ |
double | phimin_ |
std::vector< std::vector< std::pair< int, int > > > | stubidslists_ |
std::vector< std::vector< const Stub * > > | stublists_ |
std::vector< Tracklet * > | tracks_ |
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 TrackFitMemory.h.
TrackFitMemory::TrackFitMemory | ( | std::string | name, |
Settings const & | settings, | ||
double | phimin, | ||
double | phimax | ||
) |
Definition at line 10 of file TrackFitMemory.cc.
References phimax, phimax_, phimin, and phimin_.
|
overridedefault |
|
inline |
Definition at line 23 of file TrackFitMemory.h.
References stubidslists_.
Referenced by trklet::FitTrack::execute().
|
inline |
Definition at line 22 of file TrackFitMemory.h.
References stublists_.
Referenced by trklet::FitTrack::execute().
|
inline |
Definition at line 21 of file TrackFitMemory.h.
References tracks_.
Referenced by trklet::FitTrack::execute().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 33 of file TrackFitMemory.h.
References stubidslists_, stublists_, and tracks_.
|
inline |
Definition at line 31 of file TrackFitMemory.h.
References mps_fire::i, and stubidslists_.
|
inline |
Definition at line 30 of file TrackFitMemory.h.
References mps_fire::i, and stublists_.
|
inline |
|
inline |
Definition at line 27 of file TrackFitMemory.h.
References stubidslists_.
|
inline |
Definition at line 26 of file TrackFitMemory.h.
References stublists_.
|
inline |
Definition at line 25 of file TrackFitMemory.h.
References tracks_.
Referenced by trklet::FitTrack::execute().
void TrackFitMemory::writeTF | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 16 of file TrackFitMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::hexFormat(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, and tracks_.
|
private |
Definition at line 43 of file TrackFitMemory.h.
Referenced by TrackFitMemory().
|
private |
Definition at line 42 of file TrackFitMemory.h.
Referenced by TrackFitMemory().
|
private |
Definition at line 46 of file TrackFitMemory.h.
Referenced by addStubidsList(), clean(), getStubidslist(), and nStubidslists().
|
private |
Definition at line 45 of file TrackFitMemory.h.
Referenced by addStubList(), clean(), getStublist(), and nStublists().
|
private |
Definition at line 44 of file TrackFitMemory.h.
Referenced by addTrack(), clean(), getTrack(), nTracks(), and writeTF().