22 if (match.first == tracklet) {
28 std::pair<Tracklet*, const Stub*>
tmp(tracklet, stub);
46 std::ostringstream oss;
47 oss << dirM <<
"FullMatches_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1) <<
".dat";
48 auto const&
fname = oss.str();
52 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
54 for (
unsigned int j = 0;
j <
matches_.size();
j++) {
static size_t find_nth(const std::string &haystack, size_t pos, const std::string &needle, size_t nth)
std::vector< std::pair< Tracklet *, const Stub * > > matches_
std::string hexFormat(const std::string &binary)
std::string memPath() const
int trackletIndex() const
Settings const & settings_
void addMatch(Tracklet *tracklet, const Stub *stub)
bool doMultipleMatches() const
std::string const & getName() const
Log< level::Warning, true > LogPrint
static std::string hexstr(unsigned int index)
void writeMC(bool first, unsigned int iSector)
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)