Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Framework
Ntuple
NtpMCRecHeader.h
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*!
3
4
\class genie::NtpMCRecHeader
5
6
\brief MINOS-style Ntuple Class to hold an MC Event Record Header
7
8
\author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
9
University of Liverpool & STFC Rutherford Appleton Laboratory
10
11
\created October 1, 2004
12
13
\cpright Copyright (c) 2003-2020, The GENIE Collaboration
14
For the full text of the license visit http://copyright.genie-mc.org
15
*/
16
//____________________________________________________________________________
17
18
#ifndef _NTP_MC_RECORD_HEADER_H_
19
#define _NTP_MC_RECORD_HEADER_H_
20
21
#include <ostream>
22
23
#include <TObject.h>
24
25
using
std::ostream;
26
27
namespace
genie
{
28
29
class
NtpMCRecHeader;
30
ostream &
operator <<
(ostream &
stream
,
const
NtpMCRecHeader & hdr);
31
32
class
NtpMCRecHeader
:
public
TObject {
33
34
public
:
35
using
TObject::Copy;
// suppress clang 'hides overloaded virtual function [-Woverloaded-virtual]' warnings
36
37
NtpMCRecHeader
();
38
NtpMCRecHeader
(
const
NtpMCRecHeader
& hdr);
39
virtual
~NtpMCRecHeader
();
40
41
void
Init
(
void
);
42
void
Copy
(
const
NtpMCRecHeader
& hdr);
43
44
void
PrintToStream
(ostream &
stream
)
const
;
45
friend
ostream &
operator <<
(ostream & stream,
const
NtpMCRecHeader
& hdr);
46
47
// Ntuple is treated like a C-struct with public data members and
48
// rule-breaking field data members not prefaced by "f" and mostly lowercase.
49
unsigned
int
ievent
;
///< Event number
50
51
ClassDef
(
NtpMCRecHeader
, 1)
52
};
53
54
}
// genie namespace
55
56
#endif // _NTP_MC_RECORD_HEADER_H_
genie::NtpMCRecHeader::operator<<
friend ostream & operator<<(ostream &stream, const NtpMCRecHeader &hdr)
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
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
ClassDef
Definition:
classdef.h:59
genie::NtpMCRecHeader::NtpMCRecHeader
NtpMCRecHeader()
Definition:
NtpMCRecHeader.cxx:26
Generated by
1.8.11