test
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 
37  static const char *fillDescriptionsLabel() { return "multiHitFromChi2"; }
38 
39 
40  void initES(const edm::EventSetup& es) override;
41 
42  virtual void hitSets( const TrackingRegion& region, OrderedMultiHits & trs,
43  const edm::Event & ev, const edm::EventSetup& es,
45  std::vector<SeedingLayerSetsHits::SeedingLayer> thirdLayers) override;
46 
48  const edm::Event& ev, const edm::EventSetup& es,
49  const HitDoublets& doublets,
50  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers,
51  LayerCacheType& layerCache,
52  cacheHits& refittedHitStorage);
53 
54  void hitTriplets(
55  const TrackingRegion& region,
57  const edm::EventSetup & es,
58  const HitDoublets & doublets,
59  const RecHitsSortedInPhi ** thirdHitMap,
60  const std::vector<const DetLayer *> & thirdLayerDetLayer,
61  const int nThirdLayers)override;
62 
64  const edm::EventSetup& es,
65  const HitDoublets& doublets,
66  const RecHitsSortedInPhi **thirdHitMap,
67  const std::vector<const DetLayer *>& thirdLayerDetLayer,
68  const int nThirdLayers,
69  cacheHits& refittedHitStorage);
70 private:
72 
73  void refit2Hits(HitOwnPtr & hit0,
74  HitOwnPtr & hit1,
77  const TrackingRegion& region, float nomField, bool isDebug);
78  /*
79  void refit3Hits(HitOwnPtr & hit0,
80  HitOwnPtr & hit1,
81  HitOwnPtr & hit2,
82  TrajectoryStateOnSurface& tsos0,
83  TrajectoryStateOnSurface& tsos1,
84  TrajectoryStateOnSurface& tsos2,
85  float nomField, bool isDebug);
86  */
87 private:
91 
95  float extraZKDBox;
96  float extraRKDBox;
98  float dphi;
100  float nomField;
103  double maxChi2;
104  std::vector<double> pt_interv;
105  std::vector<double> chi2_cuts;
106  bool refitHits;
109 
112 
113  std::vector<int> detIdsToDebug;
114 
115 
116 
117 };
118 #endif
119 
120 
#define dso_hidden
tuple cfg
Definition: looper.py:293
TkTransientTrackingRecHitBuilder const * builder
const ClusterShapeHitFilter * filter
bool ev
tuple result
Definition: mps_fire.py:84
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 char * fillDescriptionsLabel()
virtual void hitTriplets(const TrackingRegion &region, OrderedMultiHits &result, const edm::EventSetup &es, const HitDoublets &doublets, const RecHitsSortedInPhi **thirdHitMap, const std::vector< const DetLayer * > &thirdLayerDetLayer, const int nThirdLayers)=0
static void fillDescriptions(edm::ParameterSetDescription &desc)