GENIEGenerator
Loading...
Searching...
No Matches
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 <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created October 1, 2004
12
13\cpright Copyright (c) 2003-2025, 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
25using std::ostream;
26
27namespace genie {
28
29class NtpMCRecHeader;
30ostream & operator << (ostream & stream, const NtpMCRecHeader & hdr);
31
32class NtpMCRecHeader : public TObject {
33
34public :
35 using TObject::Copy; // suppress clang 'hides overloaded virtual function [-Woverloaded-virtual]' warnings
36
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_
MINOS-style Ntuple Class to hold an MC Event Record Header.
friend ostream & operator<<(ostream &stream, const NtpMCRecHeader &hdr)
unsigned int ievent
Event number.
void PrintToStream(ostream &stream) const
void Copy(const NtpMCRecHeader &hdr)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)