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

ANtpHeader Class Reference

#include <ANtpHeader.h>

Inheritance diagram for ANtpHeader:

RecHeader List of all members.

Public Member Functions

 ANtpHeader ()
 ANtpHeader (const VldContext &vld)
virtual ~ANtpHeader ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
const int GetSnarl () const
const int GetRun () const
const int GetSubRun () const
const int GetEvents () const
const double GetJulianDate () const
const double GetLocalSiderealTime () const
void SetSnarl (int s)
void SetRun (int r)
void SetSubRun (int sr)
void SetEvents (int nevt)
void SetJulianDate (double jd)
void SetLocalSiderealTime (double lst)

Private Attributes

int fSnarl
int fRun
int fSubRun
int fEvents
double fJulianDate
double fLocalSiderealTime

Constructor & Destructor Documentation

ANtpHeader::ANtpHeader  ) 
 

Definition at line 11 of file ANtpHeader.cxx.

00011                       :
00012    RecHeader(),
00013    fSnarl(0),
00014    fRun(0),
00015    fSubRun(0),
00016    fEvents(0),
00017    fJulianDate(-1.),
00018    fLocalSiderealTime(-1.)
00019 {}

ANtpHeader::ANtpHeader const VldContext vld  ) 
 

Definition at line 21 of file ANtpHeader.cxx.

00021                                            :
00022    RecHeader(vld),
00023    fSnarl(0),
00024    fRun(0),
00025    fSubRun(0),
00026    fEvents(0),
00027    fJulianDate(-1.),
00028    fLocalSiderealTime(-1.)
00029 {}

ANtpHeader::~ANtpHeader  )  [virtual]
 

Definition at line 31 of file ANtpHeader.cxx.

00032 {}


Member Function Documentation

const int ANtpHeader::GetEvents  )  const [inline]
 

Definition at line 52 of file ANtpHeader.h.

00052 {return fEvents;}

const double ANtpHeader::GetJulianDate  )  const [inline]
 

Definition at line 53 of file ANtpHeader.h.

00053 {return fJulianDate;}

const double ANtpHeader::GetLocalSiderealTime  )  const [inline]
 

Definition at line 54 of file ANtpHeader.h.

00054 {return fLocalSiderealTime;}

const int ANtpHeader::GetRun  )  const [inline]
 

Definition at line 50 of file ANtpHeader.h.

00050 {return fRun;}

const int ANtpHeader::GetSnarl  )  const [inline]
 

Definition at line 49 of file ANtpHeader.h.

00049 {return fSnarl;}

const int ANtpHeader::GetSubRun  )  const [inline]
 

Definition at line 51 of file ANtpHeader.h.

00051 {return fSubRun;}

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

Reimplemented from RecHeader.

Definition at line 34 of file ANtpHeader.cxx.

References Print().

00035 {
00036    ANtpHeader::Print(std::cout);
00037    return;
00038 }

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

Reimplemented from RecHeader.

Definition at line 40 of file ANtpHeader.cxx.

References fRun, fSnarl, and fSubRun.

Referenced by Print().

00041 {
00042    os<<"Run: "<<fRun<<" SubRun "<<fSubRun<<" Snarl "<<fSnarl<<std::endl;
00043    return os;
00044 }

void ANtpHeader::SetEvents int  nevt  )  [inline]
 

Definition at line 59 of file ANtpHeader.h.

References fEvents.

00059 {fEvents = n;}

void ANtpHeader::SetJulianDate double  jd  )  [inline]
 

Definition at line 60 of file ANtpHeader.h.

References fJulianDate.

00060 {fJulianDate = jd;}

void ANtpHeader::SetLocalSiderealTime double  lst  )  [inline]
 

Definition at line 61 of file ANtpHeader.h.

References fLocalSiderealTime.

00061 {fLocalSiderealTime = lst;}

void ANtpHeader::SetRun int  r  )  [inline]
 

Definition at line 57 of file ANtpHeader.h.

References fRun.

00057 {fRun = r;}

void ANtpHeader::SetSnarl int  s  )  [inline]
 

Definition at line 56 of file ANtpHeader.h.

References fSnarl.

00056 {fSnarl = s;}

void ANtpHeader::SetSubRun int  sr  )  [inline]
 

Definition at line 58 of file ANtpHeader.h.

References fSubRun.

00058 {fSubRun = sr;}


Member Data Documentation

int ANtpHeader::fEvents [private]
 

Definition at line 42 of file ANtpHeader.h.

Referenced by SetEvents().

double ANtpHeader::fJulianDate [private]
 

Definition at line 43 of file ANtpHeader.h.

Referenced by SetJulianDate().

double ANtpHeader::fLocalSiderealTime [private]
 

Definition at line 44 of file ANtpHeader.h.

Referenced by SetLocalSiderealTime().

int ANtpHeader::fRun [private]
 

Definition at line 40 of file ANtpHeader.h.

Referenced by Print(), and SetRun().

int ANtpHeader::fSnarl [private]
 

Definition at line 39 of file ANtpHeader.h.

Referenced by Print(), and SetSnarl().

int ANtpHeader::fSubRun [private]
 

Definition at line 41 of file ANtpHeader.h.

Referenced by Print(), and SetSubRun().


The documentation for this class was generated from the following files:
Generated on Fri Mar 28 15:54:21 2008 for loon by  doxygen 1.3.9.1