CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RunFactory.h
Go to the documentation of this file.
1 #ifndef DataFormats_FWLite_RunFactory_h
2 #define DataFormats_FWLite_RunFactory_h
3 // -*- C++ -*-
4 //
5 // Package: DataFormats/FWLite
6 // Class : RunFactory
7 //
16 //
17 // Original Author:
18 // Created: Wed Feb 10 11:15:16 CST 2010
19 //
20 #if !defined(__CINT__) && !defined(__MAKECINT__)
21 
23 
24 #include "boost/shared_ptr.hpp"
25 
26 namespace fwlite {
27  class RunFactory {
28  public:
29  RunFactory();
30  virtual ~RunFactory();
31 
32  // ---------- const member functions ---------------------
33  boost::shared_ptr<fwlite::Run> makeRun(boost::shared_ptr<BranchMapReader> branchMap) const;
34 
35  private:
36  RunFactory(const RunFactory&); // stop default
37 
38  const RunFactory& operator=(const RunFactory&); // stop default
39  mutable boost::shared_ptr<fwlite::Run> run_;
40 
41 
42  // ---------- member data --------------------------------
43  };
44 }
45 
46 #endif /*__CINT__ */
47 
48 #endif
boost::shared_ptr< fwlite::Run > run_
Definition: RunFactory.h:39
virtual ~RunFactory()
Definition: RunFactory.cc:24
const RunFactory & operator=(const RunFactory &)
boost::shared_ptr< fwlite::Run > makeRun(boost::shared_ptr< BranchMapReader > branchMap) const
Definition: RunFactory.cc:26