test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &)
provides the seeds from the TSGs: must be overloaded
Definition: SeparatingTSG.cc:9
std::pair< const Trajectory *, reco::TrackRef > TrackCand
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
tuple result
Definition: query.py:137
std::vector< TrackerSeedGenerator * > theTSGs
Definition: CompositeTSG.h:41
std::vector< std::string > theNames
Definition: CompositeTSG.h:42
virtual ~SeparatingTSG()
Definition: SeparatingTSG.cc:7