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
{
17
class
ParameterSet
;
18
}
19
20
class
HFRecalibration
21
{
22
23
public
:
24
HFRecalibration
(
const
edm::ParameterSet
&
pset
);
25
~
HFRecalibration
();
26
double
getCorr(
int
ieta,
int
idepth,
double
lumi
);
27
28
//Calibration factors only calculated for iEta between and including 30 and 41
29
static
const
unsigned
int
loweriEtaBin = 30;
30
static
const
unsigned
int
upperiEtaBin = 41;
31
32
33
private
:
34
//Container for holding parameters from cff file
35
std::vector<double> HFParsAB[2][2];
36
double
reCalFactor = 1.0;
37
38
};
39
40
#endif // HFRecalibration_h
41
42
vecOfDoubles
std::vector< double > vecOfDoubles
Definition:
HFRecalibration.h:13
ParameterSet
Definition:
Functions.h:16
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
HFRecalibration
Definition:
HFRecalibration.h:20
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
lumi
Definition:
LumiSectionData.h:20
Generated for CMSSW Reference Manual by
1.8.11