Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibCalorimetry
EcalLaserAnalyzer
interface
PulseFitWithShape.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
//----------------------------------------------------------------------
3
// File PulseFitWithShape.h
4
5
#ifndef PulseFitWithShape_H
6
#define PulseFitWithShape_H
7
#include "TObject.h"
8
#include<vector>
9
10
class
PulseFitWithShape
:
public
TObject
11
{
12
public
:
13
// Default Constructor, mainly for Root
14
PulseFitWithShape
() ;
15
16
// Destructor: Does nothing
17
virtual
~PulseFitWithShape
() ;
18
19
// Initialize
20
virtual
void
init
(
int
,
int
,
int
,
int
,
int
,std::vector <double>,
double
) ;
21
22
// Compute amplitude of a channel
23
24
virtual
double
doFit
(
double
*,
double
*cova=0) ;
25
26
double
fAmp_fitted_max
;
// amplitude maximum fitted
27
double
fTim_fitted_max
;
// time of amplitude maximum fitted
28
29
double
getAmpl
() {
return
fAmp_fitted_max
; }
30
double
getTime
() {
return
fTim_fitted_max
; }
31
32
33
private
:
34
35
int
fNsamples
;
// maximum number of samples into framelegth
36
int
fNsamplesShape
;
// maximum number of samples into framelegth
37
double
fNoise
;
38
39
std::vector < double >
pshape
;
40
std::vector < double >
dshape
;
41
42
int
fNb_iter
;
// maximum number of iterations
43
int
fNum_samp_bef_max
;
// number of samples before maximum sample
44
int
fNum_samp_after_max
;
// number of samples after maximum sample
45
46
47
// ClassDef(PulseFitWithShape,1) //!< The processed part of the class is persistant
48
49
} ;
50
51
#endif
52
53
54
55
//-----------------------------------------------------------------------
56
//----------------------------------------------------------------------
PulseFitWithShape::pshape
std::vector< double > pshape
Definition:
PulseFitWithShape.h:39
PulseFitWithShape::fTim_fitted_max
double fTim_fitted_max
Definition:
PulseFitWithShape.h:27
PulseFitWithShape::fNum_samp_after_max
int fNum_samp_after_max
Definition:
PulseFitWithShape.h:44
PulseFitWithShape::doFit
virtual double doFit(double *, double *cova=0)
Definition:
PulseFitWithShape.cc:63
PulseFitWithShape::fNsamples
int fNsamples
Definition:
PulseFitWithShape.h:35
PulseFitWithShape::fAmp_fitted_max
double fAmp_fitted_max
Definition:
PulseFitWithShape.h:26
PulseFitWithShape::~PulseFitWithShape
virtual ~PulseFitWithShape()
Definition:
PulseFitWithShape.cc:32
PulseFitWithShape
Definition:
PulseFitWithShape.h:10
PulseFitWithShape::PulseFitWithShape
PulseFitWithShape()
Definition:
PulseFitWithShape.cc:21
PulseFitWithShape::getAmpl
double getAmpl()
Definition:
PulseFitWithShape.h:29
PulseFitWithShape::getTime
double getTime()
Definition:
PulseFitWithShape.h:30
PulseFitWithShape::fNb_iter
int fNb_iter
Definition:
PulseFitWithShape.h:42
PulseFitWithShape::fNoise
double fNoise
Definition:
PulseFitWithShape.h:37
PulseFitWithShape::dshape
std::vector< double > dshape
Definition:
PulseFitWithShape.h:40
PulseFitWithShape::fNsamplesShape
int fNsamplesShape
Definition:
PulseFitWithShape.h:36
PulseFitWithShape::init
virtual void init(int, int, int, int, int, std::vector< double >, double)
Definition:
PulseFitWithShape.cc:38
PulseFitWithShape::fNum_samp_bef_max
int fNum_samp_bef_max
Definition:
PulseFitWithShape.h:43
Generated for CMSSW Reference Manual by
1.8.5