Main Page
Namespaces
Classes
Package Documentation
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
35
class
ZdcSimpleRecAlgo
{
36
public
:
38
ZdcSimpleRecAlgo
(
bool
correctForTimeslew
,
39
bool
correctForContainment,
float
fixedPhaseNs,
int
recoMethod
,
int
lowGainOffset
,
double
lowGainFrac
);
41
ZdcSimpleRecAlgo
(
int
recoMethod);
42
void
initPulseCorr
(
int
toadd);
43
ZDCRecHit
reconstruct
(
const
ZDCDataFrame
& digi,
const
std::vector<unsigned int>& myNoiseTS,
const
std::vector<unsigned int>& mySignalTS,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
44
HcalCalibRecHit
reconstruct
(
const
HcalCalibDataFrame
& digi,
const
std::vector<unsigned int>& myNoiseTS,
const
std::vector<unsigned int>& mySignalTS,
const
HcalCoder
& coder,
const
HcalCalibrations
& calibs)
const
;
45
private
:
46
int
recoMethod_
;
47
bool
correctForTimeslew_
;
48
bool
correctForPulse_
;
49
float
phaseNS_
;
50
// new lowGainEnergy variables
51
int
lowGainOffset_
;
52
double
lowGainFrac_
;
53
std::unique_ptr<HcalPulseContainmentCorrection>
pulseCorr_
;
54
};
55
56
#endif
HORecHit.h
CastorSimpleReconstructor_cfi.correctForTimeslew
correctForTimeslew
Definition:
CastorSimpleReconstructor_cfi.py:10
ZdcSimpleRecAlgo::correctForPulse_
bool correctForPulse_
Definition:
ZdcSimpleRecAlgo.h:48
HcalHitReconstructor_zdc_cfi.recoMethod
recoMethod
Definition:
HcalHitReconstructor_zdc_cfi.py:13
HODataFrame.h
HcalCalibrations.h
HcalCalibrations
Definition:
HcalCalibrations.h:9
ZDCDataFrame
Definition:
ZDCDataFrame.h:15
HcalHitReconstructor_zdc_cfi.lowGainOffset
lowGainOffset
Definition:
HcalHitReconstructor_zdc_cfi.py:14
HBHERecHit.h
HcalCalibDataFrame
Definition:
HcalCalibDataFrame.h:15
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:230
ZDCDataFrame.h
ZdcSimpleRecAlgo::initPulseCorr
void initPulseCorr(int toadd)
Definition:
ZdcSimpleRecAlgo.cc:26
ZdcSimpleRecAlgo
Definition:
ZdcSimpleRecAlgo.h:35
ZdcSimpleRecAlgo::ZdcSimpleRecAlgo
ZdcSimpleRecAlgo(bool correctForTimeslew, bool correctForContainment, float fixedPhaseNs, int recoMethod, int lowGainOffset, double lowGainFrac)
Definition:
ZdcSimpleRecAlgo.cc:12
HFRecHit.h
HcalCalibRecHit
Definition:
HcalCalibRecHit.h:10
ZDCRecHit.h
HcalHitReconstructor_zdc_cfi.lowGainFrac
lowGainFrac
Definition:
HcalHitReconstructor_zdc_cfi.py:15
ZdcSimpleRecAlgo::correctForTimeslew_
bool correctForTimeslew_
Definition:
ZdcSimpleRecAlgo.h:47
HcalCoder
Definition:
HcalCoder.h:19
HBHEDataFrame.h
ZdcSimpleRecAlgo::pulseCorr_
std::unique_ptr< HcalPulseContainmentCorrection > pulseCorr_
Definition:
ZdcSimpleRecAlgo.h:53
HcalCalibRecHit.h
HcalPulseContainmentCorrection.h
ZdcSimpleRecAlgo::phaseNS_
float phaseNS_
Definition:
ZdcSimpleRecAlgo.h:49
ZdcSimpleRecAlgo::lowGainFrac_
double lowGainFrac_
Definition:
ZdcSimpleRecAlgo.h:52
ZDCRecHit
Definition:
ZDCRecHit.h:12
ZdcSimpleRecAlgo::lowGainOffset_
int lowGainOffset_
Definition:
ZdcSimpleRecAlgo.h:51
HcalCoder.h
HcalCalibDataFrame.h
ZdcSimpleRecAlgo::recoMethod_
int recoMethod_
Definition:
ZdcSimpleRecAlgo.h:46
HFDataFrame.h
Generated for CMSSW Reference Manual by
1.8.11