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 
17 
18 #include <utility>
19 #include <vector>
20 
21 class SeedComparitor;
22 
24 
26 
27 public:
29 
30  virtual ~PixelTripletHLTGenerator();
31 
32  virtual void init( const HitPairGenerator & pairs,
33  const std::vector<ctfseeding::SeedingLayer> & layers, LayerCacheType* layerCache);
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  const std::vector<ctfseeding::SeedingLayer> & thirdLayers() const { return theLayers; }
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<ctfseeding::SeedingLayer> theLayers;
50 
54  bool useMScat;
55  bool useBend;
56  float dphi;
58 
59 };
60 #endif
61 
62 
std::vector< ctfseeding::SeedingLayer > theLayers
virtual void init(const HitPairGenerator &pairs, const std::vector< ctfseeding::SeedingLayer > &layers, LayerCacheType *layerCache)
std::pair< float, float > mergePhiRanges(const std::pair< float, float > &r1, const std::pair< float, float > &r2) const
const std::vector< ctfseeding::SeedingLayer > & thirdLayers() const
CombinedHitTripletGenerator::LayerCacheType LayerCacheType
PixelTripletHLTGenerator(const edm::ParameterSet &cfg)
const HitPairGenerator & pairGenerator() 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)
Definition: DDAxes.h:10