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 
17 
18 #include <utility>
19 #include <vector>
20 
21 
23 
25 
26 public:
28 
30 
31  virtual void init( const HitPairGenerator & pairs,
32  const std::vector<ctfseeding::SeedingLayer> & layers, LayerCacheType* layerCache);
33 
34  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
35  const edm::Event & ev, const edm::EventSetup& es);
36 
37  const HitPairGenerator & pairGenerator() const { return *thePairGenerator; }
38  const std::vector<ctfseeding::SeedingLayer> & thirdLayers() const { return theLayers; }
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<ctfseeding::SeedingLayer> theLayers;
51 
55  bool useMScat;
56  bool useBend;
57  float dphi;
58 };
59 #endif
60 
61 
const HitPairGenerator & pairGenerator() const
CombinedHitTripletGenerator::LayerCacheType LayerCacheType
const std::vector< ctfseeding::SeedingLayer > & thirdLayers() const
bool checkPhiInRange(float phi, float phi1, float phi2) const
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
std::vector< ctfseeding::SeedingLayer > theLayers
PixelTripletLargeTipGenerator(const edm::ParameterSet &cfg)
virtual void init(const HitPairGenerator &pairs, const std::vector< ctfseeding::SeedingLayer > &layers, LayerCacheType *layerCache)
Definition: DDAxes.h:10