23 std::ostringstream oss;
24 oss << dirVM <<
"VMStubs_" <<
getName();
26 auto const&
tmp = oss.str();
28 if (
tmp[len - 2] ==
'n' &&
tmp[len - 1] >
'1' &&
tmp[len - 1] <=
'9')
30 oss <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
31 auto const&
fname = oss.str();
35 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
43 stub +=
"|" + finephipos.
str();
45 stub +=
"|" + finepos.
str();
std::vector< std::vector< VMStubME > > binnedstubs_
std::string hexFormat(const std::string &binary)
unsigned int NLONGVMBINS() const
std::string memPath() const
void writeStubs(bool first, unsigned int iSector)
Settings const & settings_
std::string const & getName() 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)