#include <TPNPulse.h>
Public Member Functions | |
double * | getAdcWithoutPedestal () |
double | getMax () |
int | getMaxSample () |
double | getPedestal () |
void | setPresamples (int) |
bool | setPulse (double *) |
TPNPulse () | |
TPNPulse (int, int) | |
virtual | ~TPNPulse () |
Private Member Functions | |
void | init (int, int) |
Private Attributes | |
int | _nsamples |
int | _presample |
double * | adc_ |
double | adcMax_ |
int | iadcMax_ |
bool | isMaxFound_ |
bool | isPedCalc_ |
double | pedestal_ |
Definition at line 7 of file TPNPulse.h.
TPNPulse::TPNPulse | ( | ) |
Definition at line 18 of file TPNPulse.cc.
References init.
TPNPulse::TPNPulse | ( | int | nsamples, |
int | presample | ||
) |
|
virtual |
Definition at line 30 of file TPNPulse.cc.
double * TPNPulse::getAdcWithoutPedestal | ( | ) |
Definition at line 99 of file TPNPulse.cc.
References i.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
double TPNPulse::getMax | ( | ) |
int TPNPulse::getMaxSample | ( | ) |
Definition at line 81 of file TPNPulse.cc.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
double TPNPulse::getPedestal | ( | ) |
|
private |
Definition at line 34 of file TPNPulse.cc.
void TPNPulse::setPresamples | ( | int | presample | ) |
Definition at line 112 of file TPNPulse.cc.
bool TPNPulse::setPulse | ( | double * | adc | ) |
Definition at line 55 of file TPNPulse.cc.
References ecalMGPA::adc(), and fileCollector::done.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
|
private |
Definition at line 12 of file TPNPulse.h.
|
private |
Definition at line 13 of file TPNPulse.h.
|
private |
Definition at line 16 of file TPNPulse.h.
|
private |
Definition at line 19 of file TPNPulse.h.
|
private |
Definition at line 20 of file TPNPulse.h.
|
private |
Definition at line 17 of file TPNPulse.h.
|
private |
Definition at line 18 of file TPNPulse.h.
|
private |
Definition at line 21 of file TPNPulse.h.