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