Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/HcalPulseContainmentCorrection.h
"
17
#include <memory>
18
32
class
HcalSimpleRecAlgo
{
33
public
:
35
HcalSimpleRecAlgo
(
bool
correctForTimeslew,
36
bool
correctForContainment,
float
fixedPhaseNs);
38
HcalSimpleRecAlgo
();
39
40
void
initPulseCorr
(
int
toadd);
41
42
// ugly hack related to HB- e-dependent corrections
43
void
setForData
();
44
45
HBHERecHit
reconstruct
(
const
HBHEDataFrame
& digi,
int
first
,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
46
HFRecHit
reconstruct
(
const
HFDataFrame
& digi,
int
first,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
47
HORecHit
reconstruct
(
const
HODataFrame
& digi,
int
first,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
48
HcalCalibRecHit
reconstruct
(
const
HcalCalibDataFrame
& digi,
int
first,
int
toadd,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
49
private
:
50
bool
correctForTimeslew_
;
51
bool
correctForPulse_
;
52
float
phaseNS_
;
53
std::auto_ptr<HcalPulseContainmentCorrection>
pulseCorr_
[11];
54
bool
setForData_
;
55
56
57
};
58
59
#endif
HORecHit.h
HcalSimpleRecAlgo::setForData_
bool setForData_
Definition:
HcalSimpleRecAlgo.h:54
HODataFrame
Definition:
HODataFrame.h:16
HcalSimpleRecAlgo::pulseCorr_
std::auto_ptr< HcalPulseContainmentCorrection > pulseCorr_[11]
Definition:
HcalSimpleRecAlgo.h:53
HcalSimpleRecAlgo::correctForPulse_
bool correctForPulse_
Definition:
HcalSimpleRecAlgo.h:51
HcalSimpleRecAlgo::reconstruct
HBHERecHit reconstruct(const HBHEDataFrame &digi, int first, int toadd, const HcalCoder &coder, const HcalCalibrations &calibs) const
Definition:
HcalSimpleRecAlgo.cc:114
HODataFrame.h
HcalCalibrations.h
HcalCalibrations
Definition:
HcalCalibrations.h:11
HBHERecHit.h
HcalCalibDataFrame
Definition:
HcalCalibDataFrame.h:15
HcalSimpleRecAlgo::phaseNS_
float phaseNS_
Definition:
HcalSimpleRecAlgo.h:52
HBHERecHit
Definition:
HBHERecHit.h:14
HcalSimpleRecAlgo::HcalSimpleRecAlgo
HcalSimpleRecAlgo()
Definition:
HcalSimpleRecAlgo.cc:17
ZDCDataFrame.h
HcalSimpleRecAlgo::setForData
void setForData()
Definition:
HcalSimpleRecAlgo.cc:30
HFDataFrame
Definition:
HFDataFrame.h:15
HcalSimpleRecAlgo::initPulseCorr
void initPulseCorr(int toadd)
Definition:
HcalSimpleRecAlgo.cc:21
HcalSimpleRecAlgo::correctForTimeslew_
bool correctForTimeslew_
Definition:
HcalSimpleRecAlgo.h:50
HFRecHit.h
first
bool first
Definition:
L1TdeRCT.cc:79
HcalCalibRecHit
Definition:
HcalCalibRecHit.h:12
ZDCRecHit.h
HcalCoder
Definition:
HcalCoder.h:19
HBHEDataFrame.h
HORecHit
Definition:
HORecHit.h:14
HcalCalibRecHit.h
HcalPulseContainmentCorrection.h
HcalSimpleRecAlgo
Definition:
HcalSimpleRecAlgo.h:32
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