Main Page
Namespaces
Classes
Package Documentation
CalibCalorimetry
EcalLaserAnalyzer
interface
TAPDPulse.h
Go to the documentation of this file.
1
#ifndef TAPDPulse_H
2
#define TAPDPulse_H
3
4
#include "TObject.h"
5
#include<vector>
6
7
class
TAPDPulse
:
public
TObject
8
{
9
10
private
:
11
12
int
_nsamples
;
13
int
_presample
;
14
int
_firstsample
;
15
int
_lastsample
;
16
int
_timingcutlow
;
17
int
_timingcuthigh
;
18
int
_timingquallow
;
19
int
_timingqualhigh
;
20
double
_ratiomaxcutlow
;
21
double
_ratiomincutlow
;
22
double
_ratiomincuthigh
;
23
24
25
double
*
adc_
;
26
bool
isMaxFound_
;
27
bool
isPedCalc_
;
28
double
adcMax_
;
29
int
iadcMax_
;
30
double
pedestal_
;
31
32
void
init
(
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
double
,
double
,
double
);
33
34
public
:
35
36
37
// Default Constructor, mainly for Root
38
TAPDPulse
();
39
40
// Constructor
41
TAPDPulse
(
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
double
,
double
,
double
);
42
43
// Destructor: Does nothing
44
~TAPDPulse
()
override
;
45
46
bool
setPulse
(
double
*);
47
double
getMax
();
48
int
getMaxSample
();
49
double
getDelta
(
int
,
int
);
50
double
getRatio
(
int
,
int
);
51
bool
isTimingOK
();
52
bool
isTimingQualOK
();
53
bool
areFitSamplesOK
();
54
bool
isPulseOK
();
55
bool
arePulseRatioOK
();
56
bool
isPulseRatioMaxOK
();
57
bool
isPulseRatioMinOK
();
58
double
getPedestal
();
59
double
*
getAdcWithoutPedestal
();
60
void
setPresamples
(
int
);
61
ClassDefOverride(
TAPDPulse
,0)
62
};
63
64
#endif
TAPDPulse::isMaxFound_
bool isMaxFound_
Definition:
TAPDPulse.h:26
TAPDPulse::isPulseRatioMaxOK
bool isPulseRatioMaxOK()
Definition:
TAPDPulse.cc:167
TAPDPulse::iadcMax_
int iadcMax_
Definition:
TAPDPulse.h:29
TAPDPulse::getRatio
double getRatio(int, int)
Definition:
TAPDPulse.cc:103
TAPDPulse::areFitSamplesOK
bool areFitSamplesOK()
Definition:
TAPDPulse.cc:131
TAPDPulse::_ratiomaxcutlow
double _ratiomaxcutlow
Definition:
TAPDPulse.h:20
TAPDPulse::getDelta
double getDelta(int, int)
Definition:
TAPDPulse.cc:95
TAPDPulse::_firstsample
int _firstsample
Definition:
TAPDPulse.h:14
TAPDPulse::setPulse
bool setPulse(double *)
Definition:
TAPDPulse.cc:64
TAPDPulse::getPedestal
double getPedestal()
Definition:
TAPDPulse.cc:197
TAPDPulse::adc_
double * adc_
Definition:
TAPDPulse.h:25
TAPDPulse::_nsamples
int _nsamples
Definition:
TAPDPulse.h:12
TAPDPulse
Definition:
TAPDPulse.h:7
TAPDPulse::_ratiomincuthigh
double _ratiomincuthigh
Definition:
TAPDPulse.h:22
TAPDPulse::getAdcWithoutPedestal
double * getAdcWithoutPedestal()
Definition:
TAPDPulse.cc:209
TAPDPulse::isPedCalc_
bool isPedCalc_
Definition:
TAPDPulse.h:27
TAPDPulse::TAPDPulse
TAPDPulse()
Definition:
TAPDPulse.cc:17
TAPDPulse::_presample
int _presample
Definition:
TAPDPulse.h:13
TAPDPulse::_lastsample
int _lastsample
Definition:
TAPDPulse.h:15
TAPDPulse::~TAPDPulse
~TAPDPulse() override
Definition:
TAPDPulse.cc:29
TAPDPulse::_timingcuthigh
int _timingcuthigh
Definition:
TAPDPulse.h:17
TAPDPulse::getMaxSample
int getMaxSample()
Definition:
TAPDPulse.cc:90
TAPDPulse::getMax
double getMax()
Definition:
TAPDPulse.cc:73
TAPDPulse::isTimingQualOK
bool isTimingQualOK()
Definition:
TAPDPulse.cc:123
TAPDPulse::init
void init(int, int, int, int, int, int, int, int, double, double, double)
Definition:
TAPDPulse.cc:33
TAPDPulse::_timingqualhigh
int _timingqualhigh
Definition:
TAPDPulse.h:19
TAPDPulse::isPulseRatioMinOK
bool isPulseRatioMinOK()
Definition:
TAPDPulse.cc:182
TAPDPulse::isTimingOK
bool isTimingOK()
Definition:
TAPDPulse.cc:116
TAPDPulse::_timingcutlow
int _timingcutlow
Definition:
TAPDPulse.h:16
TAPDPulse::setPresamples
void setPresamples(int)
Definition:
TAPDPulse.cc:222
TAPDPulse::adcMax_
double adcMax_
Definition:
TAPDPulse.h:28
TAPDPulse::isPulseOK
bool isPulseOK()
Definition:
TAPDPulse.cc:139
TAPDPulse::_ratiomincutlow
double _ratiomincutlow
Definition:
TAPDPulse.h:21
TAPDPulse::arePulseRatioOK
bool arePulseRatioOK()
Definition:
TAPDPulse.cc:149
TAPDPulse::_timingquallow
int _timingquallow
Definition:
TAPDPulse.h:18
TAPDPulse::pedestal_
double pedestal_
Definition:
TAPDPulse.h:30
Generated for CMSSW Reference Manual by
1.8.11