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);
21 
22 private:
23  void beginRun(edm::Run & run, const edm::EventSetup& es);
24  void endJob();
25 
26  std::string trackProducer;
29 
30  TFile * resultFile;
31  TH2F * hnor;
32 };
33 #endif
34 
virtual void produce(edm::Event &ev, const edm::EventSetup &es)
const TrackerGeometry * theTracker
EnergyLossProducer(const edm::ParameterSet &ps)
void beginRun(edm::Run &run, const edm::EventSetup &es)
Definition: Run.h:31