Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CalibCalorimetry
EcalLaserAnalyzer
interface
TPNCor.h
Go to the documentation of this file.
1
#ifndef TPNCor_H
2
#define TPNCor_H
3
4
#include "TObject.h"
5
#include <map>
6
7
class
TPNCor
:
public
TObject
8
{
9
10
private
:
11
12
13
14
15
public
:
16
// Default Constructor, mainly for Root
17
TPNCor
(std::string
filename
);
18
19
// Destructor: Does nothing
20
virtual
~TPNCor
();
21
22
enum
VarGain
{
iGain0
,
iGain1
,
iSizeGain
};
23
enum
VarParPN
{
iPar0
,
iPar1
,
iPar2
,
iSizePar
};
24
25
double
getPNCorrectionFactor
(
double
val0 ,
int
gain );
26
27
// Declaration for PN linearity corrections
28
double
corParams
[
iSizeGain
][
iSizePar
];
29
int
isFileOK
;
30
31
// ClassDef(TPNCor,1)
32
33
34
35
};
36
37
#endif
TPNCor::iGain1
Definition:
TPNCor.h:22
TPNCor::getPNCorrectionFactor
double getPNCorrectionFactor(double val0, int gain)
Definition:
TPNCor.cc:73
TPNCor::corParams
double corParams[iSizeGain][iSizePar]
Definition:
TPNCor.h:28
TPNCor::~TPNCor
virtual ~TPNCor()
Definition:
TPNCor.cc:67
TPNCor::iSizeGain
Definition:
TPNCor.h:22
TPNCor::iPar2
Definition:
TPNCor.h:23
TPNCor::VarGain
VarGain
Definition:
TPNCor.h:22
TPNCor::iGain0
Definition:
TPNCor.h:22
TPNCor::iPar0
Definition:
TPNCor.h:23
TPNCor::TPNCor
TPNCor(std::string filename)
Definition:
TPNCor.cc:23
lut2db_cfg.filename
tuple filename
Definition:
lut2db_cfg.py:20
TPNCor::isFileOK
int isFileOK
Definition:
TPNCor.h:29
TPNCor::iSizePar
Definition:
TPNCor.h:23
TPNCor::VarParPN
VarParPN
Definition:
TPNCor.h:23
TPNCor
Definition:
TPNCor.h:7
TPNCor::iPar1
Definition:
TPNCor.h:23
Generated for CMSSW Reference Manual by
1.8.5