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
int GetSnarl () const
int GetRun () const
int GetSubRun () const
int GetEvents () const
double GetJulianDate () 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

Detailed Description

Definition at line 14 of file ANtpHeader.h.


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

int ANtpHeader::GetEvents (  )  const [inline]

Definition at line 52 of file ANtpHeader.h.

References fEvents.

00052 {return fEvents;}

double ANtpHeader::GetJulianDate (  )  const [inline]

Definition at line 53 of file ANtpHeader.h.

References fJulianDate.

00053 {return fJulianDate;}

double ANtpHeader::GetLocalSiderealTime (  )  const [inline]

Definition at line 54 of file ANtpHeader.h.

References fLocalSiderealTime.

00054 {return fLocalSiderealTime;}

int ANtpHeader::GetRun (  )  const [inline]

Definition at line 50 of file ANtpHeader.h.

References fRun.

00050 {return fRun;}

int ANtpHeader::GetSnarl (  )  const [inline]

Definition at line 49 of file ANtpHeader.h.

References fSnarl.

00049 {return fSnarl;}

int ANtpHeader::GetSubRun (  )  const [inline]

Definition at line 51 of file ANtpHeader.h.

References fSubRun.

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 GetEvents(), and SetEvents().

double ANtpHeader::fJulianDate [private]

Definition at line 43 of file ANtpHeader.h.

Referenced by GetJulianDate(), and SetJulianDate().

Definition at line 44 of file ANtpHeader.h.

Referenced by GetLocalSiderealTime(), and SetLocalSiderealTime().

int ANtpHeader::fRun [private]

Definition at line 40 of file ANtpHeader.h.

Referenced by GetRun(), Print(), and SetRun().

int ANtpHeader::fSnarl [private]

Definition at line 39 of file ANtpHeader.h.

Referenced by GetSnarl(), Print(), and SetSnarl().

int ANtpHeader::fSubRun [private]

Definition at line 41 of file ANtpHeader.h.

Referenced by GetSubRun(), Print(), and SetSubRun().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1