![]() |
Diana Software
|
modifies pretrigger and lenght of an input QPulse More...
Classes | |
| struct | ChannelInfo |
Public Member Functions | |
| QDriver::Action | Init (Diana::QEventAssembler &ev) |
| Init method. More... | |
| QDriver::Action | Do (Diana::QEventAssembler &ev) |
| Do method. Declare and implement only one of the two versions. More... | |
| QDriver::Action | Done () |
| Done method. More... | |
Private Attributes | |
| int | fRun |
| Long64_t | fRunDuration |
| bool | fOverWritePulse |
| std::string | fInputOwner |
| Long64_t | fmSecLeft |
| Long64_t | fmSecRight |
| std::map< int, ChannelInfo > | fChannelInfos |
modifies pretrigger and lenght of an input QPulse
This driver module adds or subtract samples at the beginning and/or at the end of the input QPulse. This works if the QPulseFiller member of QPulse is Valid, i.e. if samples are loaded from continuous files.
driver CustomWaveform verbosity = info enable = true InputOwner = DAQ mSecLeft = 0 mSecRight = 0 Overwrite = true endmod
Definition at line 43 of file MCustomWaveform.hh.
| QDriver::Action MCustomWaveform::Do | ( | Diana::QEventAssembler & | ev | ) |
Do method. Declare and implement only one of the two versions.
Definition at line 35 of file MCustomWaveform.cc.
References channel, MCustomWaveform::ChannelInfo::fBlackSheep, MCustomWaveform::ChannelInfo::fCorrectednSecLeft, MCustomWaveform::ChannelInfo::fCorrectednSecRight, MCustomWaveform::ChannelInfo::fdt, QChannelRunData::fNumberOfSamples, QChannelRunData::fSamplingFrequency, QEvent::Get(), QEventAssembler::Get(), QPulseInfo::GetChannelId(), QEventAssembler::GetEvent(), QHeader::GetEventNumber(), QPulseInfo::GetMasterSample(), QPulse::GetPulseFiller(), QHeader::GetRun(), QSampleInfo::GetSampleIndex(), QPulseInfo::GetSamplesInfo(), rHandle, QPulse::SetPulseFiller(), QSampleInfo::SetSampleIndex(), QPulseFiller::SetStartTime(), and QPulseFiller::SetStopTime().
| QDriver::Action MCustomWaveform::Done | ( | ) |
Done method.
Definition at line 133 of file MCustomWaveform.cc.
| QDriver::Action MCustomWaveform::Init | ( | Diana::QEventAssembler & | ev | ) |
Init method.
Definition at line 16 of file MCustomWaveform.cc.
References QEvent::Add(), QEventAssembler::GetEvent(), and QEvent::Require().
|
private |
Definition at line 69 of file MCustomWaveform.hh.
|
private |
Definition at line 66 of file MCustomWaveform.hh.
|
private |
Definition at line 67 of file MCustomWaveform.hh.
|
private |
Definition at line 68 of file MCustomWaveform.hh.
|
private |
Definition at line 65 of file MCustomWaveform.hh.
|
private |
Definition at line 62 of file MCustomWaveform.hh.
|
private |
Definition at line 63 of file MCustomWaveform.hh.