RecoLocalCalo
CastorReco
plugins
CastorSimpleReconstructor.h
Go to the documentation of this file.
1
#ifndef CASTORSIMPLERECONSTRUCTOR_H
2
#define CASTORSIMPLERECONSTRUCTOR_H 1
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
DataFormats/Common/interface/Handle.h
"
7
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
8
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
FWCore/Utilities/interface/ESGetToken.h
"
12
13
#include "
RecoLocalCalo/CastorReco/interface/CastorSimpleRecAlgo.h
"
14
#include "
CalibFormats/CastorObjects/interface/CastorDbService.h
"
15
#include "
CalibFormats/CastorObjects/interface/CastorDbRecord.h
"
16
#include "
CondFormats/DataRecord/interface/CastorRecoParamsRcd.h
"
17
#include "
CondFormats/CastorObjects/interface/CastorRecoParams.h
"
18
#include "
CondFormats/DataRecord/interface/CastorSaturationCorrsRcd.h
"
19
#include "
CondFormats/CastorObjects/interface/CastorSaturationCorrs.h
"
20
21
class
CastorSimpleReconstructor
:
public
edm::stream::EDProducer
<> {
22
public
:
23
explicit
CastorSimpleReconstructor
(
const
edm::ParameterSet
& ps);
24
~CastorSimpleReconstructor
()
override
;
25
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
26
27
private
:
28
CastorSimpleRecAlgo
reco_
;
29
DetId::Detector
det_
;
30
int
subdet_
;
31
// HcalOtherSubdetector subdetOther_;
32
edm::EDGetTokenT<CastorDigiCollection>
tok_input_
;
33
edm::ESGetToken<CastorDbService, CastorDbRecord>
tok_conditions_
;
34
edm::ESGetToken<CastorRecoParams, CastorRecoParamsRcd>
tok_recoParams_
;
35
edm::ESGetToken<CastorSaturationCorrs, CastorSaturationCorrsRcd>
tok_satCorr_
;
36
37
int
firstSample_
;
38
int
samplesToAdd_
;
39
int
maxADCvalue_
;
40
bool
tsFromDB_
;
41
bool
setSaturationFlag_
;
42
bool
doSaturationCorr_
;
43
};
44
45
#endif
CastorSimpleReconstructor
Definition:
CastorSimpleReconstructor.h:21
Handle.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EDProducer.h
ESGetToken.h
CastorRecoParams.h
CastorSimpleReconstructor::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
CastorSimpleReconstructor.cc:54
CastorSimpleReconstructor::~CastorSimpleReconstructor
~CastorSimpleReconstructor() override
Definition:
CastorSimpleReconstructor.cc:52
CastorSimpleReconstructor::CastorSimpleReconstructor
CastorSimpleReconstructor(const edm::ParameterSet &ps)
Definition:
CastorSimpleReconstructor.cc:19
HcalDigiCollections.h
CastorSimpleRecAlgo
Definition:
CastorSimpleRecAlgo.h:22
CastorSimpleReconstructor::tok_input_
edm::EDGetTokenT< CastorDigiCollection > tok_input_
Definition:
CastorSimpleReconstructor.h:32
CastorSimpleReconstructor::maxADCvalue_
int maxADCvalue_
Definition:
CastorSimpleReconstructor.h:39
CastorSimpleReconstructor::setSaturationFlag_
bool setSaturationFlag_
Definition:
CastorSimpleReconstructor.h:41
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CastorRecoParamsRcd.h
CastorSimpleReconstructor::firstSample_
int firstSample_
Definition:
CastorSimpleReconstructor.h:37
CastorSaturationCorrs.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
CastorSimpleReconstructor::tok_satCorr_
edm::ESGetToken< CastorSaturationCorrs, CastorSaturationCorrsRcd > tok_satCorr_
Definition:
CastorSimpleReconstructor.h:35
DetId::Detector
Detector
Definition:
DetId.h:24
edm::EventSetup
Definition:
EventSetup.h:58
CastorSimpleReconstructor::doSaturationCorr_
bool doSaturationCorr_
Definition:
CastorSimpleReconstructor.h:42
CastorSimpleReconstructor::tsFromDB_
bool tsFromDB_
Definition:
CastorSimpleReconstructor.h:40
edm::ESGetToken< CastorDbService, CastorDbRecord >
CastorSimpleReconstructor::reco_
CastorSimpleRecAlgo reco_
Definition:
CastorSimpleReconstructor.h:28
CastorSimpleReconstructor::tok_recoParams_
edm::ESGetToken< CastorRecoParams, CastorRecoParamsRcd > tok_recoParams_
Definition:
CastorSimpleReconstructor.h:34
CastorSimpleRecAlgo.h
CastorSimpleReconstructor::tok_conditions_
edm::ESGetToken< CastorDbService, CastorDbRecord > tok_conditions_
Definition:
CastorSimpleReconstructor.h:33
EventSetup.h
CastorDbService.h
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
CastorSimpleReconstructor::subdet_
int subdet_
Definition:
CastorSimpleReconstructor.h:30
CastorDbRecord.h
CastorSimpleReconstructor::samplesToAdd_
int samplesToAdd_
Definition:
CastorSimpleReconstructor.h:38
CastorSimpleReconstructor::det_
DetId::Detector det_
Definition:
CastorSimpleReconstructor.h:29
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
CastorSaturationCorrsRcd.h
Generated for CMSSW Reference Manual by
1.8.16