#include <StubTripletsMemory.h>
Public Member Functions | |
void | addStubs (const Stub *stub1, const Stub *stub2, const Stub *stub3) |
void | clean () override |
const Stub * | getFPGAStub1 (unsigned int i) const |
const Stub * | getFPGAStub2 (unsigned int i) const |
const Stub * | getFPGAStub3 (unsigned int i) const |
unsigned int | nStubTriplets () const |
StubTripletsMemory (std::string name, Settings const &settings) | |
void | writeST (bool first, unsigned int iSector) |
~StubTripletsMemory () 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 | |
std::vector< const Stub * > | stubs1_ |
std::vector< const Stub * > | stubs2_ |
std::vector< const Stub * > | stubs3_ |
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 14 of file StubTripletsMemory.h.
StubTripletsMemory::StubTripletsMemory | ( | std::string | name, |
Settings const & | settings | ||
) |
Definition at line 10 of file StubTripletsMemory.cc.
|
overridedefault |
|
inline |
Definition at line 20 of file StubTripletsMemory.h.
References stubs1_, stubs2_, and stubs3_.
Referenced by trklet::TripletEngine::execute().
|
inlineoverridevirtual |
Implements trklet::MemoryBase.
Definition at line 32 of file StubTripletsMemory.h.
References stubs1_, stubs2_, and stubs3_.
|
inline |
Definition at line 28 of file StubTripletsMemory.h.
References mps_fire::i, and stubs1_.
|
inline |
Definition at line 29 of file StubTripletsMemory.h.
References mps_fire::i, and stubs2_.
|
inline |
Definition at line 30 of file StubTripletsMemory.h.
References mps_fire::i, and stubs3_.
|
inline |
Definition at line 26 of file StubTripletsMemory.h.
References stubs1_.
void StubTripletsMemory::writeST | ( | bool | first, |
unsigned int | iSector | ||
) |
Definition at line 12 of file StubTripletsMemory.cc.
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::openfile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, stubs1_, stubs2_, and stubs3_.
|
private |
Definition at line 41 of file StubTripletsMemory.h.
Referenced by addStubs(), clean(), getFPGAStub1(), nStubTriplets(), and writeST().
|
private |
Definition at line 42 of file StubTripletsMemory.h.
Referenced by addStubs(), clean(), getFPGAStub2(), and writeST().
|
private |
Definition at line 43 of file StubTripletsMemory.h.
Referenced by addStubs(), clean(), getFPGAStub3(), and writeST().