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 
36 
37 
39 
42 
43 
44 //
45 // class declaration
46 //
47 
49 public:
51  ~DeDxEstimatorProducer() override;
52  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
53 
54 private:
55  void beginRun(edm::Run const& run, const edm::EventSetup&) override;
56  void produce(edm::Event&, const edm::EventSetup&) override;
57 
59  void processHit(const TrackingRecHit * recHit, float trackMomentum, float& cosine, reco::DeDxHitCollection& dedxHits, int& NClusterSaturating);
60 
61  // ----------member data ---------------------------
63 
65 
66  bool usePixel;
67  bool useStrip;
70 
71  unsigned int MaxNrStrips;
72 
75  bool shapetest;
76 
77  std::vector< std::vector<float> > calibGains;
78  unsigned int m_off;
79 
81 };
82 
83 #endif
84 
DeDxEstimatorProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
std::vector< DeDxHit > DeDxHitCollection
Definition: DeDxHit.h:58
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
edm::ESHandle< TrackerGeometry > tkGeom
void produce(edm::Event &, const edm::EventSetup &) override
void makeCalibrationMap(const TrackerGeometry &tkGeom)
Definition: Run.h:42