RecoLocalCalo
HcalRecAlgos
interface
ZdcSimpleRecAlgo.h
Go to the documentation of this file.
1
#ifndef ZDCSIMPLERECALGO_H
2
#define ZDCSIMPLERECALGO_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
34
class
HcalTimeSlew
;
35
36
class
ZdcSimpleRecAlgo
{
37
public
:
39
ZdcSimpleRecAlgo
(
bool
correctForTimeslew
,
40
bool
correctForContainment,
41
float
fixedPhaseNs,
42
int
recoMethod
,
43
int
lowGainOffset
,
44
double
lowGainFrac
);
46
ZdcSimpleRecAlgo
(
int
recoMethod
);
47
void
initPulseCorr
(
int
toadd,
const
HcalTimeSlew
* hcalTimeSlew_delay);
48
ZDCRecHit
reconstruct
(
const
ZDCDataFrame
& digi,
49
const
std::vector<unsigned int>& myNoiseTS,
50
const
std::vector<unsigned int>& mySignalTS,
51
const
HcalCoder
& coder,
52
const
HcalCalibrations
& calibs)
const
;
53
HcalCalibRecHit
reconstruct
(
const
HcalCalibDataFrame
& digi,
54
const
std::vector<unsigned int>& myNoiseTS,
55
const
std::vector<unsigned int>& mySignalTS,
56
const
HcalCoder
& coder,
57
const
HcalCalibrations
& calibs)
const
;
58
59
private
:
60
int
recoMethod_
;
61
bool
correctForTimeslew_
;
62
bool
correctForPulse_
;
63
float
phaseNS_
;
64
// new lowGainEnergy variables
65
int
lowGainOffset_
;
66
double
lowGainFrac_
;
67
std::unique_ptr<HcalPulseContainmentCorrection>
pulseCorr_
;
68
};
69
70
#endif
HFDataFrame.h
HcalCalibrations.h
ZdcSimpleRecAlgo::correctForTimeslew_
bool correctForTimeslew_
Definition:
ZdcSimpleRecAlgo.h:61
HcalCalibDataFrame.h
ZDCRecHit.h
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo
ZdcSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac)
Definition:
ZdcSimpleRecAlgo.cc:10
HcalCoder.h
HODataFrame.h
ZdcSimpleRecAlgo::pulseCorr_
std::unique_ptr< HcalPulseContainmentCorrection > pulseCorr_
Definition:
ZdcSimpleRecAlgo.h:67
ZdcSimpleRecAlgo::phaseNS_
float phaseNS_
Definition:
ZdcSimpleRecAlgo.h:63
HcalHitReconstructor_zdc_cfi.recoMethod
recoMethod
Definition:
HcalHitReconstructor_zdc_cfi.py:13
HcalHitReconstructor_zdc_cfi.lowGainOffset
lowGainOffset
Definition:
HcalHitReconstructor_zdc_cfi.py:14
HcalTimeSlew
Definition:
HcalTimeSlew.h:19
ZdcSimpleRecAlgo::lowGainFrac_
double lowGainFrac_
Definition:
ZdcSimpleRecAlgo.h:66
HFRecHit.h
ZDCDataFrame
Definition:
ZDCDataFrame.h:15
HcalCalibrations
Definition:
HcalCalibrations.h:9
HcalHitReconstructor_zdc_cfi.lowGainFrac
lowGainFrac
Definition:
HcalHitReconstructor_zdc_cfi.py:15
HcalCalibDataFrame
Definition:
HcalCalibDataFrame.h:15
ZdcSimpleRecAlgo::lowGainOffset_
int lowGainOffset_
Definition:
ZdcSimpleRecAlgo.h:65
HcalCalibRecHit
Definition:
HcalCalibRecHit.h:10
ZdcSimpleRecAlgo::initPulseCorr
void initPulseCorr(int toadd, const HcalTimeSlew *hcalTimeSlew_delay)
Definition:
ZdcSimpleRecAlgo.cc:21
ZdcSimpleRecAlgo::correctForPulse_
bool correctForPulse_
Definition:
ZdcSimpleRecAlgo.h:62
ZdcSimpleRecAlgo::recoMethod_
int recoMethod_
Definition:
ZdcSimpleRecAlgo.h:60
ZdcSimpleRecAlgo
Definition:
ZdcSimpleRecAlgo.h:36
ZDCDataFrame.h
HcalPulseContainmentCorrection.h
HcalCalibRecHit.h
HBHERecHit.h
castor_dqm_sourceclient-live_cfg.correctForTimeslew
correctForTimeslew
Definition:
castor_dqm_sourceclient-live_cfg.py:60
HcalCoder
Definition:
HcalCoder.h:19
ZDCRecHit
Definition:
ZDCRecHit.h:11
HORecHit.h
ZdcSimpleRecAlgo::reconstruct
ZDCRecHit reconstruct(const ZDCDataFrame &digi, const std::vector< unsigned int > &myNoiseTS, const std::vector< unsigned int > &mySignalTS, const HcalCoder &coder, const HcalCalibrations &calibs) const
Definition:
ZdcSimpleRecAlgo.cc:265
HBHEDataFrame.h
Generated for CMSSW Reference Manual by
1.8.16