![]() |
Diana Software
|
module to calculate amplitude of side pulses starting from the main pulse and the jitter More...
Public Member Functions | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev, const Diana::QEventList &neighbours) |
| Do method. Declare and implement only one of the two versions. More... | |
| void | Done () |
| Done method. More... | |
Private Attributes | |
| int | fDataset |
| std::string | fSamplesOwner |
| std::set< int > | fBlackList |
module to calculate amplitude of side pulses starting from the main pulse and the jitter
The module works on side pulses. For each side pulse, it identifies the maximum position of the OF-filtered main pulse (MaxPos), then it calculates SideAmplitude as the value of the OF-filtered side pulse at the position MaxPos+Jitter, where Jitter is the time jitter among the side and the main channel (calculated with the module JitterByCoincidence).
module SideAmplitude
enable = true
verbosity = info
JitterInput = ${ANADIR}/cuts/jitter_ds${DATASET}.txt
SamplesOwner = COF_Sync
TimeProfilingOn = true
endmod
Definition at line 46 of file MSideAmplitude.hh.
| void MSideAmplitude::Do | ( | Diana::QEvent & | ev, |
| const Diana::QEventList & | neighbours | ||
| ) |
Do method. Declare and implement only one of the two versions.
Definition at line 38 of file MSideAmplitude.cc.
References QChannelRunData::fADC2mV, QJitter::fJitter, QCOFData::fResolutionmV, QChannelRunData::fSamplingFrequency, QEvent::Get(), QPulseInfo::GetChannelId(), QRunData::GetChannelRunData(), Q_DOUBLE_DEFAULT, Q_INT_DEFAULT, and QEventList::Size().
| void MSideAmplitude::Done | ( | ) |
Done method.
Definition at line 139 of file MSideAmplitude.cc.
| void MSideAmplitude::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 20 of file MSideAmplitude.cc.
References QEvent::Add(), and QEvent::Require().
|
private |
Definition at line 61 of file MSideAmplitude.hh.
|
private |
Definition at line 59 of file MSideAmplitude.hh.
|
private |
Definition at line 60 of file MSideAmplitude.hh.