CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelTripletHLTGenerator.h
Go to the documentation of this file.
1 #ifndef PixelTripletHLTGenerator_H
2 #define PixelTripletHLTGenerator_H
3 
16 
17 #include <utility>
18 #include <vector>
19 
20 class SeedComparitor;
21 
23 
25 
26 public:
28 
29  virtual ~PixelTripletHLTGenerator();
30 
32  std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers) override;
33 
34  void init( const HitPairGenerator & pairs, LayerCacheType* layerCache) override;
35 
36  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
37  const edm::Event & ev, const edm::EventSetup& es);
38 
39  const HitPairGenerator & pairGenerator() const { return *thePairGenerator; }
40 
41 private:
42  bool checkPhiInRange(float phi, float phi1, float phi2) const;
43  std::pair<float,float> mergePhiRanges(
44  const std::pair<float,float> &r1, const std::pair<float,float> &r2) const;
45 
46 private:
48  std::vector<SeedingLayerSetsHits::SeedingLayer> theLayers;
50 
54  bool useMScat;
55  bool useBend;
56  float dphi;
57  std::unique_ptr<SeedComparitor> theComparitor;
58 
59 };
60 #endif
61 
62 
std::vector< SeedingLayerSetsHits::SeedingLayer > theLayers
tuple cfg
Definition: looper.py:259
bool ev
std::pair< float, float > mergePhiRanges(const std::pair< float, float > &r1, const std::pair< float, float > &r2) const
std::unique_ptr< SeedComparitor > theComparitor
PixelTripletHLTGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
CombinedHitTripletGenerator::LayerCacheType LayerCacheType
void setSeedingLayers(SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers) override
const HitPairGenerator & pairGenerator() const
bool checkPhiInRange(float phi, float phi1, float phi2) const
list pairs
sort tag files by run number
void init(const HitPairGenerator &pairs, LayerCacheType *layerCache) override
virtual void hitTriplets(const TrackingRegion &region, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es)
Definition: DDAxes.h:10