Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
//
12
13
// system include files
14
15
// user include files
16
#include "
DataFormats/FWLite/interface/RunFactory.h
"
17
18
namespace
fwlite {
19
20
//
21
// constructors and destructor
22
//
23
RunFactory::RunFactory
() {}
24
RunFactory::~RunFactory
() {}
25
26
std::shared_ptr<fwlite::Run>
RunFactory::makeRun
(std::shared_ptr<BranchMapReader> branchMap)
const
{
27
if
(not
run_
) {
28
run_ = std::shared_ptr<fwlite::Run>(
new
fwlite::Run
(branchMap));
29
}
30
return
run_
;
31
}
32
33
}
fwlite::RunFactory::run_
std::shared_ptr< fwlite::Run > run_
Definition:
RunFactory.h:41
RunFactory.h
fwlite::RunFactory::makeRun
std::shared_ptr< fwlite::Run > makeRun(std::shared_ptr< BranchMapReader > branchMap) const
Definition:
RunFactory.cc:26
fwlite::RunFactory::~RunFactory
virtual ~RunFactory()
Definition:
RunFactory.cc:24
PDRates.Run
Run
Definition:
PDRates.py:131
fwlite::RunFactory::RunFactory
RunFactory()
Definition:
RunFactory.cc:23
Generated for CMSSW Reference Manual by
1.8.5