Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
Ntuple
NtpMCRecHeader.cxx
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*
3
Copyright (c) 2003-2020, The GENIE Collaboration
4
For the full text of the license visit http://copyright.genie-mc.org
5
6
Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
7
University of Liverpool & STFC Rutherford Appleton Laboratory
8
*/
9
//____________________________________________________________________________
10
11
#include "
Framework/Ntuple/NtpMCRecHeader.h
"
12
13
using namespace
genie
;
14
15
ClassImp
(
NtpMCRecHeader
)
16
17
//____________________________________________________________________________
18
namespace
genie
{
19
ostream &
operator<<
(ostream&
stream
,
const
NtpMCRecHeader
& hdr)
20
{
21
hdr.
PrintToStream
(stream);
22
return
stream
;
23
}
24
}
25
//____________________________________________________________________________
26
NtpMCRecHeader::NtpMCRecHeader
() :
27
TObject()
28
{
29
this->
Init
();
30
}
31
//____________________________________________________________________________
32
NtpMCRecHeader::NtpMCRecHeader
(
const
NtpMCRecHeader
& hdr) :
33
TObject()
34
{
35
this->
Copy
(hdr);
36
}
37
//____________________________________________________________________________
38
NtpMCRecHeader::~NtpMCRecHeader
()
39
{
40
41
}
42
//____________________________________________________________________________
43
void
NtpMCRecHeader::PrintToStream
(ostream &
stream
)
const
44
{
45
stream <<
"\n\n*** Event #: "
<< this->
ievent
;
46
}
47
//____________________________________________________________________________
48
void
NtpMCRecHeader::Copy
(
const
NtpMCRecHeader
& hdr)
49
{
50
this->
ievent
= hdr.
ievent
;
51
}
52
//____________________________________________________________________________
53
void
NtpMCRecHeader::Init
(
void
)
54
{
55
this->
ievent
= 0;
56
}
57
//____________________________________________________________________________
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
NtpMCRecHeader.h
ClassImp
ClassImp(NtpMCRecHeader) namespace genie
Definition:
NtpMCRecHeader.cxx:15
genie::NtpMCRecHeader::Init
void Init(void)
Definition:
NtpMCRecHeader.cxx:53
genie::NtpMCRecHeader::ievent
unsigned int ievent
Event number.
Definition:
NtpMCRecHeader.h:49
generate_datataset.stream
stream
Definition:
generate_datataset.py:30
genie::NtpMCRecHeader::~NtpMCRecHeader
virtual ~NtpMCRecHeader()
Definition:
NtpMCRecHeader.cxx:38
genie::NtpMCRecHeader::Copy
void Copy(const NtpMCRecHeader &hdr)
Definition:
NtpMCRecHeader.cxx:48
genie::operator<<
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
Definition:
AlgConfigPool.cxx:41
genie::NtpMCRecHeader::PrintToStream
void PrintToStream(ostream &stream) const
Definition:
NtpMCRecHeader.cxx:43
genie::NtpMCRecHeader
MINOS-style Ntuple Class to hold an MC Event Record Header.
Definition:
NtpMCRecHeader.h:32
genie::NtpMCRecHeader::NtpMCRecHeader
NtpMCRecHeader()
Definition:
NtpMCRecHeader.cxx:26
Generated by
1.8.11