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
PhysicsTools
NanoAOD
plugins
rntuple
RNTupleFieldPtr.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_NanoAOD_RNTupleFieldPtr_h
2
#define PhysicsTools_NanoAOD_RNTupleFieldPtr_h
3
4
#include <ROOT/RNTupleModel.hxx>
5
using
ROOT::Experimental::RNTupleModel;
6
7
template
<
typename
T>
8
class
RNTupleFieldPtr
{
9
public
:
10
RNTupleFieldPtr
() =
default
;
11
explicit
RNTupleFieldPtr
(
const
std::string
&
name
,
const
std::string
&
desc
, RNTupleModel&
model
) :
m_name
(
name
) {
12
m_field
=
model
.MakeField<
T
>({
m_name
,
desc
});
13
}
14
void
fill
(
const
T
&
value
) { *
m_field
=
value
; }
15
const
std::string
&
getFieldName
()
const
{
return
m_name
; }
16
17
private
:
18
std::string
m_name
;
19
std::shared_ptr<T>
m_field
;
20
};
21
22
#endif
RNTupleFieldPtr::m_name
std::string m_name
Definition:
RNTupleFieldPtr.h:18
RNTupleFieldPtr::fill
void fill(const T &value)
Definition:
RNTupleFieldPtr.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RNTupleFieldPtr::getFieldName
const std::string & getFieldName() const
Definition:
RNTupleFieldPtr.h:15
RNTupleFieldPtr::RNTupleFieldPtr
RNTupleFieldPtr(const std::string &name, const std::string &desc, RNTupleModel &model)
Definition:
RNTupleFieldPtr.h:11
RNTupleFieldPtr
Definition:
RNTupleFieldPtr.h:8
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
RNTupleFieldPtr::m_field
std::shared_ptr< T > m_field
Definition:
RNTupleFieldPtr.h:19
value
Definition:
value.py:1
RNTupleFieldPtr::RNTupleFieldPtr
RNTupleFieldPtr()=default
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
T
long double T
Definition:
Basic3DVectorLD.h:48
ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi.model
model
Definition:
ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi.py:11
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14