CMS 3D CMS Logo

SeedGeneratorFromRegionHits.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHits_H
2 #define RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHits_H
3 
5 
9 
10 
11 #include <memory>
12 
13 class TrackingRegion;
14 
15 namespace edm { class Event; class EventSetup; }
16 
18 public:
19 
20  template <typename GEN>
22 
23  template <typename GEN, typename COMP>
24  SeedGeneratorFromRegionHits(GEN aGenerator, COMP aComparitor): SeedGeneratorFromRegionHits(std::move(aGenerator), std::move(aComparitor), nullptr) {}
25 
26  template <typename GEN, typename COMP, typename CREA>
27  SeedGeneratorFromRegionHits(GEN aGenerator, COMP aComparitor, CREA aSeedCreator):
28  theHitsGenerator{std::move(aGenerator)}, theComparitor{std::move(aComparitor)}, theSeedCreator{std::move(aSeedCreator)}
29  {}
30 
31 
32 
33  // make job
35  const edm::Event& ev, const edm::EventSetup& es);
36 
37 private:
38  std::unique_ptr<OrderedHitsGenerator> theHitsGenerator;
39  std::unique_ptr<SeedComparitor> theComparitor;
40  std::unique_ptr<SeedCreator> theSeedCreator;
41 };
42 #endif
#define nullptr
bool ev
std::unique_ptr< SeedComparitor > theComparitor
std::vector< TrajectorySeed > TrajectorySeedCollection
SeedGeneratorFromRegionHits(GEN aGenerator, COMP aComparitor, CREA aSeedCreator)
std::unique_ptr< SeedCreator > theSeedCreator
HLT enums.
SeedGeneratorFromRegionHits(GEN aGenerator, COMP aComparitor)
std::unique_ptr< OrderedHitsGenerator > theHitsGenerator
def move(src, dest)
Definition: eostools.py:511