test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelTripletLargeTipGenerator.h
Go to the documentation of this file.
1 #ifndef PixelTripletLargeTipGenerator_H
2 #define PixelTripletLargeTipGenerator_H
3 
16 
17 #include <utility>
18 #include <vector>
19 
20 
22 
24 
25 public:
27 
29 
31  std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers) override;
32 
33  void init( const HitPairGenerator & pairs, LayerCacheType* layerCache) override;
34 
35  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
36  const edm::Event & ev, const edm::EventSetup& es);
37 
38  const HitPairGenerator & pairGenerator() const { return *thePairGenerator; }
39 
40 private:
41 
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 
47 private:
49  std::vector<SeedingLayerSetsHits::SeedingLayer> theLayers;
51 
55  bool useMScat;
56  bool useBend;
57  float dphi;
58 };
59 #endif
60 
61 
const HitPairGenerator & pairGenerator() const
CombinedHitTripletGenerator::LayerCacheType LayerCacheType
bool ev
void setSeedingLayers(SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers) override
bool checkPhiInRange(float phi, float phi1, float phi2) const
std::vector< SeedingLayerSetsHits::SeedingLayer > theLayers
PixelTripletLargeTipGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
void init(const HitPairGenerator &pairs, LayerCacheType *layerCache) override
virtual void hitTriplets(const TrackingRegion &region, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es)
std::pair< float, float > mergePhiRanges(const std::pair< float, float > &r1, const std::pair< float, float > &r2) const
list pairs
sort tag files by run number
Definition: DDAxes.h:10