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,
44  float trackMomentum,
45  float& cosine,
46  susybsm::HSCPDeDxInfo& hscpDeDxInfo,
47  LocalPoint HitLocalPos);
48 
49  // ----------member data ---------------------------
50 
53 
55  bool usePixel;
56  bool useStrip;
59 
60  unsigned int MaxNrStrips;
61  unsigned int MinTrackHits;
64  float MinTrackEta;
65  float MaxTrackEta;
67 
70  bool shapetest;
71 
72  std::vector<std::vector<float> > calibGains;
73  unsigned int m_off;
74 
78 };
79 
80 #endif
edm::EDGetTokenT< reco::TrackCollection > m_tracksTag
HSCPDeDxInfoProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< TrajTrackAssociationCollection > m_trajTrackAssociationTag
std::vector< std::vector< float > > calibGains
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)