CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DeDxHitInfoProducer.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_DeDxHitInfoProducer_H
2 #define TrackRecoDeDx_DeDxHitInfoProducer_H
3 // user include files
4 
5 #include <memory>
6 
13 
17 
23 
26 
28 
29 //
30 // class declaration
31 //
32 
34 public:
35  explicit DeDxHitInfoProducer(const edm::ParameterSet&);
37 
38 private:
39  virtual void beginRun(edm::Run const& run, const edm::EventSetup&) override;
40  virtual void produce(edm::Event&, const edm::EventSetup&) override;
41 
42  void makeCalibrationMap(const TrackerGeometry& tkGeom);
43  void processHit(const TrackingRecHit* recHit, const float trackMomentum, const float cosine, reco::DeDxHitInfo& hitDeDxInfo, const LocalPoint& hitLocalPos);
44 
45  // ----------member data ---------------------------
46 
49 
50  const bool useTrajectory;
51  const bool usePixel;
52  const bool useStrip;
53  const float MeVperADCPixel;
54  const float MeVperADCStrip;
55 
56  const unsigned int minTrackHits;
57  const float minTrackPt;
58  const float maxTrackEta;
59 
61  const bool useCalibration;
62  const bool shapetest;
63 
64  std::vector< std::vector<float> > calibGains;
65  unsigned int m_off;
66 };
67 
68 #endif
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
std::vector< std::vector< float > > calibGains
virtual void produce(edm::Event &, const edm::EventSetup &) override
DeDxHitInfoProducer(const edm::ParameterSet &)
void processHit(const TrackingRecHit *recHit, const float trackMomentum, const float cosine, reco::DeDxHitInfo &hitDeDxInfo, const LocalPoint &hitLocalPos)
const std::string m_calibrationPath
const unsigned int minTrackHits
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
virtual void beginRun(edm::Run const &run, const edm::EventSetup &) override
Definition: Run.h:43
void makeCalibrationMap(const TrackerGeometry &tkGeom)