#include <TAPDPulse.h>
Public Member Functions | |
bool | areFitSamplesOK () |
bool | arePulseRatioOK () |
double * | getAdcWithoutPedestal () |
double | getDelta (int, int) |
double | getMax () |
int | getMaxSample () |
double | getPedestal () |
double | getRatio (int, int) |
bool | isPulseOK () |
bool | isPulseRatioMaxOK () |
bool | isPulseRatioMinOK () |
bool | isTimingOK () |
bool | isTimingQualOK () |
void | setPresamples (int) |
bool | setPulse (double *) |
TAPDPulse () | |
TAPDPulse (int, int, int, int, int, int, int, int, double, double, double) | |
virtual | ~TAPDPulse () |
Private Member Functions | |
void | init (int, int, int, int, int, int, int, int, double, double, double) |
Private Attributes | |
int | _firstsample |
int | _lastsample |
int | _nsamples |
int | _presample |
double | _ratiomaxcutlow |
double | _ratiomincuthigh |
double | _ratiomincutlow |
int | _timingcuthigh |
int | _timingcutlow |
int | _timingqualhigh |
int | _timingquallow |
double * | adc_ |
double | adcMax_ |
int | iadcMax_ |
bool | isMaxFound_ |
bool | isPedCalc_ |
double | pedestal_ |
Definition at line 7 of file TAPDPulse.h.
TAPDPulse::TAPDPulse | ( | ) |
Definition at line 17 of file TAPDPulse.cc.
References init.
TAPDPulse::TAPDPulse | ( | int | nsamples, |
int | presample, | ||
int | firstsample, | ||
int | lastsample, | ||
int | timingcutlow, | ||
int | timingcuthigh, | ||
int | timingquallow, | ||
int | timingqualhigh, | ||
double | ratiomincutlow, | ||
double | ratiomincuthigh, | ||
double | ratiomaxcutlow | ||
) |
Definition at line 23 of file TAPDPulse.cc.
References init.
|
virtual |
Definition at line 29 of file TAPDPulse.cc.
bool TAPDPulse::areFitSamplesOK | ( | ) |
bool TAPDPulse::arePulseRatioOK | ( | ) |
double * TAPDPulse::getAdcWithoutPedestal | ( | ) |
Definition at line 209 of file TAPDPulse.cc.
References i.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
double TAPDPulse::getDelta | ( | int | n1, |
int | n2 | ||
) |
Definition at line 95 of file TAPDPulse.cc.
References assert(), and delta.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
double TAPDPulse::getMax | ( | ) |
int TAPDPulse::getMaxSample | ( | ) |
Definition at line 90 of file TAPDPulse.cc.
double TAPDPulse::getPedestal | ( | ) |
double TAPDPulse::getRatio | ( | int | n1, |
int | n2 | ||
) |
|
private |
Definition at line 33 of file TAPDPulse.cc.
bool TAPDPulse::isPulseOK | ( | ) |
Definition at line 139 of file TAPDPulse.cc.
References convertSQLiteXML::ok.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
bool TAPDPulse::isPulseRatioMaxOK | ( | ) |
bool TAPDPulse::isPulseRatioMinOK | ( | ) |
bool TAPDPulse::isTimingOK | ( | ) |
bool TAPDPulse::isTimingQualOK | ( | ) |
Definition at line 123 of file TAPDPulse.cc.
References convertSQLiteXML::ok.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
void TAPDPulse::setPresamples | ( | int | presample | ) |
Definition at line 222 of file TAPDPulse.cc.
Referenced by EcalABAnalyzer::endJob(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
bool TAPDPulse::setPulse | ( | double * | adc | ) |
Definition at line 64 of file TAPDPulse.cc.
References ecalMGPA::adc(), and fileCollector::done.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
|
private |
Definition at line 14 of file TAPDPulse.h.
|
private |
Definition at line 15 of file TAPDPulse.h.
|
private |
Definition at line 12 of file TAPDPulse.h.
|
private |
Definition at line 13 of file TAPDPulse.h.
|
private |
Definition at line 20 of file TAPDPulse.h.
|
private |
Definition at line 22 of file TAPDPulse.h.
|
private |
Definition at line 21 of file TAPDPulse.h.
|
private |
Definition at line 17 of file TAPDPulse.h.
|
private |
Definition at line 16 of file TAPDPulse.h.
|
private |
Definition at line 19 of file TAPDPulse.h.
|
private |
Definition at line 18 of file TAPDPulse.h.
|
private |
Definition at line 25 of file TAPDPulse.h.
|
private |
Definition at line 28 of file TAPDPulse.h.
|
private |
Definition at line 29 of file TAPDPulse.h.
|
private |
Definition at line 26 of file TAPDPulse.h.
|
private |
Definition at line 27 of file TAPDPulse.h.
|
private |
Definition at line 30 of file TAPDPulse.h.