5 #include <boost/bind.hpp>
17 return find_if (begin(), end(),
21 boost::ref(direction)));
30 return find_if (first, end(),
35 boost::ref(direction))));
44 return find_if (begin(), end(),
57 return find_if (first, end(),
69 sublist.push_back(*p);
76 sublist.push_back(*p);
84 for (iterator hit = begin(); hit != end(); hit++)
85 if (hit->PlaneMatches(region, package, plane))
86 sublist->push_back(*hit);
93 for (iterator hit = begin(); hit != end(); hit++)
94 if (hit->DirMatches(region, package, dir))
95 sublist->push_back(*hit);
103 std::cout << *
this << std::endl;
108 for (QwHitContainer::const_iterator hit = hitlist.begin(); hit != hitlist.end(); hit++)
109 stream << *hit << std::endl;
std::ostream & operator<<(std::ostream &out, const QwColor &color)
Output stream operator which uses the enum-to-escape-code mapping.
iterator GetEndOfHits1(EQwRegionID region, EQwDetectorPackage package, Int_t plane)
Bool_t DirMatches(EQwRegionID region, EQwDetectorPackage package, EQwDirectionID dir)
iterator GetStartOfHits1(EQwRegionID region, EQwDetectorPackage package, Int_t plane)
static struct logical_not_s logical_not_
iterator GetStartOfHits(EQwRegionID region, EQwDetectorPackage package, EQwDirectionID direction)
void GetSubList_Dir(EQwRegionID region, EQwDetectorPackage package, EQwDirectionID direction, std::vector< QwHit > &sublist)
void Print(const Option_t *option=0) const
iterator GetEndOfHits(EQwRegionID region, EQwDetectorPackage package, EQwDirectionID direction)
Bool_t PlaneMatches(EQwRegionID region, EQwDetectorPackage package, Int_t plane)
void GetSubList_Plane(EQwRegionID region, EQwDetectorPackage package, Int_t plane, std::vector< QwHit > &sublist)