CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiHitGeneratorFromChi2.h
Go to the documentation of this file.
1 #ifndef MultiHitGeneratorFromChi2_H
2 #define MultiHitGeneratorFromChi2_H
3 
17 
18 #include <utility>
19 #include <vector>
20 
21 
23 
25 
26 public:
28 
30 
31  void init( const HitPairGenerator & pairs, LayerCacheType* layerCache) override;
32 
34  std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers) override;
35 
36 
37  virtual void hitSets( const TrackingRegion& region, OrderedMultiHits & trs,
38  const edm::Event & ev, const edm::EventSetup& es);
39 
40  const HitPairGenerator & pairGenerator() const { return *thePairGenerator; }
41 
42 private:
43 
44  bool checkPhiInRange(float phi, float phi1, float phi2) const;
45  std::pair<float,float> mergePhiRanges(
46  const std::pair<float,float> &r1, const std::pair<float,float> &r2) const;
47 
48 
49 private:
51  std::vector<SeedingLayerSetsHits::SeedingLayer> theLayers;
54 
59  float dphi;
61  float nomField;
64  double maxChi2;
65  std::vector<double> pt_interv;
66  std::vector<double> chi2_cuts;
67  bool refitHits;
68  bool debug;
70  std::vector<int> detIdsToDebug;
73 };
74 #endif
75 
76 
std::pair< float, float > mergePhiRanges(const std::pair< float, float > &r1, const std::pair< float, float > &r2) const
const ClusterShapeHitFilter * filter
std::vector< SeedingLayerSetsHits::SeedingLayer > theLayers
void init(const HitPairGenerator &pairs, LayerCacheType *layerCache) override
void setSeedingLayers(SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers) override
MultiHitGeneratorFromChi2(const edm::ParameterSet &cfg)
CombinedMultiHitGenerator::LayerCacheType LayerCacheType
const HitPairGenerator & pairGenerator() const
bool checkPhiInRange(float phi, float phi1, float phi2) const
virtual void hitSets(const TrackingRegion &region, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es)
Definition: DDAxes.h:10