7 using namespace trklet;
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 memPath() const
std::string hexFormat(const std::string &binary)
void writeStubs(bool first, unsigned int iSector)
std::string const & getName() const
Settings const & settings_
unsigned int NLONGVMBINS() 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)