10 TrackletProjectionsMemory::TrackletProjectionsMemory(
string name,
Settings const& settings)
27 if (itracklet == tracklet) {
30 assert(itracklet != tracklet);
43 std::ostringstream oss;
44 oss << dirTP <<
"TrackletProjections_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1)
46 auto const&
fname = oss.str();
50 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
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
static std::string hexstr(unsigned int index)
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)