test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTFCandidateBuilder.cc
Go to the documentation of this file.
2 
4 {
5  m_muonsorter = new CSCTFMuonSorter(pset);
6 }
7 
9  std::vector<L1MuRegionalCand>* cands) const
10 {
11  std::vector<L1MuRegionalCand> result;
12  CSCTriggerContainer<csc::L1Track> stripped_tracks;
13 
14  L1CSCTrackCollection::const_iterator tmp_trk = trks->begin();
15 
16  for(; tmp_trk != trks->end(); tmp_trk++)
17  {
18  stripped_tracks.push_back(tmp_trk->first);
19  }
20 
21  result = m_muonsorter->run(stripped_tracks);
22 
23  cands->insert(cands->end(), result.begin(), result.end());
24 }
CSCTFMuonSorter * m_muonsorter
std::vector< L1CSCTrack > L1CSCTrackCollection
void push_back(const T &data)
tuple result
Definition: mps_fire.py:84
CSCTFCandidateBuilder(const edm::ParameterSet &)
void buildCandidates(const L1CSCTrackCollection *, std::vector< L1MuRegionalCand > *) const
std::vector< L1MuRegionalCand > run(const CSCTriggerContainer< csc::L1Track > &) const