GENIEGenerator
Loading...
Searching...
No Matches
NtpMCRecHeader.cxx
Go to the documentation of this file.
1//____________________________________________________________________________
2/*
3 Copyright (c) 2003-2025, The GENIE Collaboration
4 For the full text of the license visit http://copyright.genie-mc.org
5
6 Costas Andreopoulos <c.andreopoulos \at cern.ch>
7 University of Liverpool
8*/
9//____________________________________________________________________________
10
12
13using namespace genie;
14
16
17//____________________________________________________________________________
18namespace genie {
19 ostream & operator<< (ostream& stream, const NtpMCRecHeader & hdr)
20 {
21 hdr.PrintToStream(stream);
22 return stream;
23 }
24}
25//____________________________________________________________________________
27TObject()
28{
29 this->Init();
30}
31//____________________________________________________________________________
33TObject()
34{
35 this->Copy(hdr);
36}
37//____________________________________________________________________________
42//____________________________________________________________________________
43void NtpMCRecHeader::PrintToStream(ostream & stream) const
44{
45 stream << "\n\n*** Event #: " << this->ievent;
46}
47//____________________________________________________________________________
49{
50 this->ievent = hdr.ievent;
51}
52//____________________________________________________________________________
54{
55 this->ievent = 0;
56}
57//____________________________________________________________________________
ClassImp(NtpMCRecHeader) namespace genie
MINOS-style Ntuple Class to hold an MC Event Record Header.
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)