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
private
:
9
int
_nsamples
;
10
int
_presample
;
11
int
_firstsample
;
12
int
_lastsample
;
13
int
_timingcutlow
;
14
int
_timingcuthigh
;
15
int
_timingquallow
;
16
int
_timingqualhigh
;
17
double
_ratiomaxcutlow
;
18
double
_ratiomincutlow
;
19
double
_ratiomincuthigh
;
20
21
double
*
adc_
;
22
bool
isMaxFound_
;
23
bool
isPedCalc_
;
24
double
adcMax_
;
25
int
iadcMax_
;
26
double
pedestal_
;
27
28
void
init
(
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
double
,
double
,
double
);
29
30
public
:
31
// Default Constructor, mainly for Root
32
TAPDPulse
();
33
34
// Constructor
35
TAPDPulse
(
int
,
int
,
int
,
int
,
int
,
int
,
int
,
int
,
double
,
double
,
double
);
36
37
// Destructor: Does nothing
38
~TAPDPulse
()
override
;
39
40
bool
setPulse
(
double
*);
41
double
getMax
();
42
int
getMaxSample
();
43
double
getDelta
(
int
,
int
);
44
double
getRatio
(
int
,
int
);
45
bool
isTimingOK
();
46
bool
isTimingQualOK
();
47
bool
areFitSamplesOK
();
48
bool
isPulseOK
();
49
bool
arePulseRatioOK
();
50
bool
isPulseRatioMaxOK
();
51
bool
isPulseRatioMinOK
();
52
double
getPedestal
();
53
double
*
getAdcWithoutPedestal
();
54
void
setPresamples
(
int
);
55
ClassDefOverride(
TAPDPulse
, 0)
56
};
57
58
#endif
TAPDPulse::isMaxFound_
bool isMaxFound_
Definition:
TAPDPulse.h:22
TAPDPulse::isPulseRatioMaxOK
bool isPulseRatioMaxOK()
Definition:
TAPDPulse.cc:191
TAPDPulse::iadcMax_
int iadcMax_
Definition:
TAPDPulse.h:25
TAPDPulse::getRatio
double getRatio(int, int)
Definition:
TAPDPulse.cc:123
TAPDPulse::areFitSamplesOK
bool areFitSamplesOK()
Definition:
TAPDPulse.cc:154
TAPDPulse::_ratiomaxcutlow
double _ratiomaxcutlow
Definition:
TAPDPulse.h:17
TAPDPulse::getDelta
double getDelta(int, int)
Definition:
TAPDPulse.cc:116
TAPDPulse::_firstsample
int _firstsample
Definition:
TAPDPulse.h:11
TAPDPulse::setPulse
bool setPulse(double *)
Definition:
TAPDPulse.cc:86
TAPDPulse::getPedestal
double getPedestal()
Definition:
TAPDPulse.cc:224
TAPDPulse::adc_
double * adc_
Definition:
TAPDPulse.h:21
TAPDPulse::_nsamples
int _nsamples
Definition:
TAPDPulse.h:9
TAPDPulse
Definition:
TAPDPulse.h:7
TAPDPulse::_ratiomincuthigh
double _ratiomincuthigh
Definition:
TAPDPulse.h:19
TAPDPulse::getAdcWithoutPedestal
double * getAdcWithoutPedestal()
Definition:
TAPDPulse.cc:237
TAPDPulse::isPedCalc_
bool isPedCalc_
Definition:
TAPDPulse.h:23
TAPDPulse::TAPDPulse
TAPDPulse()
Definition:
TAPDPulse.cc:16
TAPDPulse::_presample
int _presample
Definition:
TAPDPulse.h:10
TAPDPulse::_lastsample
int _lastsample
Definition:
TAPDPulse.h:12
TAPDPulse::~TAPDPulse
~TAPDPulse() override
Definition:
TAPDPulse.cc:44
TAPDPulse::_timingcuthigh
int _timingcuthigh
Definition:
TAPDPulse.h:14
TAPDPulse::getMaxSample
int getMaxSample()
Definition:
TAPDPulse.cc:111
TAPDPulse::getMax
double getMax()
Definition:
TAPDPulse.cc:94
TAPDPulse::isTimingQualOK
bool isTimingQualOK()
Definition:
TAPDPulse.cc:145
TAPDPulse::init
void init(int, int, int, int, int, int, int, int, double, double, double)
Definition:
TAPDPulse.cc:46
TAPDPulse::_timingqualhigh
int _timingqualhigh
Definition:
TAPDPulse.h:16
TAPDPulse::isPulseRatioMinOK
bool isPulseRatioMinOK()
Definition:
TAPDPulse.cc:207
TAPDPulse::isTimingOK
bool isTimingOK()
Definition:
TAPDPulse.cc:137
TAPDPulse::_timingcutlow
int _timingcutlow
Definition:
TAPDPulse.h:13
TAPDPulse::setPresamples
void setPresamples(int)
Definition:
TAPDPulse.cc:251
TAPDPulse::adcMax_
double adcMax_
Definition:
TAPDPulse.h:24
TAPDPulse::isPulseOK
bool isPulseOK()
Definition:
TAPDPulse.cc:162
TAPDPulse::_ratiomincutlow
double _ratiomincutlow
Definition:
TAPDPulse.h:18
TAPDPulse::arePulseRatioOK
bool arePulseRatioOK()
Definition:
TAPDPulse.cc:171
TAPDPulse::_timingquallow
int _timingquallow
Definition:
TAPDPulse.h:15
TAPDPulse::pedestal_
double pedestal_
Definition:
TAPDPulse.h:26
Generated for CMSSW Reference Manual by
1.8.14