CMS 3D CMS Logo

HitTripletGeneratorFromPairAndLayers.h
Go to the documentation of this file.
1 #ifndef HitTripletGeneratorFromPairAndLayers_H
2 #define HitTripletGeneratorFromPairAndLayers_H
3 
11 #include <vector>
14 
15 namespace edm { class ParameterSet; class Event; class EventSetup; class ConsumesCollector; class ParameterSetDescription;}
16 class TrackingRegion;
18 
20 
21 public:
23 
24  explicit HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0);
27 
28  static void fillDescriptions(edm::ParameterSetDescription& desc);
29 
30  void init( std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairs, LayerCacheType* layerCache);
31 
32  const HitPairGeneratorFromLayerPair& pairGenerator() const { return *thePairGenerator; }
33 
34  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
35  const edm::Event & ev, const edm::EventSetup& es,
36  const SeedingLayerSetsHits::SeedingLayerSet& pairLayers,
37  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) = 0;
38 
39  virtual void hitTriplets(
40  const TrackingRegion& region,
42  const edm::EventSetup & es,
43  const HitDoublets & doublets,
44  const RecHitsSortedInPhi ** thirdHitMap,
45  const std::vector<const DetLayer *> & thirdLayerDetLayer,
46  const int nThirdLayers)=0;
47 
48 protected:
49  std::unique_ptr<HitPairGeneratorFromLayerPair> thePairGenerator;
50  LayerCacheType *theLayerCache;
51  const unsigned int theMaxElement;
52 };
53 #endif
54 
55 
int init
Definition: HydjetWrapper.h:67
bool ev
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
HLT enums.
const HitPairGeneratorFromLayerPair & pairGenerator() const