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 
21 #if !defined(__CINT__) && !defined(__MAKECINT__)
22 
23 #include <memory>
24 
26 
27 namespace fwlite {
28  class RunFactory {
29  public:
30  RunFactory();
31  virtual ~RunFactory();
32 
33  // ---------- const member functions ---------------------
34  std::shared_ptr<fwlite::Run> makeRun(std::shared_ptr<BranchMapReader> branchMap) const;
35 
36  private:
37  RunFactory(const RunFactory&); // stop default
38 
39  const RunFactory& operator=(const RunFactory&); // stop default
40  mutable std::shared_ptr<fwlite::Run> run_;
41 
42 
43  // ---------- member data --------------------------------
44  };
45 }
46 
47 #endif /*__CINT__ */
48 
49 #endif
std::shared_ptr< fwlite::Run > run_
Definition: RunFactory.h:40
std::shared_ptr< fwlite::Run > makeRun(std::shared_ptr< BranchMapReader > branchMap) const
Definition: RunFactory.cc:26
virtual ~RunFactory()
Definition: RunFactory.cc:24
const RunFactory & operator=(const RunFactory &)