8 using namespace trklet;
15 std::pair<Tracklet*, unsigned int>
tmp(tracklet, allprojindex);
27 std::ostringstream oss;
28 oss << dirVM +
"VMProjections_" <<
getName();
30 auto const&
tmp = oss.str();
32 if (
tmp[len - 2] ==
'n' &&
tmp[len - 1] >
'1' &&
tmp[len - 1] <=
'9')
34 oss <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
35 auto const&
fname = oss.str();
39 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
45 out_ << std::setfill(
'0') << std::setw(2);
std::string memPath() const
void writeVMPROJ(bool first, unsigned int iSector)
std::string hexFormat(const std::string &binary)
U second(std::pair< T, U > const &p)
std::string const & getName() const
Settings const & settings_
void addTracklet(Tracklet *tracklet, unsigned int allprojindex)
std::vector< std::pair< Tracklet *, unsigned int > > tracklets_
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)