CMS 3D CMS Logo

CombinedTSG.cc
Go to the documentation of this file.
4 
5 #include <map>
6 #include <vector>
7 
8 //constructor
10  theCategory = "CombinedTSG";
11 }
12 
13 //destructor
15  //
16 }
17 
18 void CombinedTSG::trackerSeeds(const TrackCand& muonTrackCand,
19  const TrackingRegion& region,
20  const TrackerTopology* tTopo,
21  std::vector<TrajectorySeed>& result) {
22  //run all the seed generators registered
23 
24  for (unsigned int iTSG = 0; iTSG != theTSGs.size(); iTSG++) {
25  if (theTSGs[iTSG]) {
26  std::vector<TrajectorySeed> tmpResult;
27  theTSGs[iTSG]->trackerSeeds(muonTrackCand, region, tTopo, tmpResult);
28  //vector of seeds
29  result.insert(result.end(), tmpResult.begin(), tmpResult.end());
30  }
31  }
32 }
TrackerSeedGenerator::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: TrackerSeedGenerator.h:30
CombinedTSG::~CombinedTSG
~CombinedTSG() override
Definition: CombinedTSG.cc:14
MessageLogger.h
TrackerTopology
Definition: TrackerTopology.h:16
CombinedTSG.h
TrackerTopology.h
edm::ParameterSet
Definition: ParameterSet.h:47
CombinedTSG::trackerSeeds
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override
provide the seeds from the TSGs: must be overloaded
Definition: CombinedTSG.cc:18
CompositeTSG::theTSGs
std::vector< std::unique_ptr< TrackerSeedGenerator > > theTSGs
Definition: CompositeTSG.h:39
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88272
CombinedTSG::theCategory
std::string theCategory
Definition: CombinedTSG.h:25
CombinedTSG::CombinedTSG
CombinedTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
Definition: CombinedTSG.cc:9
CompositeTSG
Definition: CompositeTSG.h:21
TrackingRegion
Definition: TrackingRegion.h:41
mps_fire.result
result
Definition: mps_fire.py:311
edm::ConsumesCollector
Definition: ConsumesCollector.h:45