Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoLocalCalo
HcalRecAlgos
interface
PedestalSub.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_HcalRecAlgos_PedestalSub_h
2
#define RecoLocalCalo_HcalRecAlgos_PedestalSub_h 1
3
4
#include <typeinfo>
5
#include <vector>
6
7
class
PedestalSub
8
{
9
public
:
10
enum
Method
{
DoNothing
=0,
AvgWithThresh
=1,
AvgWithoutThresh
=2,
AvgWithThreshNoPedSub
=3,
Percentile
=4 };
11
12
PedestalSub
();
13
~PedestalSub
();
14
15
void
init
(
Method
method
,
int
runCond,
float
threshold
,
float
quantile);
16
17
void
calculate
(
const
std::vector<double> & inputCharge,
const
std::vector<double> & inputPedestal, std::vector<double> & corrCharge)
const
;
18
19
double
getCorrection
(
const
std::vector<double> & inputCharge,
const
std::vector<double> & inputPedestal)
const
;
20
21
22
private
:
23
Method
fMethod
;
24
float
fThreshold
;
25
float
fQuantile
;
26
float
fCondition
;
27
28
};
29
30
#endif
PedestalSub::Method
Method
Definition:
PedestalSub.h:10
PedestalSub::getCorrection
double getCorrection(const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal) const
Definition:
PedestalSub.cc:34
PedestalSub::DoNothing
Definition:
PedestalSub.h:10
PedestalSub::PedestalSub
PedestalSub()
Definition:
PedestalSub.cc:8
PFRecoTauDiscriminationAgainstElectronMVA3GBR_cfi.method
tuple method
Definition:
PFRecoTauDiscriminationAgainstElectronMVA3GBR_cfi.py:15
PedestalSub::AvgWithoutThresh
Definition:
PedestalSub.h:10
PedestalSub::fCondition
float fCondition
Definition:
PedestalSub.h:26
PedestalSub
Definition:
PedestalSub.h:7
dtDQMClient_cfg.threshold
tuple threshold
Definition:
dtDQMClient_cfg.py:16
PedestalSub::fMethod
Method fMethod
Definition:
PedestalSub.h:23
PedestalSub::calculate
void calculate(const std::vector< double > &inputCharge, const std::vector< double > &inputPedestal, std::vector< double > &corrCharge) const
Definition:
PedestalSub.cc:21
PedestalSub::AvgWithThreshNoPedSub
Definition:
PedestalSub.h:10
PedestalSub::~PedestalSub
~PedestalSub()
Definition:
PedestalSub.cc:11
PedestalSub::fQuantile
float fQuantile
Definition:
PedestalSub.h:25
PedestalSub::fThreshold
float fThreshold
Definition:
PedestalSub.h:24
PedestalSub::init
void init(Method method, int runCond, float threshold, float quantile)
Definition:
PedestalSub.cc:14
PedestalSub::Percentile
Definition:
PedestalSub.h:10
PedestalSub::AvgWithThresh
Definition:
PedestalSub.h:10
Generated for CMSSW Reference Manual by
1.8.5