#include <StubTripletsMemory.h>
|
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, unsigned int iSector) |
|
void | writeST (bool first) |
|
| ~StubTripletsMemory () override=default |
|
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 |
|
Definition at line 14 of file StubTripletsMemory.h.
◆ StubTripletsMemory()
StubTripletsMemory::StubTripletsMemory |
( |
std::string |
name, |
|
|
Settings const & |
settings, |
|
|
unsigned int |
iSector |
|
) |
| |
◆ ~StubTripletsMemory()
trklet::StubTripletsMemory::~StubTripletsMemory |
( |
| ) |
|
|
overridedefault |
◆ addStubs()
void trklet::StubTripletsMemory::addStubs |
( |
const Stub * |
stub1, |
|
|
const Stub * |
stub2, |
|
|
const Stub * |
stub3 |
|
) |
| |
|
inline |
◆ clean()
void trklet::StubTripletsMemory::clean |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getFPGAStub1()
const Stub* trklet::StubTripletsMemory::getFPGAStub1 |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ getFPGAStub2()
const Stub* trklet::StubTripletsMemory::getFPGAStub2 |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ getFPGAStub3()
const Stub* trklet::StubTripletsMemory::getFPGAStub3 |
( |
unsigned int |
i | ) |
const |
|
inline |
◆ nStubTriplets()
unsigned int trklet::StubTripletsMemory::nStubTriplets |
( |
| ) |
const |
|
inline |
◆ writeST()
void StubTripletsMemory::writeST |
( |
bool |
first | ) |
|
Definition at line 12 of file StubTripletsMemory.cc.
13 std::ostringstream oss;
14 oss <<
"../data/MemPrints/StubPairs/StubTriplets_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2)
16 auto const&
fname = oss.str();
23 out_.open(
fname.c_str(), std::ofstream::app);
25 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
27 for (
unsigned int j = 0;
j <
stubs1_.size();
j++) {
28 string stub1index =
stubs1_[
j]->stubindex().str();
29 string stub2index =
stubs2_[
j]->stubindex().str();
30 string stub3index =
stubs3_[
j]->stubindex().str();
31 out_ << std::setfill(
'0') << std::setw(2);
33 out_ <<
" " << stub1index <<
"|" << stub2index <<
"|" << stub3index << endl;
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, dqmdumpme::first, alignmentValidation::fname, trklet::MemoryBase::getName(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, trklet::MemoryBase::out_, stubs1_, stubs2_, and stubs3_.
◆ stubs1_
std::vector<const Stub*> trklet::StubTripletsMemory::stubs1_ |
|
private |
◆ stubs2_
std::vector<const Stub*> trklet::StubTripletsMemory::stubs2_ |
|
private |
◆ stubs3_
std::vector<const Stub*> trklet::StubTripletsMemory::stubs3_ |
|
private |