#ifndef _FindTimeOffset_h #define _FindTimeOffset_h #include #include #include class TFile; class TObjArray; class TCanvas; class TTree; namespace evt{ class Event; } namespace fevt{ class FEvent; class Eye; } /** \class FindTimeOffset \brief Module to find the SD/FD time offset using inclined lasers \author Jose Bellido \date November 2010 */ class FindTimeOffset : public fwk::VModule{ public: FindTimeOffset(); virtual ~FindTimeOffset(); fwk::VModule::ResultFlag Init(); fwk::VModule::ResultFlag Run(evt::Event& event); fwk::VModule::ResultFlag Finish(); private : TFile* fOutputFile; std::string fEventId; void ExamineFEvent(const evt::Event& event); void FindOffset(const fevt::Eye& eye); evt::Event* fCurEvent; bool fIsCeleste; bool fIsRamiro; REGISTER_MODULE("FindTimeOffset",FindTimeOffset); }; #endif // Configure (x)emacs for this file ... // Local Variables: // mode:c++ // compile-command: "make -k" // End: