CMS 3D CMS Logo

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::~SeparatingTSG
~SeparatingTSG() override
Definition: SeparatingTSG.cc:7
TrackerSeedGenerator::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: TrackerSeedGenerator.h:30
MessageLogger.h
TrackerTopology
Definition: TrackerTopology.h:16
SeparatingTSG::selectTSG
virtual unsigned int selectTSG(const TrackCand &, const TrackingRegion &)=0
TrackerTopology.h
CompositeTSG::theNames
std::vector< std::string > theNames
Definition: CompositeTSG.h:40
SeparatingTSG::theCategory
std::string theCategory
Definition: SeparatingTSG.h:27
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
edm::ParameterSet
Definition: ParameterSet.h:47
SeparatingTSG::trackerSeeds
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override
provides the seeds from the TSGs: must be overloaded
Definition: SeparatingTSG.cc:9
CompositeTSG::theTSGs
std::vector< std::unique_ptr< TrackerSeedGenerator > > theTSGs
Definition: CompositeTSG.h:39
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88272
CompositeTSG
Definition: CompositeTSG.h:21
SeparatingTSG.h
TrackingRegion
Definition: TrackingRegion.h:41
mps_fire.result
result
Definition: mps_fire.py:311
SeparatingTSG::SeparatingTSG
SeparatingTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition: SeparatingTSG.cc:5
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27