Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

NtpSRDate Class Reference

#include <NtpSRDate.h>

List of all members.

Public Member Functions

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

Public Attributes

UShort_t year
Char_t month
Char_t day
Char_t hour
Char_t minute
Double_t sec
UInt_t utc


Constructor & Destructor Documentation

NtpSRDate::NtpSRDate  )  [inline]
 

Definition at line 21 of file NtpSRDate.h.

References day, hour, minute, month, sec, utc, and year.

00021 : year(0),month(0),day(0),hour(0),minute(0),sec(0),utc(0) {}

virtual NtpSRDate::~NtpSRDate  )  [inline, virtual]
 

Definition at line 22 of file NtpSRDate.h.

00022 {}


Member Function Documentation

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

Definition at line 33 of file NtpSRDate.cxx.

References Print().

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

std::ostream & NtpSRDate::Print std::ostream &  os  )  const [virtual]
 

Definition at line 19 of file NtpSRDate.cxx.

References day, hour, minute, month, sec, utc, and year.

Referenced by Print().

00019                                                  {
00020   //
00021   //  Purpose:  Print date data on ostream.
00022   //
00023 
00024   os << year << "-" << (UShort_t)month << "-" 
00025      << (UShort_t)day << " " << (UShort_t)hour << ":" << (UShort_t)minute 
00026      << ":" << sec << " utc(sec since 1970/01/01) " 
00027      << utc << endl;
00028  
00029   return os;
00030 
00031 }


Member Data Documentation

Char_t NtpSRDate::day
 

Definition at line 35 of file NtpSRDate.h.

Referenced by ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().

Char_t NtpSRDate::hour
 

Definition at line 36 of file NtpSRDate.h.

Referenced by ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().

Char_t NtpSRDate::minute
 

Definition at line 37 of file NtpSRDate.h.

Referenced by ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().

Char_t NtpSRDate::month
 

Definition at line 34 of file NtpSRDate.h.

Referenced by MadDpAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().

Double_t NtpSRDate::sec
 

Definition at line 38 of file NtpSRDate.h.

Referenced by ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().

UInt_t NtpSRDate::utc
 

Definition at line 39 of file NtpSRDate.h.

Referenced by ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().

UShort_t NtpSRDate::year
 

Definition at line 33 of file NtpSRDate.h.

Referenced by ANtpInfoObjectFiller::FillHeaderInformation(), NtpSRModule::FillNtpEventSummary(), NtpEMModule::FillNtpSummary(), NtpSRDate(), and Print().


The documentation for this class was generated from the following files:
Generated on Thu Nov 1 15:57:24 2007 for loon by  doxygen 1.3.9.1