16 std::ostringstream oss;
17 oss << dirSP <<
"StubTriplets_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
18 auto const&
fname = oss.str();
22 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
24 for (
unsigned int j = 0;
j <
stubs1_.size();
j++) {
25 string stub1index =
stubs1_[
j]->stubindex().str();
26 string stub2index =
stubs2_[
j]->stubindex().str();
27 string stub3index =
stubs3_[
j]->stubindex().str();
28 out_ << std::setfill(
'0') << std::setw(2);
30 out_ <<
" " << stub1index <<
"|" << stub2index <<
"|" << stub3index << endl;
std::vector< const Stub * > stubs2_
std::string memPath() const
Settings const & settings_
std::string const & getName() const
std::vector< const Stub * > stubs1_
void writeST(bool first, unsigned int iSector)
std::vector< const Stub * > stubs3_
std::ofstream openfile(const std::string &dir, const std::string &fname, const char *file, int line)