CMS 3D CMS Logo

CaloTowersExample.h
Go to the documentation of this file.
1 #ifndef RecoExamples_CaloTowersExample_h
2 #define RecoExamples_CaloTowersExample_h
3 #include <TH1.h>
4 /* \class CaloTowersExample
5  *
6  * \author Robert Harris
7  *
8  * \version 1
9  *
10  */
12 
13 class TFile;
14 
16 public:
18 
19 private:
20  void beginJob() override;
21  void analyze(const edm::Event&, const edm::EventSetup&) override;
22  void endJob() override;
24  TH1F h_et;
25  TFile* m_file;
26 };
27 
28 #endif
CaloTowersExample::CaloTowersExample
CaloTowersExample(const edm::ParameterSet &)
Definition: CaloTowersExample.cc:20
CaloTowersExample::beginJob
void beginJob() override
Definition: CaloTowersExample.cc:23
EDAnalyzer.h
CaloTowersExample
Definition: CaloTowersExample.h:15
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
CaloTowersExample::h_et
TH1F h_et
Definition: CaloTowersExample.h:24
CaloTowersExample::endJob
void endJob() override
Definition: CaloTowersExample.cc:40
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
CaloTowersExample::m_file
TFile * m_file
Definition: CaloTowersExample.h:25
edm::EventSetup
Definition: EventSetup.h:58
CaloTowersExample::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: CaloTowersExample.cc:29
edm::Event
Definition: Event.h:73
CaloTowersExample::CaloTowersAlgorithm
std::string CaloTowersAlgorithm
Definition: CaloTowersExample.h:23