Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
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
//
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::make_shared<fwlite::Run>(branchMap);
29
}
30
return
run_
;
31
}
32
33
}
// namespace fwlite
fwlite::RunFactory::run_
std::shared_ptr< fwlite::Run > run_
Definition:
RunFactory.h:41
RunFactory.h
fwlite::RunFactory::~RunFactory
virtual ~RunFactory()
Definition:
RunFactory.cc:24
fwlite::RunFactory::makeRun
std::shared_ptr< fwlite::Run > makeRun(std::shared_ptr< BranchMapReader > branchMap) const
Definition:
RunFactory.cc:26
fwlite
Definition:
TFileDirectory.h:16
fwlite::RunFactory::RunFactory
RunFactory()
Definition:
RunFactory.cc:23
Generated for CMSSW Reference Manual by
1.8.14