CMS 3D CMS Logo

SeparatingTSG.cc

Go to the documentation of this file.
00001 #include "RecoMuon/TrackerSeedGenerator/plugins/SeparatingTSG.h"
00002 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00003 
00004 SeparatingTSG::SeparatingTSG(const edm::ParameterSet &pset):CompositeTSG(pset){}
00005 
00006 SeparatingTSG::~SeparatingTSG(){}
00007 
00008 void SeparatingTSG::trackerSeeds(const TrackCand & muonTrackCand, const TrackingRegion& region, std::vector<TrajectorySeed> & result){
00009   uint sel = selectTSG(muonTrackCand,region);
00010   LogDebug(theCategory)<<"choosing: "<<theNames[sel]<<", at index ["<<sel<<"]";
00011   if(theTSGs[sel]) {
00012     std::vector<TrajectorySeed>  tmpResult;
00013     theTSGs[sel]->trackerSeeds(muonTrackCand,region,tmpResult);
00014     result.insert(result.end(),tmpResult.begin(),tmpResult.end());
00015     if(theHistos[sel]) theHistos[sel]->Fill(tmpResult.size());
00016   }
00017 }

Generated on Tue Jun 9 17:44:33 2009 for CMSSW by  doxygen 1.5.4