CalibCalorimetry
EcalLaserAnalyzer
interface
TPNFit.h
Go to the documentation of this file.
1
#ifndef TPNFit_H
2
#define TPNFit_H
3
4
#include "TObject.h"
5
6
class
TPNFit
:
public
TObject {
7
public
:
8
static
constexpr
int
NMAXSAMP2
= 50;
9
10
private
:
11
int
fNsamples
;
12
int
fNum_samp_bef_max
;
13
int
fNum_samp_after_max
;
14
15
int
firstsample
,
lastsample
;
16
double
t
[
NMAXSAMP2
],
val
[
NMAXSAMP2
];
17
double
fv1
[
NMAXSAMP2
],
fv2
[
NMAXSAMP2
],
fv3
[
NMAXSAMP2
];
18
double
ampl
;
19
double
timeatmax
;
20
21
public
:
22
// Default Constructor, mainly for Root
23
TPNFit
();
24
25
// Destructor: Does nothing
26
~TPNFit
()
override
;
27
28
// Initialize
29
void
init
(
int
,
int
,
int
);
30
31
double
doFit
(
int
,
double
*);
32
double
getAmpl
() {
return
ampl
; }
33
double
getTimax
() {
return
timeatmax
; }
34
35
ClassDefOverride(
TPNFit
, 0)
36
};
37
38
#endif
TPNFit::fNum_samp_bef_max
int fNum_samp_bef_max
Definition:
TPNFit.h:12
TPNFit::fv1
double fv1[NMAXSAMP2]
Definition:
TPNFit.h:17
TPNFit::getTimax
double getTimax()
Definition:
TPNFit.h:33
TPNFit::init
void init(int, int, int)
Definition:
TPNFit.cc:24
TPNFit::fv3
double fv3[NMAXSAMP2]
Definition:
TPNFit.h:17
TPNFit::fNum_samp_after_max
int fNum_samp_after_max
Definition:
TPNFit.h:13
TPNFit::timeatmax
double timeatmax
Definition:
TPNFit.h:19
TPNFit::fNsamples
int fNsamples
Definition:
TPNFit.h:11
TPNFit::getAmpl
double getAmpl()
Definition:
TPNFit.h:32
TPNFit::t
double t[NMAXSAMP2]
Definition:
TPNFit.h:16
TPNFit::TPNFit
TPNFit()
Definition:
TPNFit.cc:15
TPNFit::NMAXSAMP2
static constexpr int NMAXSAMP2
Definition:
TPNFit.h:8
TPNFit::lastsample
int lastsample
Definition:
TPNFit.h:15
TPNFit
Definition:
TPNFit.h:6
TPNFit::firstsample
int firstsample
Definition:
TPNFit.h:15
TPNFit::doFit
double doFit(int, double *)
Definition:
TPNFit.cc:39
TPNFit::~TPNFit
~TPNFit() override
Definition:
TPNFit.cc:22
TPNFit::fv2
double fv2[NMAXSAMP2]
Definition:
TPNFit.h:17
TPNFit::val
double val[NMAXSAMP2]
Definition:
TPNFit.h:16
TPNFit::ampl
double ampl
Definition:
TPNFit.h:18
Generated for CMSSW Reference Manual by
1.8.14