10 TrackletProjectionsMemory::TrackletProjectionsMemory(
string name,
Settings const& settings)
26 if (itracklet == tracklet) {
29 assert(itracklet != tracklet);
41 std::ostringstream oss;
42 oss << dirTP <<
"TrackletProjections_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1)
44 auto const&
fname = oss.str();
48 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
54 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)
void writeTPROJ(bool first, unsigned int iSector)
std::string hexFormat(const std::string &binary)
std::string memPath() const
Settings const & settings_
Abs< T >::type abs(const T &t)
std::string const & getName() const
Log< level::Warning, true > LogPrint
std::vector< Tracklet * > tracklets_
void addProj(Tracklet *tracklet)
bool validProj(int layerdisk) const
void initLayerDisk(unsigned int pos, int &layer, int &disk)
std::ofstream openfile(const std::string &dir, const std::string &fname, const char *file, int line)