RecoLocalCalo
CaloTowersCreator
src
CaloTowerCandidateCreator.h
Go to the documentation of this file.
1
#ifndef CaloTowersCreator_CaloTowerCandidateCreator_h
2
#define CaloTowersCreator_CaloTowerCandidateCreator_h
3
14
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include "
DataFormats/CaloTowers/interface/CaloTower.h
"
17
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
18
#include <string>
19
20
class
CaloTowerCandidateCreator
:
public
edm::stream::EDProducer
<> {
21
public
:
23
CaloTowerCandidateCreator
(
const
edm::ParameterSet
&);
25
~CaloTowerCandidateCreator
()
override
;
26
27
private
:
29
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&)
override
;
31
int
mVerbose
;
33
edm::EDGetTokenT<CaloTowerCollection>
tok_src_
;
35
double
mEtThreshold
;
37
double
mEThreshold
;
38
};
39
40
#endif
CaloTower.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EDProducer.h
CaloTowerCandidateCreator::mEtThreshold
double mEtThreshold
ET threshold.
Definition:
CaloTowerCandidateCreator.h:35
CaloTowerCandidateCreator::produce
void produce(edm::Event &e, const edm::EventSetup &) override
process one event
Definition:
CaloTowerCandidateCreator.cc:25
CaloTowerCandidateCreator::~CaloTowerCandidateCreator
~CaloTowerCandidateCreator() override
destructor
Definition:
CaloTowerCandidateCreator.cc:23
CaloTowerCandidateCreator::CaloTowerCandidateCreator
CaloTowerCandidateCreator(const edm::ParameterSet &)
constructor from parameter set
Definition:
CaloTowerCandidateCreator.cc:14
CaloTowerCandidateCreator::mVerbose
int mVerbose
verbosity
Definition:
CaloTowerCandidateCreator.h:31
edm::ParameterSet
Definition:
ParameterSet.h:47
CaloTowerCandidateCreator
Definition:
CaloTowerCandidateCreator.h:20
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
CaloTowerCollection.h
CaloTowerCandidateCreator::mEThreshold
double mEThreshold
E threshold.
Definition:
CaloTowerCandidateCreator.h:37
ParameterSet.h
edm::Event
Definition:
Event.h:73
CaloTowerCandidateCreator::tok_src_
edm::EDGetTokenT< CaloTowerCollection > tok_src_
token of source collection
Definition:
CaloTowerCandidateCreator.h:33
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16