CMS 3D CMS Logo

CSCTFCandidateBuilder Class Reference

Author:
L.
More...

#include <L1Trigger/CSCTrackFinder/src/CSCTFCandidateBuilder.h>

List of all members.

Public Member Functions

void buildCandidates (const L1CSCTrackCollection *, std::vector< L1MuRegionalCand > *) const
 CSCTFCandidateBuilder (const edm::ParameterSet &)
 ~CSCTFCandidateBuilder ()

Private Attributes

CSCTFMuonSorterm_muonsorter


Detailed Description

Author:
L.

Gray (UF)

Takes sorts csc::L1Tracks and turns them into L1MuRegionalCands

Definition at line 18 of file CSCTFCandidateBuilder.h.


Constructor & Destructor Documentation

CSCTFCandidateBuilder::CSCTFCandidateBuilder ( const edm::ParameterSet pset  ) 

Definition at line 3 of file CSCTFCandidateBuilder.cc.

References m_muonsorter.

00004 {
00005   m_muonsorter = new CSCTFMuonSorter(pset);
00006 }

CSCTFCandidateBuilder::~CSCTFCandidateBuilder (  )  [inline]

Definition at line 22 of file CSCTFCandidateBuilder.h.

References m_muonsorter, and NULL.

00022 { delete m_muonsorter; m_muonsorter = NULL; }


Member Function Documentation

void CSCTFCandidateBuilder::buildCandidates ( const L1CSCTrackCollection trks,
std::vector< L1MuRegionalCand > *  cands 
) const

Definition at line 8 of file CSCTFCandidateBuilder.cc.

References m_muonsorter, CSCTriggerContainer< T >::push_back(), HLT_VtxMuL3::result, and CSCTFMuonSorter::run().

Referenced by CSCTFCandidateProducer::produce().

00010 {
00011   std::vector<L1MuRegionalCand> result;
00012   CSCTriggerContainer<csc::L1Track> stripped_tracks;
00013   
00014   L1CSCTrackCollection::const_iterator tmp_trk = trks->begin();
00015 
00016   for(; tmp_trk != trks->end(); tmp_trk++)
00017     {
00018       stripped_tracks.push_back(tmp_trk->first);
00019     }
00020 
00021   result = m_muonsorter->run(stripped_tracks);
00022 
00023   cands->insert(cands->end(), result.begin(), result.end());
00024 }


Member Data Documentation

CSCTFMuonSorter* CSCTFCandidateBuilder::m_muonsorter [private]

Definition at line 28 of file CSCTFCandidateBuilder.h.

Referenced by buildCandidates(), CSCTFCandidateBuilder(), and ~CSCTFCandidateBuilder().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:29 2009 for CMSSW by  doxygen 1.5.4