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
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
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
SimDataFormats
GeneratorProducts
src
GenRunInfoProduct.cc
Go to the documentation of this file.
1
#include <iostream>
2
#include <algorithm>
3
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
#include "
SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h
"
7
8
using namespace
edm
;
9
using namespace
std
;
10
11
GenRunInfoProduct::GenRunInfoProduct
() : externalFilterEfficiency_(-1.) {}
12
13
GenRunInfoProduct::GenRunInfoProduct
(
GenRunInfoProduct
const
&
other
)
14
: internalXSec_(
other
.internalXSec_),
15
externalXSecLO_(
other
.externalXSecLO_),
16
externalXSecNLO_(
other
.externalXSecNLO_),
17
externalFilterEfficiency_(
other
.externalFilterEfficiency_) {}
18
19
bool
GenRunInfoProduct::isProductEqual
(
GenRunInfoProduct
const
&
other
)
const
{
20
bool
result
=
externalXSecLO_
==
other
.externalXSecLO_ &&
externalXSecNLO_
==
other
.externalXSecNLO_ &&
21
externalFilterEfficiency_
==
other
.externalFilterEfficiency_;
22
if
(not
result
) {
23
edm::LogWarning
(
"GenRunInfoProduct|ProductsNotMergeable"
)
24
<<
"You are merging runs with different cross-sections and/or "
25
"filter efficiencies (from GenRunInfoProduct)\n"
26
"The resulting cross-section will not be consistent."
27
<< std::endl;
28
}
29
30
return
result
;
31
}
GenRunInfoProduct::isProductEqual
bool isProductEqual(const GenRunInfoProduct &other) const
Definition:
GenRunInfoProduct.cc:19
MessageLogger.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition:
MessageLogger.h:122
GenRunInfoProduct.h
trackingPlots.other
other
Definition:
trackingPlots.py:1460
GenRunInfoProduct
Definition:
GenRunInfoProduct.h:8
GenRunInfoProduct::externalFilterEfficiency_
double externalFilterEfficiency_
Definition:
GenRunInfoProduct.h:64
std
Definition:
JetResolutionObject.h:76
GenRunInfoProduct::externalXSecNLO_
XSec externalXSecNLO_
Definition:
GenRunInfoProduct.h:63
GenRunInfoProduct::externalXSecLO_
XSec externalXSecLO_
Definition:
GenRunInfoProduct.h:63
GenRunInfoProduct::GenRunInfoProduct
GenRunInfoProduct()
Definition:
GenRunInfoProduct.cc:11
mps_fire.result
result
Definition:
mps_fire.py:311
Generated for CMSSW Reference Manual by
1.8.16