Go to the documentation of this file.
9 TrackletProjectionsMemory::TrackletProjectionsMemory(
string name,
Settings const& settings,
unsigned int iSector)
25 if (itracklet == tracklet) {
28 assert(itracklet != tracklet);
37 std::ostringstream oss;
38 oss <<
"../data/MemPrints/TrackletProjections/TrackletProjections_" <<
getName() <<
"_" << std::setfill(
'0')
39 << std::setw(2) << (
iSector_ + 1) <<
".dat";
40 auto const&
fname = oss.str();
47 out_.open(
fname.c_str(), std::ofstream::app);
49 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
55 out_ << std::setfill(
'0') << std::setw(2);
static size_t find_nth(const std::string &haystack, size_t pos, const std::string &needle, size_t nth)
Log< level::Warning, true > LogPrint
void initLayerDisk(unsigned int pos, int &layer, int &disk)
bool validProj(int layer) const
std::string const & getName() const
void writeTPROJ(bool first)
void addProj(Tracklet *tracklet)
std::vector< Tracklet * > tracklets_
std::string hexFormat(const std::string &binary)
bool validProjDisk(int disk) const