CMS 3D CMS Logo

PixelTripletHLTGenerator.h
Go to the documentation of this file.
1 #ifndef PixelTripletHLTGenerator_H
2 #define PixelTripletHLTGenerator_H
3 
14 
15 #include <utility>
16 #include <vector>
17 
18 class SeedComparitor;
19 
21 
23 
24 public:
27 
28  virtual ~PixelTripletHLTGenerator();
29 
31  static const char *fillDescriptionsLabel() { return "pixelTripletHLT"; }
32 
33  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
34  const edm::Event & ev, const edm::EventSetup& es,
35  const SeedingLayerSetsHits::SeedingLayerSet& pairLayers,
36  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) override;
37 
38  void hitTriplets(const TrackingRegion& region, OrderedHitTriplets& trs,
39  const edm::Event& ev, const edm::EventSetup& es,
40  const HitDoublets& doublets,
41  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers,
42  std::vector<int> *tripletLastLayerIndex,
43  LayerCacheType& layerCache);
44 
45  void hitTriplets(
46  const TrackingRegion& region,
48  const edm::EventSetup & es,
49  const HitDoublets & doublets,
50  const RecHitsSortedInPhi ** thirdHitMap,
51  const std::vector<const DetLayer *> & thirdLayerDetLayer,
52  const int nThirdLayers)override;
53 
54  void hitTriplets(const TrackingRegion& region, OrderedHitTriplets & result,
55  const edm::EventSetup & es,
56  const HitDoublets & doublets,
57  const RecHitsSortedInPhi ** thirdHitMap,
58  const std::vector<const DetLayer *> & thirdLayerDetLayer,
59  const int nThirdLayers,
60  std::vector<int> *tripletLastLayerIndex);
61 
62 private:
64  const float extraHitRZtolerance;
65  const float extraHitRPhitolerance;
66  const bool useMScat;
67  const bool useBend;
68  const float dphi;
69  std::unique_ptr<SeedComparitor> theComparitor;
70 
71 };
72 #endif
73 
74 
bool ev
std::unique_ptr< SeedComparitor > theComparitor
static void fillDescriptions(edm::ParameterSetDescription &desc)
virtual void hitTriplets(const TrackingRegion &region, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayerSet &pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers) override
PixelTripletHLTGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
CombinedHitTripletGenerator::LayerCacheType LayerCacheType
static const char * fillDescriptionsLabel()