CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
fwlite::RunFactory Class Reference

#include <RunFactory.h>

Public Member Functions

boost::shared_ptr< fwlite::RunmakeRun (boost::shared_ptr< BranchMapReader > branchMap) const
 
 RunFactory ()
 
virtual ~RunFactory ()
 

Private Member Functions

const RunFactoryoperator= (const RunFactory &)
 
 RunFactory (const RunFactory &)
 

Private Attributes

boost::shared_ptr< fwlite::Runrun_
 

Detailed Description

Definition at line 27 of file RunFactory.h.

Constructor & Destructor Documentation

RunFactory::RunFactory ( )

Definition at line 24 of file RunFactory.cc.

24 {}
RunFactory::~RunFactory ( )
virtual

Definition at line 25 of file RunFactory.cc.

25 {}
fwlite::RunFactory::RunFactory ( const RunFactory )
private

Member Function Documentation

boost::shared_ptr< fwlite::Run > RunFactory::makeRun ( boost::shared_ptr< BranchMapReader branchMap) const

Definition at line 27 of file RunFactory.cc.

References PDRates::Run, and run_.

27  {
28  if (not run_) {
29  run_ = boost::shared_ptr<fwlite::Run>(new fwlite::Run(branchMap));
30  }
31  return run_;
32  }
boost::shared_ptr< fwlite::Run > run_
Definition: RunFactory.h:39
const RunFactory& fwlite::RunFactory::operator= ( const RunFactory )
private

Member Data Documentation

boost::shared_ptr<fwlite::Run> fwlite::RunFactory::run_
mutableprivate

Definition at line 39 of file RunFactory.h.

Referenced by makeRun().