Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
GENIE
src
ReWeight
GReWeightIOBranchDesc.cxx
Go to the documentation of this file.
1
2
#include <TRootIOCtor.h>
3
4
#include "
ReWeight/GReWeightIOBranchDesc.h
"
5
6
#include <cassert>
7
8
using namespace
genie
;
9
using namespace
genie::rew
;
10
11
ClassImp
(
GReWeightIOBranchDesc
)
12
13
GReWeightIOBranchDesc
::
GReWeightIOBranchDesc
(
const
std
::
string
&
name
,
14
const
double
mean
,
15
const
double
sigpls,
const
double
sigmin )
16
: TObject()
17
{
18
19
SetParameter( name, mean, sigpls, sigmin );
20
21
}
22
23
GReWeightIOBranchDesc::GReWeightIOBranchDesc
(
const
GReWeightIOBranchDesc
& brdesc )
24
: TObject()
25
{
26
27
fParameterName
= brdesc.
fParameterName
;
28
fParameterMean
= brdesc.
fParameterMean
;
29
fParameterSigmaPlus
= brdesc.
fParameterSigmaPlus
;
30
fParameterSigmaMinus
= brdesc.
fParameterSigmaMinus
;
31
32
}
33
34
GReWeightIOBranchDesc::GReWeightIOBranchDesc
( TRootIOCtor* )
35
: TObject(),
fParameterName
(),
fParameterMean
(0.),
fParameterSigmaPlus
(0.),
fParameterSigmaMinus
(0.)
36
{
37
}
38
39
void
GReWeightIOBranchDesc::SetParameter
(
const
std::string
&
name
,
40
const
double
mean
,
41
const
double
sigpls,
const
double
sigmin )
42
{
43
44
fParameterName
=
name
;
45
fParameterMean
=
mean
;
46
fParameterSigmaPlus
= sigpls;
47
fParameterSigmaMinus
= sigmin;
48
49
return
;
50
51
}
freeze_graph.const
const
Definition:
freeze_graph.py:179
genie
#include "Numerical/GSFunc.h"
Definition:
AlgCmp.h:26
string
std::string string
Definition:
nybbler.cc:12
genie::rew::GReWeightIOBranchDesc::GReWeightIOBranchDesc
GReWeightIOBranchDesc()
Definition:
GReWeightIOBranchDesc.h:19
genie::rew::GReWeightIOBranchDesc::fParameterSigmaMinus
double fParameterSigmaMinus
Definition:
GReWeightIOBranchDesc.h:40
GReWeightIOBranchDesc.h
std
STL namespace.
genie::rew::GReWeightIOBranchDesc::fParameterSigmaPlus
double fParameterSigmaPlus
Definition:
GReWeightIOBranchDesc.h:39
keras_to_tensorflow.name
name
Definition:
keras_to_tensorflow.py:129
genie::rew::GReWeightIOBranchDesc::fParameterMean
double fParameterMean
Definition:
GReWeightIOBranchDesc.h:38
genie::rew::GReWeightIOBranchDesc::fParameterName
std::string fParameterName
Definition:
GReWeightIOBranchDesc.h:37
genie::rew::GReWeightIOBranchDesc
Definition:
GReWeightIOBranchDesc.h:14
ClassImp
ClassImp(GReWeightIOBranchDesc) GReWeightIOBranchDesc
Definition:
GReWeightIOBranchDesc.cxx:11
genie::rew::GReWeightIOBranchDesc::SetParameter
void SetParameter(const std::string &, const double, const double, const double)
Definition:
GReWeightIOBranchDesc.cxx:39
cet::sqlite::mean
double mean(sqlite3 *db, std::string const &table_name, std::string const &column_name)
Definition:
statistics.cc:15
genie::rew
Definition:
GReWeight.h:38
Generated by
1.8.11