Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
GENIE
src
ReWeight
GReWeightIORecord.cxx
Go to the documentation of this file.
1
2
#include <TRootIOCtor.h>
3
4
#include "
ReWeight/GReWeightIORecord.h
"
5
6
#include <cassert>
7
8
using namespace
genie
;
9
using namespace
genie::rew
;
10
11
ClassImp
(
GReWeightIORecord
)
12
13
GReWeightIORecord
::
GReWeightIORecord
()
14
: TObject(),
15
fOrigEvtNum(-1)
16
{
17
18
fRWResults.clear();
19
20
}
21
22
GReWeightIORecord::GReWeightIORecord
(
const
GReWeightIORecord
& rwrec )
23
: TObject()
24
{
25
26
this->
Copy
(rwrec);
27
28
}
29
30
GReWeightIORecord::GReWeightIORecord
( TRootIOCtor* )
31
: TObject(),
32
fOrigEvtNum
(-1)
33
{
34
35
fRWResults
.clear();
36
37
}
38
39
void
GReWeightIORecord::Reset
()
40
{
41
42
fOrigEvtNum
=-1;
43
fRWResults
.clear();
44
45
return
;
46
47
}
48
49
50
void
GReWeightIORecord::Copy
(
const
GReWeightIORecord
& rwrec )
51
{
52
53
this->
Reset
();
54
fOrigEvtNum
= rwrec.
fOrigEvtNum
;
55
fRWResults
= rwrec.
fRWResults
;
56
57
return
;
58
59
}
60
61
void
GReWeightIORecord::Insert
(
const
double
twk,
const
double
wt )
62
{
63
64
fRWResults
.push_back(
GReWeightInfo
(twk,wt) );
65
66
return
;
67
68
}
genie::rew::GReWeightIORecord::Insert
void Insert(const double, const double)
Definition:
GReWeightIORecord.cxx:61
genie
#include "Numerical/GSFunc.h"
Definition:
AlgCmp.h:26
genie::rew::GReWeightIORecord::fRWResults
std::vector< GReWeightInfo > fRWResults
Definition:
GReWeightIORecord.h:72
genie::rew::GReWeightIORecord::Copy
void Copy(const GReWeightIORecord &)
Definition:
GReWeightIORecord.cxx:50
genie::rew::GReWeightIORecord::fOrigEvtNum
int fOrigEvtNum
Definition:
GReWeightIORecord.h:71
genie::rew::GReWeightIORecord
Definition:
GReWeightIORecord.h:47
genie::rew::GReWeightIORecord::GReWeightIORecord
GReWeightIORecord()
genie::rew::GReWeightInfo
Definition:
GReWeightIORecord.h:13
genie::rew::GReWeightIORecord::Reset
void Reset()
Definition:
GReWeightIORecord.cxx:39
GReWeightIORecord.h
ClassImp
ClassImp(GReWeightIORecord) GReWeightIORecord
Definition:
GReWeightIORecord.cxx:11
genie::rew
Definition:
GReWeight.h:38
Generated by
1.8.11