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 
20 
21 
22 #include <utility>
23 #include <vector>
24 
26 
28 
30 
31 public:
33 
34  virtual ~MultiHitGeneratorFromChi2();
35 
36  void initES(const edm::EventSetup& es) override;
37 
38  virtual void hitSets( const TrackingRegion& region, OrderedMultiHits & trs,
39  const edm::Event & ev, const edm::EventSetup& es,
41  std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers);
42 
43 private:
45 
46  bool checkPhiInRange(float phi, float phi1, float phi2) const;
47  std::pair<float,float> mergePhiRanges(
48  const std::pair<float,float> &r1, const std::pair<float,float> &r2) const;
49 
50  void refit2Hits(HitOwnPtr & hit0,
51  HitOwnPtr & hit1,
54  const TrackingRegion& region, float nomField, bool isDebug);
55  /*
56  void refit3Hits(HitOwnPtr & hit0,
57  HitOwnPtr & hit1,
58  HitOwnPtr & hit2,
59  TrajectoryStateOnSurface& tsos0,
60  TrajectoryStateOnSurface& tsos1,
61  TrajectoryStateOnSurface& tsos2,
62  float nomField, bool isDebug);
63  */
64 private:
68 
72  float extraZKDBox;
73  float extraRKDBox;
75  float dphi;
77  float nomField;
80  double maxChi2;
81  std::vector<double> pt_interv;
82  std::vector<double> chi2_cuts;
83  bool refitHits;
86 
89 
90  std::vector<int> detIdsToDebug;
91 
92 
93 
94 };
95 #endif
96 
97 
#define dso_hidden
tuple cfg
Definition: looper.py:293
TkTransientTrackingRecHitBuilder const * builder
const ClusterShapeHitFilter * filter
bool ev
virtual void initES(const edm::EventSetup &es)=0
CombinedMultiHitGenerator::LayerCacheType LayerCacheType
virtual void hitSets(const TrackingRegion &region, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers)=0
static const float fnSigmaRZ