![]() |
Diana Software
|
Calculates mean value of OFDelay for all channels using pulser events (later used as a proxy for jitter) More...
Public Member Functions | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev) |
| Do method More... | |
| void | Done () |
| Done method. More... | |
Private Member Functions | |
| void | SaveJitter (int ch, double jitter, double jitter_error) |
| SaveJitter function. More... | |
| double | FindJitter (int ch, int o_ch) |
| FindJitter function. More... | |
| double | FindJitterRMS (int ch, int o_ch) |
| FindJitterRMS function. More... | |
| int | FindChanWithPosInTowerFloor (int pos, int tower, int floor) |
| FindPos function. More... | |
| int | ProcessFloor (int pos, int tower, int floor) |
| ProcessFloor function. More... | |
Private Attributes | |
| std::string | fOutput |
| Jitter output (file or DB, for the moment only file works) More... | |
| int | fDataset |
| Dataset. More... | |
| int | fRun |
| int | fTower |
| int | fRefCh |
| Reference Channel. More... | |
| bool | fRefCh_IsSet |
| bool | fLastFloor |
| std::string | fOFLabel |
| std::map< int, Diana::QVector > | fDelays |
| vector of QVectors containing values of OF_Delay for each channel More... | |
| std::map< int, double > | fDelay |
| std::map< int, double > | fDelayRMS |
| std::map< int, std::map< int, double > > | fJitter |
| Map of Jitter between couples of channels, calculated from deltaT above. More... | |
| std::map< int, std::map< int, double > > | fJitterRMS |
| Map of JitterRMS/N between couples of channels, calculated from deltaT above. More... | |
| std::set< int > | fGoodChannels |
| Stores the channels with thermistor ranking >=1 as the floors are being processed. More... | |
| double | fJitterSum |
| Stores sum of jitters between floors as the floors are being processed. More... | |
| double | fJitterErrorSum |
| Stores sum of jitters errors (in quadrature) between floors as the floors are being processed. More... | |
Calculates mean value of OFDelay for all channels using pulser events (later used as a proxy for jitter)
Calculates mean value of OFDelay for all channels using pulser events (later used as a proxy for jitter) Prior to the module, the user should use a filter SelectStabPulser to select only stab pulser events, for example:
filter SelectStabPulser verbosity = info enable = true Logic = AND ExtraLabel = JitterByDelay endmod
module JitterByDelay
verbosity = info
enable = true
Tower = ${TOWER}
Output = ${SHARED_SCRATCH}/cuts/ds${DATASET}/jitterbydelay_ds${DATASET}_${TOWER}.txt
OFLabel = FilteredPulseAmplitude_OF
TimeProfilingOn = true
endmod
Definition at line 58 of file MJitterByDelay.hh.
| void MJitterByDelay::Do | ( | Diana::QEvent & | ev | ) |
Do method
Definition at line 49 of file MJitterByDelay.cc.
References channel, QEvent::Get(), QPulseInfo::GetChannelId(), and QHeader::GetRun().
| void MJitterByDelay::Done | ( | ) |
|
private |
|
private |
FindJitter function.
Definition at line 182 of file MJitterByDelay.cc.
|
private |
FindJitterRMS function.
Definition at line 195 of file MJitterByDelay.cc.
| void MJitterByDelay::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 22 of file MJitterByDelay.cc.
References Q_INT_DEFAULT, and QEvent::Require().
|
private |
ProcessFloor function.
Definition at line 255 of file MJitterByDelay.cc.
|
private |
SaveJitter function.
Definition at line 237 of file MJitterByDelay.cc.
References QJitter::Clear(), QJitter::fJitter, QJitter::fJitterError, QJitter::fRefChannel, QJitterHandle::SetCalibLabel(), and QJitterHandle::SetCalibVersion().
|
private |
Dataset.
Definition at line 77 of file MJitterByDelay.hh.
|
private |
Definition at line 91 of file MJitterByDelay.hh.
|
private |
Definition at line 92 of file MJitterByDelay.hh.
|
private |
vector of QVectors containing values of OF_Delay for each channel
Definition at line 90 of file MJitterByDelay.hh.
|
private |
Stores the channels with thermistor ranking >=1 as the floors are being processed.
Definition at line 101 of file MJitterByDelay.hh.
|
private |
Map of Jitter between couples of channels, calculated from deltaT above.
Definition at line 95 of file MJitterByDelay.hh.
|
private |
Stores sum of jitters errors (in quadrature) between floors as the floors are being processed.
Definition at line 107 of file MJitterByDelay.hh.
|
private |
Map of JitterRMS/N between couples of channels, calculated from deltaT above.
Definition at line 98 of file MJitterByDelay.hh.
|
private |
Stores sum of jitters between floors as the floors are being processed.
Definition at line 104 of file MJitterByDelay.hh.
|
private |
Definition at line 85 of file MJitterByDelay.hh.
|
private |
Definition at line 87 of file MJitterByDelay.hh.
|
private |
Jitter output (file or DB, for the moment only file works)
Definition at line 74 of file MJitterByDelay.hh.
|
private |
Reference Channel.
Definition at line 82 of file MJitterByDelay.hh.
|
private |
Definition at line 84 of file MJitterByDelay.hh.
|
private |
Definition at line 78 of file MJitterByDelay.hh.
|
private |
Definition at line 79 of file MJitterByDelay.hh.