#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) |
|
void | writeST (bool first, unsigned int iSector) |
|
| ~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) |
|
void | openFile (bool first, std::string dirName, std::string filebase) |
|
virtual | ~MemoryBase ()=default |
|
Definition at line 14 of file StubTripletsMemory.h.
◆ StubTripletsMemory()
StubTripletsMemory::StubTripletsMemory |
( |
std::string |
name, |
|
|
Settings const & |
settings |
|
) |
| |
◆ ~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, |
|
|
unsigned int |
iSector |
|
) |
| |
Definition at line 12 of file StubTripletsMemory.cc.
16 std::ostringstream oss;
17 oss << dirSP <<
"StubTriplets_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
18 auto const&
fname = oss.str();
22 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
24 for (
unsigned int j = 0;
j <
stubs1_.size();
j++) {
25 string stub1index =
stubs1_[
j]->stubindex().str();
26 string stub2index =
stubs2_[
j]->stubindex().str();
27 string stub3index =
stubs3_[
j]->stubindex().str();
28 out_ << std::setfill(
'0') << std::setw(2);
30 out_ <<
" " << stub1index <<
"|" << stub2index <<
"|" << stub3index << endl;
References trklet::MemoryBase::bx_, TauDecayModes::dec, trklet::MemoryBase::event_, first, 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_.
◆ 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 |