#include <TPNPulse.h>
Public Member Functions | |
double * | getAdcWithoutPedestal () |
double | getMax () |
int | getMaxSample () |
double | getPedestal () |
void | setPresamples (int) |
bool | setPulse (double *) |
TPNPulse () | |
TPNPulse (int, int) | |
~TPNPulse () override | |
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 | ( | ) |
TPNPulse::TPNPulse | ( | int | nsamples, |
int | presample | ||
) |
|
override |
Definition at line 23 of file TPNPulse.cc.
double * TPNPulse::getAdcWithoutPedestal | ( | ) |
Definition at line 89 of file TPNPulse.cc.
References mps_fire::i.
Referenced by EcalLaserAnalyzer::analyze(), and EcalLaserAnalyzer2::analyze().
double TPNPulse::getMax | ( | ) |
int TPNPulse::getMaxSample | ( | ) |
Definition at line 70 of file TPNPulse.cc.
Referenced by EcalLaserAnalyzer::analyze(), and EcalLaserAnalyzer2::analyze().
double TPNPulse::getPedestal | ( | ) |
|
private |
Definition at line 25 of file TPNPulse.cc.
References cms::cuda::assert(), and mps_fire::i.
void TPNPulse::setPresamples | ( | int | presample | ) |
Definition at line 103 of file TPNPulse.cc.
bool TPNPulse::setPulse | ( | double * | adc | ) |
Definition at line 45 of file TPNPulse.cc.
References gpuClustering::adc, and fileCollector::done.
Referenced by EcalLaserAnalyzer::analyze(), and EcalLaserAnalyzer2::analyze().
|
private |
Definition at line 9 of file TPNPulse.h.
|
private |
Definition at line 10 of file TPNPulse.h.
|
private |
Definition at line 12 of file TPNPulse.h.
|
private |
Definition at line 15 of file TPNPulse.h.
|
private |
Definition at line 16 of file TPNPulse.h.
|
private |
Definition at line 13 of file TPNPulse.h.
|
private |
Definition at line 14 of file TPNPulse.h.
|
private |
Definition at line 17 of file TPNPulse.h.