CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoMuon/TrackerSeedGenerator/plugins/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   unsigned int 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   }
00016 }