//////////////////////////////////////////////////////////////////// /// \class RAT::DataCleaning /// /// \brief Calls various data cleaning processors /// /// \author Richie Bonventre /// \contact Eric Marzec /// /// REVISION HISTORY:\n /// 19 July 2011 : Richie Bonventre - first version /// 13 Nov 2014 : Eric Marzec - Made myself contact person. /// /// \details This processor can be used to call other /// data cleaning processors using a mask. /// /// /// /// //////////////////////////////////////////////////////////////////// #ifndef __RAT_DataCleaning__ #define __RAT_DataCleaning__ #include #include #include namespace RAT { class DataCleaning : public Processor { public: DataCleaning(); virtual ~DataCleaning(){}; virtual void SetS(const std::string& param, const std::string& value); virtual void SetI(const std::string& param, const int value); void BeginOfRun( DS::Run& run ); void EndOfRun( DS::Run& run ); virtual Processor::Result DSEvent(DS::Run& run, DS::Entry& ds); std::vector GetNamedMask(std::string name); protected: std::vector fCutProcs; std::vector fAppliedCuts; std::vector fAddedCuts; std::vector fAddedMasks; DBLinkPtr fLBitMask; int fKey; }; } // namespace RAT #endif