CMS 3D CMS Logo

CSCTFCandidateBuilder.cc
Go to the documentation of this file.
2 
4 
6  std::vector<L1MuRegionalCand>* cands) const {
7  std::vector<L1MuRegionalCand> result;
8  CSCTriggerContainer<csc::L1Track> stripped_tracks;
9 
10  L1CSCTrackCollection::const_iterator tmp_trk = trks->begin();
11 
12  for (; tmp_trk != trks->end(); tmp_trk++) {
13  stripped_tracks.push_back(tmp_trk->first);
14  }
15 
16  result = m_muonsorter.run(stripped_tracks);
17 
18  cands->insert(cands->end(), result.begin(), result.end());
19 }
std::vector< L1MuRegionalCand > run(const CSCTriggerContainer< csc::L1Track > &) const
std::vector< L1CSCTrack > L1CSCTrackCollection
void push_back(const T &data)
CSCTFCandidateBuilder(const edm::ParameterSet &)
void buildCandidates(const L1CSCTrackCollection *, std::vector< L1MuRegionalCand > *) const