CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
65 
67  bool usePixel;
68  bool useStrip;
71 
72  unsigned int MaxNrStrips;
73 
76  bool shapetest;
77 
78  std::vector< std::vector<float> > calibGains;
79  unsigned int m_off;
80 };
81 
82 #endif
83 
DeDxEstimatorProducer(const edm::ParameterSet &)
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
std::vector< DeDxHit > DeDxHitCollection
Definition: DeDxHit.h:56
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:43