14 id_ = std::make_tuple(std::get<0>(seedUp), std::get<0>(seedDown), std::get<1>(seedUp) - std::get<1>(seedDown));
16 LogDebug(
"DTPattern") <<
"Pattern id: " << std::get<0>(
id_) <<
" , " << std::get<1>(
id_) <<
" , "
22 seedUp_ = std::make_tuple(SL1, 0, 0);
23 seedDown_ = std::make_tuple(SL2, diff, 0);
24 id_ = std::make_tuple(SL1, SL2, diff);
26 LogDebug(
"DTPattern") <<
"Pattern id: " << std::get<0>(
id_) <<
" , " << std::get<1>(
id_) <<
" , "
34 LogDebug(
"DTPattern") <<
"Added gen hit: " << std::get<0>(hit) <<
" , " << std::get<1>(hit) <<
" , "
42 if (slId == (std::get<0>(*it) - 1)) {
44 return std::get<2>(*it);
47 else if ((chId <= (std::get<1>(*it) +
recoseedDown_ + allowedVariance)) &&
48 (chId >= (std::get<1>(*it) +
recoseedDown_ - allowedVariance))) {
58 out <<
"Pattern id: " << std::get<0>(p.
id()) <<
" , " << std::get<1>(p.
id()) <<
" , " << std::get<2>(p.
id())
60 std::vector<RefDTPatternHit> thegenHits = p.
genHits();
61 out <<
"Pattern hits: " << std::endl;
63 for (std::vector<RefDTPatternHit>::iterator itHit = thegenHits.begin(); itHit != thegenHits.end(); itHit++) {
64 out <<
"[" << std::get<0>(*itHit) <<
" , " << std::get<1>(*itHit) <<
" , " << std::get<2>(*itHit) <<
"]";
void addHit(RefDTPatternHit hit)
std::vector< RefDTPatternHit > genHits_
RefDTPatternHit seedDown_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
std::tuple< int, int, int > RefDTPatternHit
const std::vector< RefDTPatternHit > & genHits() const
int latHitIn(int slId, int chId, int allowedVariance) const
DTPatternIdentifier id() const