NtpMCGenInfo Class Reference

#include <NtpMCGenInfo.h>

List of all members.

Public Member Functions

 NtpMCGenInfo ()
virtual ~NtpMCGenInfo ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
virtual void Clear (Option_t *option="")

Public Attributes

VldTimeStamp time
 time of MC generation
std::string codename
 MC code tag.
std::string hostname
 machine that generated event

Detailed Description

Definition at line 20 of file NtpMCGenInfo.h.


Constructor & Destructor Documentation

NtpMCGenInfo::NtpMCGenInfo (  )  [inline]

Definition at line 24 of file NtpMCGenInfo.h.

00024 : time(0,0),codename(),hostname() {}

virtual NtpMCGenInfo::~NtpMCGenInfo (  )  [inline, virtual]

Definition at line 25 of file NtpMCGenInfo.h.

00025 {}


Member Function Documentation

void NtpMCGenInfo::Clear ( Option_t *  option = ""  )  [virtual]

Definition at line 46 of file NtpMCGenInfo.cxx.

Referenced by NtpMCSummary::Clear().

00046                                                {
00047   // Purpose: Clear allocated memory so can be reused
00048    
00049 }

void NtpMCGenInfo::Print ( Option_t *  option = ""  )  const [virtual]

Definition at line 34 of file NtpMCGenInfo.cxx.

References Print().

00034                                                      {
00035   //
00036   //  Purpose:  Print event summary data in form supported by TObject::Print.
00037   //
00038   //  Arguments: option (not used)
00039   //
00040 
00041   Print(std::cout);
00042   return;
00043 
00044 }

std::ostream & NtpMCGenInfo::Print ( std::ostream &  os  )  const [virtual]

Definition at line 21 of file NtpMCGenInfo.cxx.

References codename, hostname, and time.

Referenced by Print().

00021                                                     {
00022   //
00023   //  Purpose:  Print event summary data on ostream.
00024   //
00025 
00026   os << "NtpMCGenInfo::Print " << endl;
00027   os << "  time " << time << ", code " << codename << ", host "
00028      << hostname << endl;
00029   
00030   return os;
00031 
00032 }


Member Data Documentation

machine that generated event

Definition at line 41 of file NtpMCGenInfo.h.

Referenced by Print(), and NtpMCModule::Reco().

time of MC generation

Definition at line 39 of file NtpMCGenInfo.h.

Referenced by Print(), and NtpMCModule::Reco().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1