CMS 3D CMS Logo

HSCPDeDxInfoProducer.h
Go to the documentation of this file.
1 #ifndef TrackRecoDeDx_HSCPDeDxInfoProducer_H
2 #define TrackRecoDeDx_HSCPDeDxInfoProducer_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 HSCPDeDxInfoProducer(const edm::ParameterSet&);
36  ~HSCPDeDxInfoProducer() override;
37 
38 private:
39  void beginRun(edm::Run const& run, const edm::EventSetup&) override;
40  void produce(edm::Event&, const edm::EventSetup&) override;
41 
42  void makeCalibrationMap(const TrackerGeometry& tkGeom);
43  void processHit(const TrackingRecHit* recHit, float trackMomentum, float& cosine, susybsm::HSCPDeDxInfo& hscpDeDxInfo, LocalPoint HitLocalPos);
44 
45  // ----------member data ---------------------------
46 
49 
51  bool usePixel;
52  bool useStrip;
55 
56  unsigned int MaxNrStrips;
57  unsigned int MinTrackHits;
60  float MinTrackEta;
61  float MaxTrackEta;
63 
66  bool shapetest;
67 
68  std::vector< std::vector<float> > calibGains;
69  unsigned int m_off;
70 
74 };
75 
76 #endif
77 
std::vector< std::vector< float > > calibGains
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
HSCPDeDxInfoProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
void makeCalibrationMap(const TrackerGeometry &tkGeom)
Definition: Run.h:45
void beginRun(edm::Run const &run, const edm::EventSetup &) override
void processHit(const TrackingRecHit *recHit, float trackMomentum, float &cosine, susybsm::HSCPDeDxInfo &hscpDeDxInfo, LocalPoint HitLocalPos)