17 std::pair<std::pair<Tracklet*, int>,
const Stub*>
tmp(tracklet, stub);
21 if (tracklet.first->TCID() < match.first.first->TCID()) {
22 throw cms::Exception(
"LogicError") << __FILE__ <<
" " << __LINE__ <<
" In " <<
getName() <<
" adding tracklet " 23 << tracklet.first <<
" with lower TCID : " << tracklet.first->TCID()
24 <<
" than earlier TCID " << match.first.first->TCID();
34 std::ostringstream oss;
35 oss << dirM <<
"CandidateMatches_" <<
getName() <<
"_" << std::setfill(
'0') << std::setw(2) << (
iSector_ + 1)
37 auto const&
fname = oss.str();
41 out_ <<
"BX = " << (bitset<3>)
bx_ <<
" Event : " <<
event_ << endl;
43 for (
unsigned int j = 0;
j <
matches_.size();
j++) {
44 string stubid =
matches_[
j].second->stubindex().str();
47 if (projindex >= (1 << 7)) {
48 projindex = (1 << 7) - 1;
50 tmp.set(projindex, 7,
true, __LINE__, __FILE__);
void writeCM(bool first, unsigned int iSector)
void addMatch(std::pair< Tracklet *, int > tracklet, const Stub *stub)
std::string hexFormat(const std::string &binary)
std::string memPath() const
Settings const & settings_
std::string const & getName() const
static std::string hexstr(unsigned int index)
std::vector< std::pair< std::pair< Tracklet *, int >, const Stub * > > matches_
std::ofstream openfile(const std::string &dir, const std::string &fname, const char *file, int line)