Main Page
Namespaces
Classes
Package Documentation
RecoLocalCalo
HcalRecProducers
src
HcalSimpleReconstructor.h
Go to the documentation of this file.
1
#ifndef HCALSIMPLERECONSTRUCTOR_H
2
#define HCALSIMPLERECONSTRUCTOR_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 "
CondFormats/HcalObjects/interface/HcalRecoParams.h
"
8
#include "
CondFormats/HcalObjects/interface/HcalRecoParam.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
12
#include "
RecoLocalCalo/HcalRecAlgos/interface/HcalSimpleRecAlgo.h
"
13
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
14
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
15
16
namespace
edm
{
17
class
ConfigurationDescriptions
;
18
}
19
24
class
HcalTopology
;
25
26
class
HcalSimpleReconstructor
:
public
edm::stream::EDProducer
<> {
27
public
:
28
explicit
HcalSimpleReconstructor
(
const
edm::ParameterSet
& ps);
29
~
HcalSimpleReconstructor
()
override
;
30
void
produce(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
final
;
31
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
32
void
beginRun(
edm::Run
const
&
r
,
edm::EventSetup
const
& es)
final
;
33
void
endRun
(
edm::Run
const
&r,
edm::EventSetup
const
& es)
final
;
34
35
private
:
36
template
<
class
DIGICOLL,
class
RECHITCOLL>
void
process
(
edm::Event
& e,
const
edm::EventSetup
& c,
const
edm::EDGetTokenT<DIGICOLL>
&tok);
37
HcalSimpleRecAlgo
reco_
;
38
DetId::Detector
det_
;
39
int
subdet_
;
40
HcalOtherSubdetector
subdetOther_
;
41
edm::InputTag
inputLabel_
;
42
43
edm::EDGetTokenT<HFDigiCollection>
tok_hf_
;
44
edm::EDGetTokenT<HODigiCollection>
tok_ho_
;
45
edm::EDGetTokenT<HcalCalibDigiCollection>
tok_calib_
;
46
47
bool
dropZSmarkedPassed_
;
// turn on/off dropping of zero suppression marked and passed digis
48
49
// legacy parameters for config-set values compatibility
50
// to be removed after 4_2_0...
51
int
firstSample_
;
52
int
samplesToAdd_
;
53
bool
tsFromDB_
;
54
55
HcalRecoParams
*
paramTS
;
// firstSample & sampleToAdd from DB
56
HcalTopology
*
theTopology
;
57
};
58
59
#endif
HcalSimpleReconstructor::inputLabel_
edm::InputTag inputLabel_
Definition:
HcalSimpleReconstructor.h:41
HcalSimpleReconstructor::paramTS
HcalRecoParams * paramTS
Definition:
HcalSimpleReconstructor.h:55
HcalSimpleReconstructor::det_
DetId::Detector det_
Definition:
HcalSimpleReconstructor.h:38
HcalSimpleReconstructor::tsFromDB_
bool tsFromDB_
Definition:
HcalSimpleReconstructor.h:53
HcalSimpleReconstructor
Definition:
HcalSimpleReconstructor.h:26
Event.h
HcalRecoParam.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
EventSetup.h
HcalTopology
Definition:
HcalTopology.h:25
HcalSimpleReconstructor::reco_
HcalSimpleRecAlgo reco_
Definition:
HcalSimpleReconstructor.h:37
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::EDGetTokenT
Definition:
EDGetToken.h:32
ParameterSet.h
HcalRecoParams
Definition:
HcalRecoParams.h:11
EDProducer.h
HcalSimpleReconstructor::subdetOther_
HcalOtherSubdetector subdetOther_
Definition:
HcalSimpleReconstructor.h:40
HcalOtherSubdetector
HcalOtherSubdetector
Definition:
HcalAssistant.h:32
HcalSimpleReconstructor::dropZSmarkedPassed_
bool dropZSmarkedPassed_
Definition:
HcalSimpleReconstructor.h:47
HcalSimpleReconstructor::theTopology
HcalTopology * theTopology
Definition:
HcalSimpleReconstructor.h:56
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
LaserDQM_cfg.process
process
Definition:
LaserDQM_cfg.py:3
HcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:48
HcalSimpleRecAlgo.h
HcalSimpleReconstructor::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition:
HcalSimpleReconstructor.h:43
HcalSimpleReconstructor::tok_ho_
edm::EDGetTokenT< HODigiCollection > tok_ho_
Definition:
HcalSimpleReconstructor.h:44
HcalSimpleReconstructor::subdet_
int subdet_
Definition:
HcalSimpleReconstructor.h:39
HcalSimpleReconstructor::firstSample_
int firstSample_
Definition:
HcalSimpleReconstructor.h:51
alignCSCRings.r
r
Definition:
alignCSCRings.py:92
ConfigurationDescriptions
HcalSimpleReconstructor::samplesToAdd_
int samplesToAdd_
Definition:
HcalSimpleReconstructor.h:52
edm::stream::EDProducer
Definition:
EDProducer.h:38
DetId::Detector
Detector
Definition:
DetId.h:24
HcalSimpleRecAlgo
Definition:
HcalSimpleRecAlgo.h:35
HcalRecHitCollections.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
HcalSimpleReconstructor::tok_calib_
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
Definition:
HcalSimpleReconstructor.h:45
edm::Event
Definition:
Event.h:69
Ecal2004TBTDCRanges_v1_cff.endRun
endRun
Definition:
Ecal2004TBTDCRanges_v1_cff.py:4
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::Run
Definition:
Run.h:43
Handle.h
HcalRecoParams.h
Generated for CMSSW Reference Manual by
1.8.11