Calibration
HcalCalibAlgos
plugins
HitReCalibrator.h
Go to the documentation of this file.
1
#ifndef HitReCalibrator_h
2
#define HitReCalibrator_h
3
4
// -*- C++ -*-
5
6
// system include files
7
#include <memory>
8
#include <string>
9
// user include files
10
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
11
#include "
FWCore/Framework/interface/EDProducer.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/Framework/interface/MakerMacros.h
"
14
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
17
#include "
DataFormats/Common/interface/Ref.h
"
18
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
19
#include "
DataFormats/DetId/interface/DetId.h
"
20
21
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
22
#include "
CondFormats/HcalObjects/interface/HcalRespCorrs.h
"
23
#include "
CondFormats/DataRecord/interface/HcalRespCorrsRcd.h
"
24
25
//
26
// class declaration
27
//
28
namespace
edm
{
29
class
ParameterSet
;
30
class
Event
;
31
class
EventSetup
;
32
}
// namespace edm
33
34
namespace
cms
{
35
36
class
HitReCalibrator
:
public
edm::EDProducer
{
37
public
:
38
explicit
HitReCalibrator
(
const
edm::ParameterSet
&);
39
~HitReCalibrator
()
override
;
40
41
void
beginJob
()
override
;
42
43
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
44
45
private
:
46
// ----------member data ---------------------------
47
48
bool
allowMissingInputs_
;
49
50
edm::EDGetTokenT<HBHERecHitCollection>
tok_hbhe_
;
51
edm::EDGetTokenT<HORecHitCollection>
tok_ho_
;
52
edm::EDGetTokenT<HFRecHitCollection>
tok_hf_
;
53
54
edm::ESGetToken<HcalRespCorrs, HcalRespCorrsRcd>
tok_resp_
;
55
};
56
}
// end namespace cms
57
#endif
cms::HitReCalibrator::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HitReCalibrator.cc:31
HcalRespCorrsRcd.h
cms::HitReCalibrator::beginJob
void beginJob() override
Definition:
HitReCalibrator.cc:26
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
cms::HitReCalibrator::tok_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition:
HitReCalibrator.h:50
cms::HitReCalibrator::tok_resp_
edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcd > tok_resp_
Definition:
HitReCalibrator.h:54
cms::HitReCalibrator::HitReCalibrator
HitReCalibrator(const edm::ParameterSet &)
Definition:
HitReCalibrator.cc:13
MakerMacros.h
cms::HitReCalibrator::allowMissingInputs_
bool allowMissingInputs_
Definition:
HitReCalibrator.h:48
Event
cms::HitReCalibrator::tok_hf_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
Definition:
HitReCalibrator.h:52
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ParameterSet
Definition:
Functions.h:16
edm::EventSetup
Definition:
EventSetup.h:58
HcalRespCorrs.h
cms::HitReCalibrator::~HitReCalibrator
~HitReCalibrator() override
Definition:
HitReCalibrator.cc:28
edm::ESGetToken< HcalRespCorrs, HcalRespCorrsRcd >
cms::HitReCalibrator::tok_ho_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
Definition:
HitReCalibrator.h:51
CaloTowerCollection.h
Ref.h
DetId.h
Frameworkfwd.h
EventSetup.h
edm::EDProducer
Definition:
EDProducer.h:35
HcalRecHitCollections.h
cms::HitReCalibrator
Definition:
HitReCalibrator.h:36
EventSetup
ParameterSet.h
edm::Event
Definition:
Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
Generated for CMSSW Reference Manual by
1.8.16