SpillServHeader Class Reference

#include <SpillServHeader.h>

List of all members.

Public Member Functions

 SpillServHeader ()
 SpillServHeader (const SpillServHeader &rhs)
 ~SpillServHeader ()
void SetHeader (Int_t timeframe, Int_t status, Int_t type, Int_t gpserror)
Int_t GetTimeFrame () const
Int_t GetSpillStatus () const
Int_t GetSpillType () const
Int_t GetSpillGpsError () const

Private Attributes

Int_t fTimeframe
Int_t fSpillStatus
Int_t fSpillType
Int_t fSpillGpsError

Detailed Description

Definition at line 6 of file SpillServHeader.h.


Constructor & Destructor Documentation

SpillServHeader::SpillServHeader (  ) 

Definition at line 5 of file SpillServHeader.cxx.

00005                                  :
00006   fTimeframe(-1),
00007   fSpillStatus(0),fSpillType(0),fSpillGpsError(-999)
00008 {
00009 
00010 }

SpillServHeader::SpillServHeader ( const SpillServHeader rhs  ) 

Definition at line 12 of file SpillServHeader.cxx.

00012                                                            :
00013   TObject(rhs),
00014   fTimeframe(rhs.fTimeframe),
00015   fSpillStatus(rhs.fSpillStatus), fSpillType(rhs.fSpillStatus),
00016   fSpillGpsError(rhs.fSpillGpsError)
00017 {
00018 
00019 }
  

SpillServHeader::~SpillServHeader (  ) 

Definition at line 21 of file SpillServHeader.cxx.

00022 {
00023 
00024 }


Member Function Documentation

Int_t SpillServHeader::GetSpillGpsError (  )  const

Definition at line 49 of file SpillServHeader.cxx.

References fSpillGpsError.

Referenced by AlgFarDetDataQuality::RunAlg().

00050 {
00051   return fSpillGpsError;
00052 }

Int_t SpillServHeader::GetSpillStatus (  )  const

Definition at line 39 of file SpillServHeader.cxx.

References fSpillStatus.

Referenced by AlgFarDetDataQuality::RunAlg().

00040 {
00041   return fSpillStatus;
00042 }

Int_t SpillServHeader::GetSpillType (  )  const

Definition at line 44 of file SpillServHeader.cxx.

References fSpillType.

Referenced by AlgFarDetDataQuality::RunAlg().

00045 {
00046   return fSpillType;
00047 }

Int_t SpillServHeader::GetTimeFrame (  )  const

Definition at line 34 of file SpillServHeader.cxx.

References fTimeframe.

Referenced by AlgFarDetDataQuality::RunAlg().

00035 {
00036   return fTimeframe;
00037 }

void SpillServHeader::SetHeader ( Int_t  timeframe,
Int_t  status,
Int_t  type,
Int_t  gpserror 
)

Definition at line 26 of file SpillServHeader.cxx.

References fSpillGpsError, fSpillStatus, fSpillType, and fTimeframe.

Referenced by FarDetDataQualityModule::ProcessBlock().

00027 {
00028   fTimeframe=timeframe; 
00029   fSpillStatus=status;
00030   fSpillType=type;
00031   fSpillGpsError=gpserror;
00032 }


Member Data Documentation

Definition at line 26 of file SpillServHeader.h.

Referenced by GetSpillGpsError(), and SetHeader().

Definition at line 24 of file SpillServHeader.h.

Referenced by GetSpillStatus(), and SetHeader().

Int_t SpillServHeader::fSpillType [private]

Definition at line 25 of file SpillServHeader.h.

Referenced by GetSpillType(), and SetHeader().

Int_t SpillServHeader::fTimeframe [private]

Definition at line 23 of file SpillServHeader.h.

Referenced by GetTimeFrame(), and SetHeader().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1