RecoJets
JetAnalyzers
interface
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
*/
11
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
12
13
class
TFile;
14
15
class
CaloTowersExample
:
public
edm::EDAnalyzer
{
16
public
:
17
CaloTowersExample
(
const
edm::ParameterSet
&);
18
19
private
:
20
void
beginJob
()
override
;
21
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
22
void
endJob
()
override
;
23
std::string
CaloTowersAlgorithm
;
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:29
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:36
CaloTowersExample::m_file
TFile * m_file
Definition:
CaloTowersExample.h:25
edm::EventSetup
Definition:
EventSetup.h:57
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
Generated for CMSSW Reference Manual by
1.8.16