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.
3 
5 
7 
8 void SeparatingTSG::trackerSeeds(const TrackCand & muonTrackCand, const TrackingRegion& region, std::vector<TrajectorySeed> & result){
9  unsigned int sel = selectTSG(muonTrackCand,region);
10  LogDebug(theCategory)<<"choosing: "<<theNames[sel]<<", at index ["<<sel<<"]";
11  if(theTSGs[sel]) {
12  std::vector<TrajectorySeed> tmpResult;
13  theTSGs[sel]->trackerSeeds(muonTrackCand,region,tmpResult);
14  result.insert(result.end(),tmpResult.begin(),tmpResult.end());
15  }
16 }
#define LogDebug(id)
std::pair< const Trajectory *, reco::TrackRef > TrackCand
std::string theCategory
Definition: SeparatingTSG.h:23
SeparatingTSG(const edm::ParameterSet &pset)
Definition: SeparatingTSG.cc:4
void trackerSeeds(const TrackCand &, const TrackingRegion &, BTSeedCollection &)
provides the seeds from the TSGs: must be overloaded
Definition: SeparatingTSG.cc:8
virtual unsigned int selectTSG(const TrackCand &, const TrackingRegion &)=0
tuple result
Definition: query.py:137
std::vector< TrackerSeedGenerator * > theTSGs
Definition: CompositeTSG.h:39
std::vector< std::string > theNames
Definition: CompositeTSG.h:40
virtual ~SeparatingTSG()
Definition: SeparatingTSG.cc:6