CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EnergyLossProducer.h
Go to the documentation of this file.
1 #ifndef EnergyLossProducer_H
2 #define EnergyLossProducer_H
3 
6 
7 
8 
9 namespace edm { class Run; class Event; class EventSetup; }
10 class TrackerGeometry;
11 
12 class TFile;
13 class TH2F;
14 
16 {
17 public:
18  explicit EnergyLossProducer(const edm::ParameterSet& ps);
20  virtual void produce(edm::Event& ev, const edm::EventSetup& es) override;
21 
22 private:
23  void beginRun(const edm::Run & run, const edm::EventSetup& es) override;
24  void endJob();
25 
29 
30  TFile * resultFile;
31  TH2F * hnor;
32 };
33 #endif
34 
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
const TrackerGeometry * theTracker
EnergyLossProducer(const edm::ParameterSet &ps)
virtual void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition: Run.h:36