15 std::ostringstream oss;
16 oss << dirSP <<
"StubPairs_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
17 auto const&
fname = oss.str();
21 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
23 for (
unsigned int j = 0;
j <
stubs_.size();
j++) {
24 string stub1index =
stubs_[
j].first.stub()->stubindex().str();
25 string stub2index =
stubs_[
j].second.stub()->stubindex().str();
27 out_ << std::setfill(
'0') << std::setw(2);
29 out_ <<
" " << stub1index <<
"|" << stub2index <<
" " <<
trklet::hexFormat(stub1index + stub2index) << endl;
std::string hexFormat(const std::string &binary)
std::string memPath() const
std::vector< std::pair< const VMStubTE, const VMStubTE > > stubs_
Settings const & settings_
std::string const & getName() const
void writeSP(bool first, unsigned int iSector)
std::ofstream openfile(const std::string &dir, const std::string &fname, const char *file, int line)