Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
9
10
private
:
11
12
int
_nsamples
;
13
int
_presample
;
14
15
16
double
*
adc_
;
17
bool
isMaxFound_
;
18
bool
isPedCalc_
;
19
double
adcMax_
;
20
int
iadcMax_
;
21
double
pedestal_
;
22
23
void
init
(
int
,
int
);
24
25
public
:
26
27
28
// Default Constructor, mainly for Root
29
TPNPulse
();
30
31
// Constructor
32
TPNPulse
(
int
,
int
);
33
34
// Destructor: Does nothing
35
virtual
~TPNPulse
();
36
37
bool
setPulse
(
double
*);
38
double
getMax
();
39
int
getMaxSample
();
40
double
getPedestal
();
41
double
*
getAdcWithoutPedestal
();
42
void
setPresamples
(
int
);
43
//ClassDef(TPNPulse,1)
44
};
45
46
#endif
TPNPulse::adc_
double * adc_
Definition:
TPNPulse.h:16
TPNPulse::isPedCalc_
bool isPedCalc_
Definition:
TPNPulse.h:18
TPNPulse::getPedestal
double getPedestal()
Definition:
TPNPulse.cc:88
TPNPulse::_presample
int _presample
Definition:
TPNPulse.h:13
TPNPulse::init
void init(int, int)
Definition:
TPNPulse.cc:35
TPNPulse::getMax
double getMax()
Definition:
TPNPulse.cc:65
TPNPulse::~TPNPulse
virtual ~TPNPulse()
Definition:
TPNPulse.cc:31
TPNPulse::getAdcWithoutPedestal
double * getAdcWithoutPedestal()
Definition:
TPNPulse.cc:100
TPNPulse::isMaxFound_
bool isMaxFound_
Definition:
TPNPulse.h:17
TPNPulse::setPulse
bool setPulse(double *)
Definition:
TPNPulse.cc:56
TPNPulse::_nsamples
int _nsamples
Definition:
TPNPulse.h:12
TPNPulse::TPNPulse
TPNPulse()
Definition:
TPNPulse.cc:19
TPNPulse::setPresamples
void setPresamples(int)
Definition:
TPNPulse.cc:113
TPNPulse
Definition:
TPNPulse.h:7
TPNPulse::pedestal_
double pedestal_
Definition:
TPNPulse.h:21
TPNPulse::adcMax_
double adcMax_
Definition:
TPNPulse.h:19
TPNPulse::getMaxSample
int getMaxSample()
Definition:
TPNPulse.cc:82
TPNPulse::iadcMax_
int iadcMax_
Definition:
TPNPulse.h:20
Generated for CMSSW Reference Manual by
1.8.5