CalibCalorimetry
EcalLaserAnalyzer
interface
TPNPulse.h
Go to the documentation of this file.
1
#ifndef TPNPulse_H
2
#define TPNPulse_H
3
4
#include "TObject.h"
5
#include <vector>
6
7
class
TPNPulse
:
public
TObject {
8
private
:
9
int
_nsamples
;
10
int
_presample
;
11
12
double
*
adc_
;
13
bool
isMaxFound_
;
14
bool
isPedCalc_
;
15
double
adcMax_
;
16
int
iadcMax_
;
17
double
pedestal_
;
18
19
void
init
(
int
,
int
);
20
21
public
:
22
// Default Constructor, mainly for Root
23
TPNPulse
();
24
25
// Constructor
26
TPNPulse
(
int
,
int
);
27
28
// Destructor: Does nothing
29
~TPNPulse
()
override
;
30
31
bool
setPulse
(
double
*);
32
double
getMax
();
33
int
getMaxSample
();
34
double
getPedestal
();
35
double
*
getAdcWithoutPedestal
();
36
void
setPresamples
(
int
);
37
ClassDefOverride(
TPNPulse
, 0)
38
};
39
40
#endif
TPNPulse::_presample
int _presample
Definition:
TPNPulse.h:10
TPNPulse::getMax
double getMax()
Definition:
TPNPulse.cc:53
TPNPulse::TPNPulse
TPNPulse()
Definition:
TPNPulse.cc:17
TPNPulse::setPulse
bool setPulse(double *)
Definition:
TPNPulse.cc:45
TPNPulse::_nsamples
int _nsamples
Definition:
TPNPulse.h:9
TPNPulse::~TPNPulse
~TPNPulse() override
Definition:
TPNPulse.cc:23
TPNPulse::adc_
double * adc_
Definition:
TPNPulse.h:12
TPNPulse::getAdcWithoutPedestal
double * getAdcWithoutPedestal()
Definition:
TPNPulse.cc:89
TPNPulse::isMaxFound_
bool isMaxFound_
Definition:
TPNPulse.h:13
TPNPulse::adcMax_
double adcMax_
Definition:
TPNPulse.h:15
TPNPulse::getPedestal
double getPedestal()
Definition:
TPNPulse.cc:76
TPNPulse::setPresamples
void setPresamples(int)
Definition:
TPNPulse.cc:103
TPNPulse::iadcMax_
int iadcMax_
Definition:
TPNPulse.h:16
TPNPulse::init
void init(int, int)
Definition:
TPNPulse.cc:25
TPNPulse::isPedCalc_
bool isPedCalc_
Definition:
TPNPulse.h:14
TPNPulse::getMaxSample
int getMaxSample()
Definition:
TPNPulse.cc:70
TPNPulse::pedestal_
double pedestal_
Definition:
TPNPulse.h:17
TPNPulse
Definition:
TPNPulse.h:7
Generated for CMSSW Reference Manual by
1.8.16