26 candHits_.push_back(std::make_shared<DTPrimitive>(dthit));
49 if (dthit.
layerId() == (*dt_it)->layerId() && dthit.
channelId() == (*dt_it)->channelId()) {
51 if (
pattern_->latHitIn((*dt_it)->layerId(), (*dt_it)->channelId(), 0) > -5)
57 if ((*dt_it)->layerId() <= 3)
59 else if ((*dt_it)->layerId() >= 4)
61 tempHits.push_back(*dt_it);
89 else if (
pattern_->genHits().size() < (cOther.
pattern()->genHits().size()))
91 else if (
pattern_->genHits().size() > (cOther.
pattern()->genHits().size()))
std::vector< DTPrimitivePtr > DTPrimitivePtrs
const int channelId() const
void removeHit(DTPrimitive dthit)
bool operator==(const CandidateGroup &cOther) const
const DTPatternPtr pattern() const
std::bitset< 8 > qualitybits
DTPrimitivePtrs candHits_
const int layerId() const
std::shared_ptr< DTPattern > DTPatternPtr
void addHit(DTPrimitive dthit, int lay, bool isGood)
bool operator>(const CandidateGroup &cOther) const
Power< A, B >::type pow(const A &a, const B &b)