CMS 3D CMS Logo

CompositeTSG.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedGenerator_CompositeTSG_H
2 #define RecoMuon_TrackerSeedGenerator_CompositeTSG_H
3 
16 
17 class TrackingRegion;
18 class MuonServiceProxy;
19 class TrackerTopology;
20 
22 public:
23  typedef std::vector<TrajectorySeed> BTSeedCollection;
24  typedef std::pair<const Trajectory *, reco::TrackRef> TrackCand;
25 
27  ~CompositeTSG() override;
28 
30  void init(const MuonServiceProxy *service) override;
32  void setEvent(const edm::Event &event) override;
33 
35  void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override = 0;
36 
37 protected:
38  unsigned int nTSGs() { return theTSGs.size(); }
39  std::vector<std::unique_ptr<TrackerSeedGenerator>> theTSGs;
40  std::vector<std::string> theNames;
42 
44 };
45 
46 #endif
~CompositeTSG() override
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: CompositeTSG.h:24
CompositeTSG(const edm::ParameterSet &pset, edm::ConsumesCollector &IC)
Definition: CompositeTSG.cc:7
void init(const MuonServiceProxy *service) override
initialized the TSGs
Definition: CompositeTSG.cc:28
std::vector< TrajectorySeed > BTSeedCollection
Definition: CompositeTSG.h:23
std::string theCategory
Definition: CompositeTSG.h:41
void setEvent(const edm::Event &event) override
set the event to the TSGs
Definition: CompositeTSG.cc:36
const MuonServiceProxy * theProxyService
Definition: CompositeTSG.h:43
unsigned int nTSGs()
Definition: CompositeTSG.h:38
std::vector< std::string > theNames
Definition: CompositeTSG.h:40
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &) override=0
provides the seeds from the TSGs: must be overloaded
std::vector< std::unique_ptr< TrackerSeedGenerator > > theTSGs
Definition: CompositeTSG.h:39
Definition: event.py:1