//////////////////////////////////////////////////////////////////// /// \class RAT::ZeroZeroCut /// /// \brief Flags zerozero events for data cleaning /// /// \author Richie Bonventre /// \contact Eric Marzec /// /// REVISION HISTORY:\n /// 2 August 2011 : Richie Bonventre - first version /// 13 Nov 2014 : Eric Marzec - Made myself contact person. /// /// \details This processor tags "zerozero" events. These are /// all events where the bottom two digits of the gtid are 0. /// There is a rollover glitch in the counters for the gtid /// that causes this to occur sometimes, so we can't be sure /// what the actual gtid of any events with 00 are. /// /// /// /// //////////////////////////////////////////////////////////////////// #ifndef __RAT_ZeroZeroCut__ #define __RAT_ZeroZeroCut__ #include #include #include namespace RAT { class ZeroZeroCut : public DataCleaningProc { public: ZeroZeroCut() : DataCleaningProc("zerozerocut",1){}; virtual ~ZeroZeroCut(){}; virtual Processor::Result DSEvent(DS::Run& run, DS::Entry& ds); protected: virtual Processor::Result Event(DS::Entry& ds, DS::EV& ev); }; } // namespace RAT #endif