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
L1Trigger
L1TGlobal
src
PrescalesVetosHelper.cc
Go to the documentation of this file.
1
#include "
L1Trigger/L1TGlobal/interface/PrescalesVetosHelper.h
"
2
3
using namespace
l1t
;
4
5
const
PrescalesVetosHelper
*
PrescalesVetosHelper::readFromEventSetup
(
const
L1TGlobalPrescalesVetos
* es) {
6
return
new
PrescalesVetosHelper
(es);
7
}
8
9
PrescalesVetosHelper
*
PrescalesVetosHelper::readAndWriteFromEventSetup
(
const
L1TGlobalPrescalesVetos
* es) {
10
PrescalesVetosHelper
*
x
=
new
PrescalesVetosHelper
(es);
11
x
->useCopy();
12
return
x
;
13
}
14
15
PrescalesVetosHelper::PrescalesVetosHelper
(
L1TGlobalPrescalesVetos
*
w
) {
16
write_
=
w
;
17
check_write
();
18
we_own_write_
=
false
;
19
write_
->
version_
=
VERSION_
;
20
read_
=
write_
;
21
}
22
23
PrescalesVetosHelper::PrescalesVetosHelper
(
const
L1TGlobalPrescalesVetos
* es) {
24
read_
= es;
25
write_
=
nullptr
;
26
}
27
28
void
PrescalesVetosHelper::useCopy
() {
29
write_
=
new
L1TGlobalPrescalesVetos
(*
read_
);
30
we_own_write_
=
true
;
31
read_
=
write_
;
32
}
33
34
PrescalesVetosHelper::~PrescalesVetosHelper
() {
35
if
(
we_own_write_
&&
write_
)
36
delete
write_
;
37
}
w
T w() const
Definition:
extBasic3DVector.h:225
l1t::PrescalesVetosHelper::PrescalesVetosHelper
PrescalesVetosHelper(L1TGlobalPrescalesVetos *w)
Definition:
PrescalesVetosHelper.cc:15
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::PrescalesVetosHelper::~PrescalesVetosHelper
~PrescalesVetosHelper()
Definition:
PrescalesVetosHelper.cc:34
l1t::PrescalesVetosHelper::useCopy
void useCopy()
Definition:
PrescalesVetosHelper.cc:28
PrescalesVetosHelper.h
l1t::PrescalesVetosHelper::readFromEventSetup
static const PrescalesVetosHelper * readFromEventSetup(const L1TGlobalPrescalesVetos *es)
Definition:
PrescalesVetosHelper.cc:5
l1t::PrescalesVetosHelper
Definition:
PrescalesVetosHelper.h:32
L1TGlobalPrescalesVetos::version_
unsigned int version_
Definition:
L1TGlobalPrescalesVetos.h:20
l1t::PrescalesVetosHelper::write_
L1TGlobalPrescalesVetos * write_
Definition:
PrescalesVetosHelper.h:78
L1TGlobalPrescalesVetos
Definition:
L1TGlobalPrescalesVetos.h:13
l1t::PrescalesVetosHelper::we_own_write_
bool we_own_write_
Definition:
PrescalesVetosHelper.h:79
l1t::PrescalesVetosHelper::VERSION_
Definition:
PrescalesVetosHelper.h:34
x
float x
Definition:
beamSpotDipStandalone.cc:55
l1t::PrescalesVetosHelper::read_
const L1TGlobalPrescalesVetos * read_
Definition:
PrescalesVetosHelper.h:77
l1t::PrescalesVetosHelper::readAndWriteFromEventSetup
static PrescalesVetosHelper * readAndWriteFromEventSetup(const L1TGlobalPrescalesVetos *es)
Definition:
PrescalesVetosHelper.cc:9
l1t::PrescalesVetosHelper::check_write
void check_write()
Definition:
PrescalesVetosHelper.h:75
PrescalesVetos_cff.L1TGlobalPrescalesVetos
L1TGlobalPrescalesVetos
Definition:
PrescalesVetos_cff.py:14
Generated for CMSSW Reference Manual by
1.8.14