Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoLocalCalo
HcalRecAlgos
interface
HcalSimpleRecAlgo.h
Go to the documentation of this file.
1
#ifndef HCALSIMPLERECALGO_H
2
#define HCALSIMPLERECALGO_H 1
3
4
#include "
DataFormats/HcalDigi/interface/HBHEDataFrame.h
"
5
#include "
DataFormats/HcalDigi/interface/HFDataFrame.h
"
6
#include "
DataFormats/HcalDigi/interface/HODataFrame.h
"
7
#include "
DataFormats/HcalDigi/interface/ZDCDataFrame.h
"
8
#include "
DataFormats/HcalDigi/interface/HcalCalibDataFrame.h
"
9
#include "
DataFormats/HcalRecHit/interface/HBHERecHit.h
"
10
#include "
DataFormats/HcalRecHit/interface/HFRecHit.h
"
11
#include "
DataFormats/HcalRecHit/interface/HORecHit.h
"
12
#include "
DataFormats/HcalRecHit/interface/ZDCRecHit.h
"
13
#include "
DataFormats/HcalRecHit/interface/HcalCalibRecHit.h
"
14
#include "
CalibFormats/HcalObjects/interface/HcalCoder.h
"
15
#include "
CalibFormats/HcalObjects/interface/HcalCalibrations.h
"
16
#include "
CalibCalorimetry/HcalAlgos/interface/HcalPulseContainmentManager.h
"
17
#include <memory>
18
32
class
HcalSimpleRecAlgo
{
33
public
:
35
HcalSimpleRecAlgo
(
bool
correctForTimeslew,
36
bool
correctForContainment,
float
fixedPhaseNs);
38
HcalSimpleRecAlgo
();
39
void
beginRun
(
edm::EventSetup
const
& es);
40
void
endRun
();
41
42
void
initPulseCorr
(
int
toadd);
43
44
// set RecoParams channel-by-channel.
45
void
setRecoParams
(
bool
correctForTimeslew,
bool
correctForPulse,
bool
setLeakCorrection
,
int
pileupCleaningID,
float
phaseNS);
46
47
// ugly hack related to HB- e-dependent corrections
48
void
setForData
();
49
// usage of leak correction
50
void
setLeakCorrection
();
51
52
HBHERecHit
reconstruct
(
const
HBHEDataFrame
& digi,
int
first
,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
53
HFRecHit
reconstruct
(
const
HFDataFrame
& digi,
int
first,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
54
HORecHit
reconstruct
(
const
HODataFrame
& digi,
int
first,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
55
HcalCalibRecHit
reconstruct
(
const
HcalCalibDataFrame
& digi,
int
first,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
56
private
:
57
bool
correctForTimeslew_
;
58
bool
correctForPulse_
;
59
float
phaseNS_
;
60
std::auto_ptr<HcalPulseContainmentManager>
pulseCorr_
;
61
bool
setForData_
;
62
bool
setLeakCorrection_
;
63
int
pileupCleaningID_
;
64
};
65
66
#endif
HcalPulseContainmentManager.h
HcalSimpleRecAlgo::pileupCleaningID_
int pileupCleaningID_
Definition:
HcalSimpleRecAlgo.h:63
HORecHit.h
HcalSimpleRecAlgo::setForData_
bool setForData_
Definition:
HcalSimpleRecAlgo.h:61
HODataFrame
Definition:
HODataFrame.h:16
HcalSimpleRecAlgo::correctForPulse_
bool correctForPulse_
Definition:
HcalSimpleRecAlgo.h:58
HcalSimpleRecAlgo::reconstruct
HBHERecHit reconstruct(const HBHEDataFrame &digi, int first, int toadd, const HcalCoder &coder, const HcalCalibrations &calibs) const
Definition:
HcalSimpleRecAlgo.cc:161
HODataFrame.h
HcalSimpleRecAlgo::beginRun
void beginRun(edm::EventSetup const &es)
Definition:
HcalSimpleRecAlgo.cc:27
HcalCalibrations.h
HcalCalibrations
Definition:
HcalCalibrations.h:11
HBHERecHit.h
HcalCalibDataFrame
Definition:
HcalCalibDataFrame.h:15
HcalSimpleRecAlgo::phaseNS_
float phaseNS_
Definition:
HcalSimpleRecAlgo.h:59
HBHERecHit
Definition:
HBHERecHit.h:14
HcalSimpleRecAlgo::HcalSimpleRecAlgo
HcalSimpleRecAlgo()
Definition:
HcalSimpleRecAlgo.cc:23
ZDCDataFrame.h
HcalSimpleRecAlgo::setForData
void setForData()
Definition:
HcalSimpleRecAlgo.cc:50
HcalSimpleRecAlgo::setLeakCorrection_
bool setLeakCorrection_
Definition:
HcalSimpleRecAlgo.h:62
HFDataFrame
Definition:
HFDataFrame.h:15
HcalSimpleRecAlgo::initPulseCorr
void initPulseCorr(int toadd)
Definition:
HcalSimpleRecAlgo.cc:39
edm::EventSetup
Definition:
EventSetup.h:44
HcalSimpleRecAlgo::correctForTimeslew_
bool correctForTimeslew_
Definition:
HcalSimpleRecAlgo.h:57
HFRecHit.h
HcalSimpleRecAlgo::pulseCorr_
std::auto_ptr< HcalPulseContainmentManager > pulseCorr_
Definition:
HcalSimpleRecAlgo.h:60
first
bool first
Definition:
L1TdeRCT.cc:94
HcalCalibRecHit
Definition:
HcalCalibRecHit.h:12
ZDCRecHit.h
HcalCoder
Definition:
HcalCoder.h:19
HBHEDataFrame.h
HORecHit
Definition:
HORecHit.h:14
HcalSimpleRecAlgo::setRecoParams
void setRecoParams(bool correctForTimeslew, bool correctForPulse, bool setLeakCorrection, int pileupCleaningID, float phaseNS)
Definition:
HcalSimpleRecAlgo.cc:42
HcalCalibRecHit.h
HcalSimpleRecAlgo::endRun
void endRun()
Definition:
HcalSimpleRecAlgo.cc:33
HcalSimpleRecAlgo
Definition:
HcalSimpleRecAlgo.h:32
HcalSimpleRecAlgo::setLeakCorrection
void setLeakCorrection()
Definition:
HcalSimpleRecAlgo.cc:52
HBHEDataFrame
Definition:
HBHEDataFrame.h:15
HcalCoder.h
HFRecHit
Definition:
HFRecHit.h:14
HcalCalibDataFrame.h
HFDataFrame.h
Generated for CMSSW Reference Manual by
1.8.5