//////////////////////////////////////////////////////////////////////// /// \class RAT::DQTriggerProc /// /// \brief Data quality trigger processor /// /// \author Ashley R. Back /// /// REVISION HISTORY:\n /// /// \details Carries out all the data quality checks relating to \n /// triggers. Looks at the occupancy/rate of specific trigger channels \n /// such as ESUM HI and NHIT 100. Also produces a trigger word summary \n /// plot for the run. /// //////////////////////////////////////////////////////////////////////// #ifndef __RAT_DQTriggerProc__ #define __RAT_DQTriggerProc__ #include #include #include #include #include class TH1D; namespace RAT { namespace DS { class Run; class Entry; class EV; } } namespace RAT { class DQTriggerProc : public DataQualityProc { public: DQTriggerProc(); virtual ~DQTriggerProc(); virtual void BeginOfRun( DS::Run& run ); virtual Processor::Result DSEvent( DS::Run& run, DS::Entry& ds ); virtual void EndOfRun( DS::Run& run ); protected: virtual Processor::Result Event( DS::Entry& ds, DS::EV& ev ); DBLinkPtr fDQChecks; /// fMissingGTIDs; /// fBitFlipGTIDs; /// fTrigTypeCounts; /// fTrigTypeRates; ///