//////////////////////////////////////////////////////////////////// /// \class RAT::FECD /// /// \brief Simulate the fecd channels (crate 17, card 15) /// /// \author Gabriel Orebi Gann /// /// REVISION HISTORY:\n /// 19 May 2010 : G Orebi Gann --- First version. /// 10 Nov 2016 : N Barros -- Added BeginOfRun method to access the database /// outside the constructor, at a point where /// the run number is known and the database is /// able to fetch the appropriate table /// /// /// \details /// ////////////////////////////////////////////////////////////////////// // #ifndef __RAT_FECD__ #define __RAT_FECD__ #include #include #include #include namespace RAT { class FECD{ public: FECD(); virtual ~FECD(); void SetRawTrigTime(double rawTrigTime); void SendRawTrig(DS::MC& mc); void BeginOfRun(); void EndOfRun() { }; private: double fRawTriggerTime; double fFECDDelay; int fCrate; int fCard; }; } // namespace RAT #endif