Main Page
Namespaces
Classes
Package Documentation
DataFormats
HcalCalibObjects
interface
HFRecalibration.h
Go to the documentation of this file.
1
#ifndef DataFormats_HFRecalibration_h
2
#define DataFormats_HFRecalibration_h
3
//
4
// Simple class with parameterized function provided by James Wetzel
5
// to compansate for darkening of HF QP fibers
6
// in Upgrade conditions
7
// correction = f (integrated lumi, depth, ieta)
8
//
9
#include <cmath>
10
#include <iostream>
11
#include <vector>
12
13
typedef
std::vector<double>
vecOfDoubles
;
14
15
namespace
edm
{
16
class
ParameterSet
;
17
}
18
19
class
HFRecalibration
{
20
public
:
21
HFRecalibration
(
const
edm::ParameterSet
&
pset
);
22
~
HFRecalibration
();
23
double
getCorr(
int
ieta
,
int
idepth,
double
lumi
);
24
25
//Calibration factors only calculated for iEta between and including 30 and 41
26
static
const
unsigned
int
loweriEtaBin = 30;
27
static
const
unsigned
int
upperiEtaBin = 41;
28
29
private
:
30
//Container for holding parameters from cff file
31
std::vector<double> HFParsAB[2][2];
32
double
reCalFactor = 1.0;
33
};
34
35
#endif // HFRecalibration_h
vecOfDoubles
std::vector< double > vecOfDoubles
Definition:
HFRecalibration.h:13
ParameterSet
Definition:
Functions.h:16
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
LEDCalibrationChannels.ieta
ieta
Definition:
LEDCalibrationChannels.py:63
HFRecalibration
Definition:
HFRecalibration.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
lumi
Definition:
LumiSectionData.h:20
Generated for CMSSW Reference Manual by
1.8.11