CMS 3D CMS Logo

DeDxEstimatorProducer.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_DeDxEstimatorProducer_H
2 #define TrackRecoDeDx_DeDxEstimatorProducer_H
3 // user include files
4 
5 #include <memory>
6 
13 
18 
24 
25 
35 
36 
38 
41 
42 
43 //
44 // class declaration
45 //
46 
48 public:
51  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
52 
53 private:
54  virtual void beginRun(edm::Run const& run, const edm::EventSetup&) override;
55  virtual void produce(edm::Event&, const edm::EventSetup&) override;
56 
57  void makeCalibrationMap(const TrackerGeometry& tkGeom);
58  void processHit(const TrackingRecHit * recHit, float trackMomentum, float& cosine, reco::DeDxHitCollection& dedxHits, int& NClusterSaturating);
59 
60  // ----------member data ---------------------------
62 
64 
65  bool usePixel;
66  bool useStrip;
69 
70  unsigned int MaxNrStrips;
71 
74  bool shapetest;
75 
76  std::vector< std::vector<float> > calibGains;
77  unsigned int m_off;
78 };
79 
80 #endif
81 
DeDxEstimatorProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
std::vector< DeDxHit > DeDxHitCollection
Definition: DeDxHit.h:58
virtual void beginRun(edm::Run const &run, const edm::EventSetup &) override
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, reco::DeDxHitCollection &dedxHits, int &NClusterSaturating)
std::vector< std::vector< float > > calibGains
BaseDeDxEstimator * m_estimator
virtual void produce(edm::Event &, const edm::EventSetup &) override
void makeCalibrationMap(const TrackerGeometry &tkGeom)
Definition: Run.h:42