1 #ifndef _M_JITTERBYDELAY_HH_
2 #define _M_JITTERBYDELAY_HH_
50 #include "QDetChannelCollectionHandle.hh"
51 #include "QDetChannelCollection.hh"
63 void Init(Diana::QEvent& ev);
66 void Do(Diana::QEvent& ev);
95 std::map<int,std::map<int,double > >
fJitter;
110 void SaveJitter(
int ch,
double jitter,
double jitter_error);
Calculates mean value of OFDelay for all channels using pulser events (later used as a proxy for jitt...
std::map< int, std::map< int, double > > fJitter
Map of Jitter between couples of channels, calculated from deltaT above.
std::map< int, double > fDelay
std::string fOutput
Jitter output (file or DB, for the moment only file works)
int ProcessFloor(int pos, int tower, int floor)
ProcessFloor function.
std::map< int, Diana::QVector > fDelays
vector of QVectors containing values of OF_Delay for each channel
void SaveJitter(int ch, double jitter, double jitter_error)
SaveJitter function.
std::map< int, std::map< int, double > > fJitterRMS
Map of JitterRMS/N between couples of channels, calculated from deltaT above.
double fJitterSum
Stores sum of jitters between floors as the floors are being processed.
void Init(Diana::QEvent &ev)
Init method.
int fRefCh
Reference Channel.
int FindChanWithPosInTowerFloor(int pos, int tower, int floor)
FindPos function.
void Do(Diana::QEvent &ev)
Do method
double FindJitterRMS(int ch, int o_ch)
FindJitterRMS function.
std::map< int, double > fDelayRMS
std::set< int > fGoodChannels
Stores the channels with thermistor ranking >=1 as the floors are being processed.
double FindJitter(int ch, int o_ch)
FindJitter function.
double fJitterErrorSum
Stores sum of jitters errors (in quadrature) between floors as the floors are being processed.