GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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:
Inheritance graph
[legend]
Collaboration diagram for genie::NtpMCRecHeader:
Collaboration graph
[legend]

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 <c.andreopoulos cern.ch> University of Liverpool
Created:
October 1, 2004
License:
Copyright (c) 2003-2024, 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.

References Init().

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

Definition at line 32 of file NtpMCRecHeader.cxx.

References Copy().

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.

References ievent.

Referenced by NtpMCRecHeader().

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

Definition at line 53 of file NtpMCRecHeader.cxx.

References ievent.

Referenced by NtpMCRecHeader().

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.

References ievent.

Referenced by genie::operator<<().

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

Definition at line 19 of file NtpMCRecHeader.cxx.

20  {
21  hdr.PrintToStream(stream);
22  return stream;
23  }
void PrintToStream(ostream &stream) const

Member Data Documentation

unsigned int genie::NtpMCRecHeader::ievent

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