Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
FWLite
src
RunFactory.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: DataFormats/FWLite
4
// Class : RunFactory
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author:
10
// Created: Wed Feb 10 11:15:18 CST 2010
11
// $Id: RunFactory.cc,v 1.3 2010/07/24 14:14:48 wmtan Exp $
12
//
13
14
// system include files
15
16
// user include files
17
#include "
DataFormats/FWLite/interface/RunFactory.h
"
18
19
namespace
fwlite {
20
21
//
22
// constructors and destructor
23
//
24
RunFactory::RunFactory
() {}
25
RunFactory::~RunFactory
() {}
26
27
boost::shared_ptr<fwlite::Run>
RunFactory::makeRun
(boost::shared_ptr<BranchMapReader> branchMap)
const
{
28
if
(not
run_
) {
29
run_ = boost::shared_ptr<fwlite::Run>(
new
fwlite::Run
(branchMap));
30
}
31
return
run_
;
32
}
33
34
}
fwlite::RunFactory::run_
boost::shared_ptr< fwlite::Run > run_
Definition:
RunFactory.h:39
RunFactory.h
fwlite::RunFactory::~RunFactory
virtual ~RunFactory()
Definition:
RunFactory.cc:25
PDRates.Run
Run
Definition:
PDRates.py:131
fwlite::RunFactory::makeRun
boost::shared_ptr< fwlite::Run > makeRun(boost::shared_ptr< BranchMapReader > branchMap) const
Definition:
RunFactory.cc:27
fwlite::RunFactory::RunFactory
RunFactory()
Definition:
RunFactory.cc:24
Generated for CMSSW Reference Manual by
1.8.5