52 for (Citer = thedigis.begin(); Citer != thedigis.end(); Citer++) {
56 for (; Diter != Dend; Diter++) {
64 const unsigned sector,
const unsigned subsector,
const int bx)
66 std::vector<csctf::TrackStub>
result;
67 std::vector<csctf::TrackStub>::iterator LCT;
69 result =
stubs_.
get(endcap, station, sector, subsector, bx);
72 for (LCT = result.begin(); LCT != result.end(); LCT++) {
73 if ( !(LCT->getQuality() && LCT->isValid()) )
74 result.erase(LCT, LCT);
78 std::sort(result.begin(), result.end(), std::greater<csctf::TrackStub>());
81 result.erase(result.begin() +
max_stubs_, result.end());
86 for (LCT = result.begin(); LCT != result.end(); LCT++)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< T > get() const
void push_back(const T data)
void loadDigis(const CSCCorrelatedLCTDigiCollection &thedigis)
std::vector< DigiType >::const_iterator const_iterator
CSCTriggerContainer< csctf::TrackStub > stubs_
std::vector< csctf::TrackStub > sort(const unsigned endcap, const unsigned station, const unsigned sector, const unsigned subsector, const int bx)