//////////////////////////////////////////////////////////////////////// /// \class RAT::DQTimeProc /// /// \brief Data quality timing processor /// /// \author Ashley R. Back /// /// REVISION HISTORY:\n /// 2014-11-28 : - Updated for FTB processing /// 2016-01-28 : - Added check between the 10Mhz clock and the Universal time. /// 2017-11-17 : - Added extra parameters to be saved in the ratdb tables. /// \details Executes all the data quality checks concerned with timing\n /// and event rates. Calculates the event separation (delta-t)\n /// between events and checks, for each, that it is positive\n /// and greater than the trigger window. Also calculates the\n /// average event rate, over the full run. /// //////////////////////////////////////////////////////////////////////// #ifndef __RAT_DQTimeProc__ #define __RAT_DQTimeProc__ class TH1D; #include #include #include #include #include namespace RAT { namespace DS { class Run; class Entry; class EV; } } #include namespace RAT { class DQTimeProc : public DataQualityProc { public: DQTimeProc(); virtual ~DQTimeProc(); virtual void BeginOfRun( DS::Run& run ); struct TimingData { int fGTID; /// fTimingDataRecords; }; }// namespace RAT #endif // __RAT_DQTimeProc__