#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) | |
~TAPDPulse () override | |
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 | ( | ) |
TAPDPulse::TAPDPulse | ( | int | nsamples, |
int | presample, | ||
int | firstsample, | ||
int | lastsample, | ||
int | timingcutlow, | ||
int | timingcuthigh, | ||
int | timingquallow, | ||
int | timingqualhigh, | ||
double | ratiomincutlow, | ||
double | ratiomincuthigh, | ||
double | ratiomaxcutlow | ||
) |
|
override |
Definition at line 44 of file TAPDPulse.cc.
bool TAPDPulse::areFitSamplesOK | ( | ) |
bool TAPDPulse::arePulseRatioOK | ( | ) |
Definition at line 171 of file TAPDPulse.cc.
References Max(), Min(), convertSQLiteXML::ok, bTagCommon_cff::ratioMax, and bTagCommon_cff::ratioMin.
double * TAPDPulse::getAdcWithoutPedestal | ( | ) |
Definition at line 237 of file TAPDPulse.cc.
References mps_fire::i.
Referenced by EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
double TAPDPulse::getDelta | ( | int | n1, |
int | n2 | ||
) |
Definition at line 116 of file TAPDPulse.cc.
References cms::cuda::assert(), and dumpMFGeometry_cfg::delta.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
double TAPDPulse::getMax | ( | ) |
int TAPDPulse::getMaxSample | ( | ) |
Definition at line 111 of file TAPDPulse.cc.
double TAPDPulse::getPedestal | ( | ) |
double TAPDPulse::getRatio | ( | int | n1, |
int | n2 | ||
) |
Definition at line 123 of file TAPDPulse.cc.
References cms::cuda::assert(), and particleFlowDisplacedVertex_cfi::ratio.
|
private |
bool TAPDPulse::isPulseOK | ( | ) |
Definition at line 162 of file TAPDPulse.cc.
References convertSQLiteXML::ok.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
bool TAPDPulse::isPulseRatioMaxOK | ( | ) |
Definition at line 191 of file TAPDPulse.cc.
References Max(), convertSQLiteXML::ok, and bTagCommon_cff::ratioMax.
bool TAPDPulse::isPulseRatioMinOK | ( | ) |
Definition at line 207 of file TAPDPulse.cc.
References Min(), convertSQLiteXML::ok, and bTagCommon_cff::ratioMin.
bool TAPDPulse::isTimingOK | ( | ) |
bool TAPDPulse::isTimingQualOK | ( | ) |
Definition at line 145 of file TAPDPulse.cc.
References convertSQLiteXML::ok.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().
void TAPDPulse::setPresamples | ( | int | presample | ) |
Definition at line 251 of file TAPDPulse.cc.
Referenced by EcalABAnalyzer::endJob(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
bool TAPDPulse::setPulse | ( | double * | adc | ) |
Definition at line 86 of file TAPDPulse.cc.
References ecalLiteDTU::adc(), and fileCollector::done.
Referenced by EcalABAnalyzer::analyze(), EcalLaserAnalyzer2::analyze(), EcalLaserAnalyzer::analyze(), EcalLaserAnalyzer2::endJob(), and EcalLaserAnalyzer::endJob().
|
private |
Definition at line 11 of file TAPDPulse.h.
|
private |
Definition at line 12 of file TAPDPulse.h.
|
private |
Definition at line 9 of file TAPDPulse.h.
|
private |
Definition at line 10 of file TAPDPulse.h.
|
private |
Definition at line 17 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 14 of file TAPDPulse.h.
|
private |
Definition at line 13 of file TAPDPulse.h.
|
private |
Definition at line 16 of file TAPDPulse.h.
|
private |
Definition at line 15 of file TAPDPulse.h.
|
private |
Definition at line 21 of file TAPDPulse.h.
|
private |
Definition at line 24 of file TAPDPulse.h.
|
private |
Definition at line 25 of file TAPDPulse.h.
|
private |
Definition at line 22 of file TAPDPulse.h.
|
private |
Definition at line 23 of file TAPDPulse.h.
|
private |
Definition at line 26 of file TAPDPulse.h.