00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: XtcInputModule.cpp 7696 2014-02-27 00:40:59Z salnikov@SLAC.STANFORD.EDU $ 00004 // 00005 // Description: 00006 // Class XtcInputModule... 00007 // 00008 // Author List: 00009 // Andrei Salnikov 00010 // 00011 //------------------------------------------------------------------------ 00012 00013 //----------------------- 00014 // This Class's Header -- 00015 //----------------------- 00016 #include "PSXtcInput/XtcInputModule.h" 00017 00018 //----------------- 00019 // C/C++ Headers -- 00020 //----------------- 00021 #include <boost/make_shared.hpp> 00022 00023 //------------------------------- 00024 // Collaborating Class Headers -- 00025 //------------------------------- 00026 #include "PSXtcInput/DgramSourceFile.h" 00027 00028 //----------------------------------------------------------------------- 00029 // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- 00030 //----------------------------------------------------------------------- 00031 00032 using namespace PSXtcInput; 00033 PSANA_INPUT_MODULE_FACTORY(XtcInputModule) 00034 00035 00036 // ---------------------------------------- 00037 // -- Public Function Member Definitions -- 00038 // ---------------------------------------- 00039 00040 namespace PSXtcInput { 00041 00042 //---------------- 00043 // Constructors -- 00044 //---------------- 00045 XtcInputModule::XtcInputModule (const std::string& name) 00046 : XtcInputModuleBase(name, boost::make_shared<DgramSourceFile>(name)) 00047 { 00048 } 00049 00050 //-------------- 00051 // Destructor -- 00052 //-------------- 00053 XtcInputModule::~XtcInputModule () 00054 { 00055 } 00056 00057 } // namespace PSXtcInput