Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibCalorimetry
EcalLaserAnalyzer
interface
TMatacq.h
Go to the documentation of this file.
1
#ifndef TMatacq_H
2
#define TMatacq_H
3
4
#include "TObject.h"
5
6
#define NMAXSAMP 100
7
#define NSPARAB 16
8
9
class
TMatacq
:
public
TObject
10
{
11
12
private
:
13
14
int
fNsamples
;
15
int
fNum_samp_bef_max
;
16
int
fNum_samp_aft_max
;
17
18
int
firstsample
,
lastsample
,
samplemax
,
presample
,
endsample
;
19
int
bing
[101];
20
double
nsigcut
;
21
double
level1
,
level2
,
level3
;
22
double
bong
[
NMAXSAMP
];
23
double
t
[
NSPARAB
],
val
[
NSPARAB
];
24
double
fv1
[
NSPARAB
],
fv2
[
NSPARAB
],
fv3
[
NSPARAB
];
25
double
bl
,
sigbl
,
val_max
;
26
double
ampl
,
timeatmax
;
27
double
pkval
,
sigpkval
;
28
double
trise
;
29
double
width20
,
width50
,
width80
;
30
double
meantrise
,
sigtrise
;
31
32
int
nevmtq0
,
nevmtq1
,
nevlasers
;
33
int
status
[1200];
34
double
comp_trise
[1200],
comp_peak
[1200];
35
double
slidingmean
;
36
int
nslide
;
37
38
double
interpolate
(
double
);
39
40
public
:
41
// Default Constructor, mainly for Root
42
TMatacq
(
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
);
43
44
// Destructor: Does nothing
45
virtual
~TMatacq
();
46
47
// Initialize
48
void
init
();
49
50
int
rawPulseAnalysis
(Int_t, Double_t*);
// GHM
51
int
findPeak
();
52
int
doFit
();
53
int
compute_trise
();
54
55
void
enterdata
(Int_t);
56
int
countBadPulses
(Int_t);
57
void
printmatacqData
(Int_t,Int_t,Int_t);
58
void
printitermatacqData
(Int_t,Int_t,Int_t);
59
60
int
getPt1
() {
return
firstsample
;}
61
int
getPt2
() {
return
lastsample
;}
62
int
getPtm
() {
return
samplemax
;}
63
64
double
getBaseLine
() {
return
bl
;}
65
double
getsigBaseLine
() {
return
sigbl
;}
66
67
double
getTimpeak
() {
return
pkval
;}
68
double
getsigTimpeak
() {
return
sigpkval
;}
69
70
double
getAmpl
() {
return
ampl
;}
71
double
getTimax
() {
return
timeatmax
;}
72
73
double
getTrise
() {
return
trise
;}
74
double
getFwhm
() {
return
width50
;}
75
double
getWidth20
() {
return
width20
;}
76
double
getWidth80
() {
return
width80
;}
77
double
getSlide
() {
return
slidingmean
;}
78
79
// ClassDef(TMatacq,1)
80
};
81
82
#endif
83
84
85
TMatacq::printitermatacqData
void printitermatacqData(Int_t, Int_t, Int_t)
Definition:
TMatacq.cc:496
TMatacq::getWidth80
double getWidth80()
Definition:
TMatacq.h:76
TMatacq::fNum_samp_bef_max
int fNum_samp_bef_max
Definition:
TMatacq.h:15
NMAXSAMP
#define NMAXSAMP
Definition:
TMatacq.h:6
TMatacq::bong
double bong[NMAXSAMP]
Definition:
TMatacq.h:22
TMatacq::endsample
int endsample
Definition:
TMatacq.h:18
TMatacq::fv1
double fv1[NSPARAB]
Definition:
TMatacq.h:24
TMatacq::trise
double trise
Definition:
TMatacq.h:28
TMatacq::sigbl
double sigbl
Definition:
TMatacq.h:25
TMatacq::fNum_samp_aft_max
int fNum_samp_aft_max
Definition:
TMatacq.h:16
TMatacq::bl
double bl
Definition:
TMatacq.h:25
TMatacq::meantrise
double meantrise
Definition:
TMatacq.h:30
TMatacq::status
int status[1200]
Definition:
TMatacq.h:33
TMatacq::comp_peak
double comp_peak[1200]
Definition:
TMatacq.h:34
TMatacq::getPt1
int getPt1()
Definition:
TMatacq.h:60
TMatacq::samplemax
int samplemax
Definition:
TMatacq.h:18
TMatacq::interpolate
double interpolate(double)
Definition:
TMatacq.cc:355
TMatacq::~TMatacq
virtual ~TMatacq()
Definition:
TMatacq.cc:56
TMatacq::compute_trise
int compute_trise()
Definition:
TMatacq.cc:331
TMatacq::getTimax
double getTimax()
Definition:
TMatacq.h:71
TMatacq::bing
int bing[101]
Definition:
TMatacq.h:19
TMatacq::t
double t[NSPARAB]
Definition:
TMatacq.h:23
TMatacq::fv3
double fv3[NSPARAB]
Definition:
TMatacq.h:24
TMatacq::printmatacqData
void printmatacqData(Int_t, Int_t, Int_t)
Definition:
TMatacq.cc:414
TMatacq::val_max
double val_max
Definition:
TMatacq.h:25
TMatacq::getBaseLine
double getBaseLine()
Definition:
TMatacq.h:64
TMatacq::getsigBaseLine
double getsigBaseLine()
Definition:
TMatacq.h:65
TMatacq::val
double val[NSPARAB]
Definition:
TMatacq.h:23
TMatacq::init
void init()
Definition:
TMatacq.cc:18
TMatacq::nsigcut
double nsigcut
Definition:
TMatacq.h:20
TMatacq::getFwhm
double getFwhm()
Definition:
TMatacq.h:74
TMatacq::nslide
int nslide
Definition:
TMatacq.h:36
TMatacq::width20
double width20
Definition:
TMatacq.h:29
TMatacq::getsigTimpeak
double getsigTimpeak()
Definition:
TMatacq.h:68
TMatacq::level1
double level1
Definition:
TMatacq.h:21
TMatacq::getPt2
int getPt2()
Definition:
TMatacq.h:61
TMatacq::enterdata
void enterdata(Int_t)
Definition:
TMatacq.cc:385
TMatacq::getSlide
double getSlide()
Definition:
TMatacq.h:77
TMatacq::doFit
int doFit()
Definition:
TMatacq.cc:202
TMatacq::getPtm
int getPtm()
Definition:
TMatacq.h:62
TMatacq::sigtrise
double sigtrise
Definition:
TMatacq.h:30
TMatacq::getAmpl
double getAmpl()
Definition:
TMatacq.h:70
TMatacq::level2
double level2
Definition:
TMatacq.h:21
TMatacq::fNsamples
int fNsamples
Definition:
TMatacq.h:14
TMatacq::rawPulseAnalysis
int rawPulseAnalysis(Int_t, Double_t *)
Definition:
TMatacq.cc:60
TMatacq::slidingmean
double slidingmean
Definition:
TMatacq.h:35
TMatacq::width50
double width50
Definition:
TMatacq.h:29
TMatacq::fv2
double fv2[NSPARAB]
Definition:
TMatacq.h:24
TMatacq::ampl
double ampl
Definition:
TMatacq.h:26
TMatacq::width80
double width80
Definition:
TMatacq.h:29
TMatacq::getWidth20
double getWidth20()
Definition:
TMatacq.h:75
TMatacq::findPeak
int findPeak()
Definition:
TMatacq.cc:128
TMatacq::pkval
double pkval
Definition:
TMatacq.h:27
TMatacq::timeatmax
double timeatmax
Definition:
TMatacq.h:26
TMatacq::TMatacq
TMatacq(int, int, int, int, int, int, int, int, int, int, int)
Definition:
TMatacq.cc:33
TMatacq::getTrise
double getTrise()
Definition:
TMatacq.h:73
TMatacq::level3
double level3
Definition:
TMatacq.h:21
TMatacq::sigpkval
double sigpkval
Definition:
TMatacq.h:27
TMatacq::comp_trise
double comp_trise[1200]
Definition:
TMatacq.h:34
TMatacq
Definition:
TMatacq.h:9
TMatacq::nevlasers
int nevlasers
Definition:
TMatacq.h:32
TMatacq::firstsample
int firstsample
Definition:
TMatacq.h:18
TMatacq::lastsample
int lastsample
Definition:
TMatacq.h:18
NSPARAB
#define NSPARAB
Definition:
TMatacq.h:7
TMatacq::nevmtq0
int nevmtq0
Definition:
TMatacq.h:32
TMatacq::nevmtq1
int nevmtq1
Definition:
TMatacq.h:32
TMatacq::countBadPulses
int countBadPulses(Int_t)
Definition:
TMatacq.cc:469
TMatacq::presample
int presample
Definition:
TMatacq.h:18
TMatacq::getTimpeak
double getTimpeak()
Definition:
TMatacq.h:67
Generated for CMSSW Reference Manual by
1.8.5