CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SeparatingTSG.cc
Go to the documentation of this file.
4 
6 
8 
9 void SeparatingTSG::trackerSeeds(const TrackCand& muonTrackCand,
10  const TrackingRegion& region,
11  const TrackerTopology* tTopo,
12  std::vector<TrajectorySeed>& result) {
13  unsigned int sel = selectTSG(muonTrackCand, region);
14  LogDebug(theCategory) << "choosing: " << theNames[sel] << ", at index [" << sel << "]";
15  if (theTSGs[sel]) {
16  std::vector<TrajectorySeed> tmpResult;
17  theTSGs[sel]->trackerSeeds(muonTrackCand, region, tTopo, tmpResult);
18  result.insert(result.end(), tmpResult.begin(), tmpResult.end());
19  }
20 }
~SeparatingTSG() override
Definition: SeparatingTSG.cc:7
std::string theCategory
Definition: SeparatingTSG.h:27
std::pair< const Trajectory *, reco::TrackRef > TrackCand
tuple result
Definition: mps_fire.py:311
SeparatingTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition: SeparatingTSG.cc:5
virtual unsigned int selectTSG(const TrackCand &, const TrackingRegion &)=0
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:40
std::vector< std::unique_ptr< TrackerSeedGenerator > > theTSGs
Definition: CompositeTSG.h:39
#define LogDebug(id)