Public Member Functions | Public Attributes | Friends | List of all members
genie::NtpMCRecHeader Class Reference

MINOS-style Ntuple Class to hold an MC Event Record Header. More...

#include <NtpMCRecHeader.h>

Inheritance diagram for genie::NtpMCRecHeader:

Public Member Functions

 NtpMCRecHeader ()
 
 NtpMCRecHeader (const NtpMCRecHeader &hdr)
 
virtual ~NtpMCRecHeader ()
 
void Init (void)
 
void Copy (const NtpMCRecHeader &hdr)
 
void PrintToStream (ostream &stream) const
 

Public Attributes

unsigned int ievent
 Event number. More...
 

Friends

ostream & operator<< (ostream &stream, const NtpMCRecHeader &hdr)
 

Detailed Description

MINOS-style Ntuple Class to hold an MC Event Record Header.

Author
Costas Andreopoulos <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

October 1, 2004

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 32 of file NtpMCRecHeader.h.

Constructor & Destructor Documentation

NtpMCRecHeader::NtpMCRecHeader ( )

Definition at line 26 of file NtpMCRecHeader.cxx.

26  :
27 TObject()
28 {
29  this->Init();
30 }
NtpMCRecHeader::NtpMCRecHeader ( const NtpMCRecHeader hdr)

Definition at line 32 of file NtpMCRecHeader.cxx.

32  :
33 TObject()
34 {
35  this->Copy(hdr);
36 }
void Copy(const NtpMCRecHeader &hdr)
NtpMCRecHeader::~NtpMCRecHeader ( )
virtual

Definition at line 38 of file NtpMCRecHeader.cxx.

39 {
40 
41 }

Member Function Documentation

void NtpMCRecHeader::Copy ( const NtpMCRecHeader hdr)

Definition at line 48 of file NtpMCRecHeader.cxx.

49 {
50  this->ievent = hdr.ievent;
51 }
unsigned int ievent
Event number.
void NtpMCRecHeader::Init ( void  )

Definition at line 53 of file NtpMCRecHeader.cxx.

54 {
55  this->ievent = 0;
56 }
unsigned int ievent
Event number.
void NtpMCRecHeader::PrintToStream ( ostream &  stream) const

Definition at line 43 of file NtpMCRecHeader.cxx.

44 {
45  stream << "\n\n*** Event #: " << this->ievent;
46 }
unsigned int ievent
Event number.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
const NtpMCRecHeader hdr 
)
friend

Member Data Documentation

unsigned int genie::NtpMCRecHeader::ievent

Event number.

Definition at line 49 of file NtpMCRecHeader.h.


The documentation for this class was generated from the following files: