RecoLocalCalo
EcalRecAlgos
interface
EcalUncalibRecHitRecAbsAlgo.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitRecAbsAlgo_HH
2
#define RecoLocalCalo_EcalRecAlgos_EcalUncalibRecHitRecAbsAlgo_HH
3
11
#include "Math/SVector.h"
12
#include "Math/SMatrix.h"
13
#include <vector>
14
#include "
DataFormats/EcalRecHit/interface/EcalUncalibratedRecHit.h
"
15
#include "
CondFormats/EcalObjects/interface/EcalWeightSet.h
"
16
17
template
<
class
C>
18
class
EcalUncalibRecHitRecAbsAlgo
{
19
public
:
20
enum
{
nWeightsRows
= 3,
iAmplitude
= 0,
iPedestal
= 1,
iTime
= 2 };
21
23
//EcalUncalibRecHitRecAbsAlgo() { };
24
26
virtual
~EcalUncalibRecHitRecAbsAlgo
() =
default
;
27
29
30
virtual
EcalUncalibratedRecHit
makeRecHit
(
const
C
& dataFrame,
31
const
double
* pedestals,
32
const
double
* gainRatios,
33
const
EcalWeightSet::EcalWeightMatrix
**
weights
,
34
const
EcalWeightSet::EcalChi2WeightMatrix
** chi2Matrix) = 0;
35
};
36
#endif
EcalUncalibratedRecHit.h
EcalUncalibratedRecHit
Definition:
EcalUncalibratedRecHit.h:8
EcalWeightSet.h
EcalWeightSet::EcalChi2WeightMatrix
math::Matrix< 10, 10 >::type EcalChi2WeightMatrix
Definition:
EcalWeightSet.h:20
EcalWeightSet::EcalWeightMatrix
math::Matrix< 3, 10 >::type EcalWeightMatrix
Definition:
EcalWeightSet.h:19
EcalUncalibRecHitRecAbsAlgo::makeRecHit
virtual EcalUncalibratedRecHit makeRecHit(const C &dataFrame, const double *pedestals, const double *gainRatios, const EcalWeightSet::EcalWeightMatrix **weights, const EcalWeightSet::EcalChi2WeightMatrix **chi2Matrix)=0
make rechits from dataframes
EcalUncalibRecHitRecAbsAlgo::iAmplitude
Definition:
EcalUncalibRecHitRecAbsAlgo.h:20
EcalUncalibRecHitRecAbsAlgo::~EcalUncalibRecHitRecAbsAlgo
virtual ~EcalUncalibRecHitRecAbsAlgo()=default
Constructor.
EcalUncalibRecHitRecAbsAlgo
Definition:
EcalUncalibRecHitRecAbsAlgo.h:18
EcalUncalibRecHitRecAbsAlgo::iPedestal
Definition:
EcalUncalibRecHitRecAbsAlgo.h:20
correctionTermsCaloMet_cff.C
C
Definition:
correctionTermsCaloMet_cff.py:34
EcalUncalibRecHitRecAbsAlgo::iTime
Definition:
EcalUncalibRecHitRecAbsAlgo.h:20
EcalUncalibRecHitRecAbsAlgo::nWeightsRows
Definition:
EcalUncalibRecHitRecAbsAlgo.h:20
HLT_2022v12_cff.weights
weights
Definition:
HLT_2022v12_cff.py:72034
Generated for CMSSW Reference Manual by
1.8.14