Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#define NMAXSAMP2 50
7
8
class
TPNFit
:
public
TObject
9
{
10
11
private
:
12
13
int
fNsamples
;
14
int
fNum_samp_bef_max
;
15
int
fNum_samp_after_max
;
16
17
int
firstsample
,
lastsample
;
18
double
t
[
NMAXSAMP2
],
val
[
NMAXSAMP2
];
19
double
fv1
[
NMAXSAMP2
],
fv2
[
NMAXSAMP2
],
fv3
[
NMAXSAMP2
];
20
double
ampl
;
21
double
timeatmax
;
22
23
24
public
:
25
// Default Constructor, mainly for Root
26
TPNFit
();
27
28
// Destructor: Does nothing
29
virtual
~TPNFit
();
30
31
// Initialize
32
void
init
(
int
,
int
,
int
);
33
34
double
doFit
(
int
,
double
*);
35
double
getAmpl
() {
return
ampl
;}
36
double
getTimax
() {
return
timeatmax
;}
37
38
// ClassDef(TPNFit,1)
39
};
40
41
#endif
42
43
44
TPNFit::fNum_samp_bef_max
int fNum_samp_bef_max
Definition:
TPNFit.h:14
TPNFit::~TPNFit
virtual ~TPNFit()
Definition:
TPNFit.cc:26
TPNFit::fv3
double fv3[50]
Definition:
TPNFit.h:19
TPNFit::getTimax
double getTimax()
Definition:
TPNFit.h:36
TPNFit::init
void init(int, int, int)
Definition:
TPNFit.cc:30
TPNFit::fNum_samp_after_max
int fNum_samp_after_max
Definition:
TPNFit.h:15
TPNFit::timeatmax
double timeatmax
Definition:
TPNFit.h:21
TPNFit::fNsamples
int fNsamples
Definition:
TPNFit.h:13
TPNFit::getAmpl
double getAmpl()
Definition:
TPNFit.h:35
TPNFit::t
double t[50]
Definition:
TPNFit.h:18
NMAXSAMP2
#define NMAXSAMP2
Definition:
TPNFit.h:6
TPNFit::TPNFit
TPNFit()
Definition:
TPNFit.cc:17
TPNFit::fv2
double fv2[50]
Definition:
TPNFit.h:19
TPNFit::val
double val[50]
Definition:
TPNFit.h:18
TPNFit::fv1
double fv1[50]
Definition:
TPNFit.h:19
TPNFit::lastsample
int lastsample
Definition:
TPNFit.h:17
TPNFit
Definition:
TPNFit.h:8
TPNFit::firstsample
int firstsample
Definition:
TPNFit.h:17
TPNFit::doFit
double doFit(int, double *)
Definition:
TPNFit.cc:46
TPNFit::ampl
double ampl
Definition:
TPNFit.h:20
Generated for CMSSW Reference Manual by
1.8.5