CMS 3D CMS Logo

SeparatingTSG.cc
Go to the documentation of this file.
4 
6 
8 
9 void SeparatingTSG::trackerSeeds(const TrackCand & muonTrackCand, const TrackingRegion& region, const TrackerTopology *tTopo,
10  std::vector<TrajectorySeed> & result){
11  unsigned int sel = selectTSG(muonTrackCand,region);
12  LogDebug(theCategory)<<"choosing: "<<theNames[sel]<<", at index ["<<sel<<"]";
13  if(theTSGs[sel]) {
14  std::vector<TrajectorySeed> tmpResult;
15  theTSGs[sel]->trackerSeeds(muonTrackCand,region,tTopo,tmpResult);
16  result.insert(result.end(),tmpResult.begin(),tmpResult.end());
17  }
18 }
#define LogDebug(id)
std::pair< const Trajectory *, reco::TrackRef > TrackCand
~SeparatingTSG() override
Definition: SeparatingTSG.cc:7
std::string theCategory
Definition: SeparatingTSG.h:26
SeparatingTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition: SeparatingTSG.cc:5
virtual unsigned int selectTSG(const TrackCand &, const TrackingRegion &)=0
std::vector< TrackerSeedGenerator * > theTSGs
Definition: CompositeTSG.h:41
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override
provides the seeds from the TSGs: must be overloaded
Definition: SeparatingTSG.cc:9
std::vector< std::string > theNames
Definition: CompositeTSG.h:42