50 for (Citer = thedigis.begin(); Citer != thedigis.end(); Citer++) {
54 for (; Diter != Dend; Diter++) {
62 const unsigned sector,
const unsigned subsector,
const int bx)
64 std::vector<csctf::TrackStub>
result;
65 std::vector<csctf::TrackStub>::iterator LCT;
67 result =
stubs_.
get(endcap, station, sector, subsector, bx);
70 for (LCT = result.begin(); LCT != result.end(); LCT++) {
71 if ( !(LCT->getQuality() && LCT->isValid()) )
72 result.erase(LCT, LCT);
76 std::sort(result.begin(), result.end(), std::greater<csctf::TrackStub>());
79 result.erase(result.begin() +
max_stubs_, result.end());
84 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< CSCCorrelatedLCTDigi >::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)