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 
12 
13 using namespace genie;
14 
16 
17 //____________________________________________________________________________
18 namespace genie {
19  ostream & operator<< (ostream& stream, const NtpMCRecHeader & hdr)
20  {
21  hdr.PrintToStream(stream);
22  return stream;
23  }
24 }
25 //____________________________________________________________________________
27 TObject()
28 {
29  this->Init();
30 }
31 //____________________________________________________________________________
33 TObject()
34 {
35  this->Copy(hdr);
36 }
37 //____________________________________________________________________________
39 {
40 
41 }
42 //____________________________________________________________________________
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 //____________________________________________________________________________
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
ClassImp(NtpMCRecHeader) namespace genie
unsigned int ievent
Event number.
void Copy(const NtpMCRecHeader &hdr)
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
void PrintToStream(ostream &stream) const
MINOS-style Ntuple Class to hold an MC Event Record Header.