35 for (Citer = thedigis.begin(); Citer != thedigis.end(); Citer++) {
39 for (; Diter != Dend; Diter++) {
47 const unsigned sector,
const unsigned subsector,
const int bx)
49 std::vector<csctf::TrackStub>
result;
50 std::vector<csctf::TrackStub>::iterator LCT;
52 result =
_stubs.
get(endcap, station, sector, subsector, bx);
55 for (LCT = result.begin(); LCT != result.end(); LCT++) {
56 if ( !(LCT->getQuality() && LCT->isValid()) )
57 result.erase(LCT, LCT);
61 std::sort(result.begin(), result.end(), std::greater<csctf::TrackStub>());
69 for (LCT = result.begin(); LCT != result.end(); LCT++)
std::vector< T > get() const
void push_back(const T data)
void loadDigis(const CSCCorrelatedLCTDigiCollection &thedigis)
CSCTriggerContainer< csctf::TrackStub > _stubs
std::vector< DigiType >::const_iterator const_iterator
std::vector< csctf::TrackStub > sort(const unsigned endcap, const unsigned station, const unsigned sector, const unsigned subsector, const int bx)