CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DataFormats/FWLite/interface/RunFactory.h

Go to the documentation of this file.
00001 #ifndef DataFormats_FWLite_RunFactory_h
00002 #define DataFormats_FWLite_RunFactory_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     DataFormats/FWLite
00006 // Class  :     RunFactory
00007 //
00016 //
00017 // Original Author:
00018 //         Created:  Wed Feb 10 11:15:16 CST 2010
00019 //
00020 #if !defined(__CINT__) && !defined(__MAKECINT__)
00021 
00022 #include "DataFormats/FWLite/interface/Run.h"
00023 
00024 #include "boost/shared_ptr.hpp"
00025 
00026 namespace fwlite {
00027     class RunFactory {
00028         public:
00029             RunFactory();
00030             virtual ~RunFactory();
00031 
00032             // ---------- const member functions ---------------------
00033             boost::shared_ptr<fwlite::Run> makeRun(boost::shared_ptr<BranchMapReader> branchMap) const;
00034 
00035         private:
00036             RunFactory(const RunFactory&); // stop default
00037 
00038             const RunFactory& operator=(const RunFactory&); // stop default
00039             mutable boost::shared_ptr<fwlite::Run> run_;
00040 
00041 
00042             // ---------- member data --------------------------------
00043     };
00044 }
00045 
00046 #endif /*__CINT__ */
00047 
00048 #endif