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

SnarlHeader Class Reference

#include <SnarlHeader.h>

List of all members.

Public Member Functions

 SnarlHeader ()
 SnarlHeader (const SnarlHeader &rhs)
 ~SnarlHeader ()
void SetHeader (Int_t run, Int_t subrun, Int_t snarl, Int_t date, Int_t time, Int_t timeframe, Int_t microsec, Int_t nanosec)
Int_t GetRun () const
Int_t GetSubRun () const
Int_t GetSnarl () const
Int_t GetDate () const
Int_t GetTime () const
Int_t GetTimeFrame () const
Int_t GetMicrosec () const
Int_t GetNanosec () const
Int_t GetLiChannels () const
Int_t GetHitPlnChannels () const
Int_t GetHitShldChannels () const
Int_t GetCrateMask () const
void SetLiChannels (Int_t nchannels)
void SetHitPlnChannels (Int_t nchannels)
void SetHitShldChannels (Int_t nchannels)
void SetCrateMask (Int_t mask)

Private Attributes

Int_t fRun
Int_t fSubRun
Int_t fSnarl
Int_t fDate
Int_t fTime
Int_t fTimeframe
Int_t fMicrosec
Int_t fNanosec
Int_t fCrateMask
Int_t fLiChannels
Int_t fHitPlnChannels
Int_t fHitShldChannels


Constructor & Destructor Documentation

SnarlHeader::SnarlHeader  ) 
 

Definition at line 5 of file SnarlHeader.cxx.

00005                          :
00006   fRun(-1), fSubRun(-1), fSnarl(-1), 
00007   fDate(0), fTime(0), fTimeframe(-1), 
00008   fMicrosec(0), fNanosec(0),
00009   fCrateMask(-1),
00010   fLiChannels(0), fHitPlnChannels(0), fHitShldChannels(0)
00011 {
00012 
00013 }

SnarlHeader::SnarlHeader const SnarlHeader rhs  ) 
 

Definition at line 15 of file SnarlHeader.cxx.

00015                                                :
00016   TObject(rhs),
00017   fRun(rhs.fRun), fSubRun(rhs.fSubRun), fSnarl(rhs.fSnarl), 
00018   fDate(rhs.fDate), fTime(rhs.fTime), fTimeframe(rhs.fTimeframe),
00019   fMicrosec(rhs.fMicrosec), fNanosec(rhs.fNanosec),
00020   fCrateMask(rhs.fCrateMask),
00021   fLiChannels(fLiChannels), fHitPlnChannels(rhs.fHitPlnChannels), fHitShldChannels(rhs.fHitShldChannels)
00022 {
00023 
00024 }
  

SnarlHeader::~SnarlHeader  ) 
 

Definition at line 26 of file SnarlHeader.cxx.

00027 {
00028 
00029 }


Member Function Documentation

Int_t SnarlHeader::GetCrateMask  )  const
 

Definition at line 93 of file SnarlHeader.cxx.

Referenced by AlgFarDetDataQuality::RunAlg().

00094 {
00095   return fCrateMask;
00096 }

Int_t SnarlHeader::GetDate  )  const
 

Definition at line 53 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::Reco(), and AlgFarDetDataQuality::RunAlg().

00054 {
00055   return fDate;
00056 }

Int_t SnarlHeader::GetHitPlnChannels  )  const
 

Definition at line 83 of file SnarlHeader.cxx.

Referenced by AlgFarDetDataQuality::RunAlg().

00084 {
00085   return fHitPlnChannels;
00086 }

Int_t SnarlHeader::GetHitShldChannels  )  const
 

Definition at line 88 of file SnarlHeader.cxx.

Referenced by AlgFarDetDataQuality::RunAlg().

00089 {
00090   return fHitShldChannels;
00091 }

Int_t SnarlHeader::GetLiChannels  )  const
 

Definition at line 78 of file SnarlHeader.cxx.

Referenced by AlgFarDetDataQuality::RunAlg().

00079 {
00080   return fLiChannels;
00081 }

Int_t SnarlHeader::GetMicrosec  )  const
 

Definition at line 68 of file SnarlHeader.cxx.

Referenced by AlgFarDetDataQuality::RunAlg().

00069 {
00070   return fMicrosec;
00071 }

Int_t SnarlHeader::GetNanosec  )  const
 

Definition at line 73 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::ProcessBlock(), and AlgFarDetDataQuality::RunAlg().

00074 {
00075   return fNanosec;
00076 }

Int_t SnarlHeader::GetRun  )  const
 

Definition at line 38 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::Reco(), and AlgFarDetDataQuality::RunAlg().

00039 {
00040   return fRun;
00041 }

Int_t SnarlHeader::GetSnarl  )  const
 

Definition at line 48 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::Reco(), and AlgFarDetDataQuality::RunAlg().

00049 {
00050   return fSnarl;
00051 }

Int_t SnarlHeader::GetSubRun  )  const
 

Definition at line 43 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::Reco(), and AlgFarDetDataQuality::RunAlg().

00044 {
00045   return fSubRun;
00046 }

Int_t SnarlHeader::GetTime  )  const
 

Definition at line 58 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::Reco(), and AlgFarDetDataQuality::RunAlg().

00059 {
00060   return fTime;
00061 }

Int_t SnarlHeader::GetTimeFrame  )  const
 

Definition at line 63 of file SnarlHeader.cxx.

Referenced by FarDetDataQualityModule::Reco(), and AlgFarDetDataQuality::RunAlg().

00064 {
00065   return fTimeframe;
00066 }

void SnarlHeader::SetCrateMask Int_t  mask  ) 
 

Definition at line 113 of file SnarlHeader.cxx.

References fCrateMask.

Referenced by FarDetDataQualityModule::ProcessBlock().

00114 {
00115   fCrateMask=mask;
00116 }

void SnarlHeader::SetHeader Int_t  run,
Int_t  subrun,
Int_t  snarl,
Int_t  date,
Int_t  time,
Int_t  timeframe,
Int_t  microsec,
Int_t  nanosec
 

Definition at line 31 of file SnarlHeader.cxx.

References fDate, fMicrosec, fNanosec, fRun, fSnarl, fSubRun, fTime, and fTimeframe.

Referenced by FarDetDataQualityModule::ProcessBlock(), and FarDetDataQualityModule::ProcessHeader().

00032 {
00033   fRun=run; fSubRun=subrun; fSnarl=snarl; 
00034   fDate=date; fTime=time; fTimeframe=timeframe; 
00035   fMicrosec=microsec; fNanosec=nanosec;
00036 }

void SnarlHeader::SetHitPlnChannels Int_t  nchannels  ) 
 

Definition at line 103 of file SnarlHeader.cxx.

References fHitPlnChannels.

Referenced by FarDetDataQualityModule::ProcessBlock().

00104 {
00105   fHitPlnChannels=nchannels;
00106 }

void SnarlHeader::SetHitShldChannels Int_t  nchannels  ) 
 

Definition at line 108 of file SnarlHeader.cxx.

References fHitShldChannels.

Referenced by FarDetDataQualityModule::ProcessBlock().

00109 {
00110   fHitShldChannels=nchannels;
00111 }

void SnarlHeader::SetLiChannels Int_t  nchannels  ) 
 

Definition at line 98 of file SnarlHeader.cxx.

References fLiChannels.

Referenced by FarDetDataQualityModule::ProcessBlock().

00099 {
00100   fLiChannels=nchannels;
00101 }


Member Data Documentation

Int_t SnarlHeader::fCrateMask [private]
 

Definition at line 46 of file SnarlHeader.h.

Referenced by SetCrateMask().

Int_t SnarlHeader::fDate [private]
 

Definition at line 40 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fHitPlnChannels [private]
 

Definition at line 48 of file SnarlHeader.h.

Referenced by SetHitPlnChannels().

Int_t SnarlHeader::fHitShldChannels [private]
 

Definition at line 49 of file SnarlHeader.h.

Referenced by SetHitShldChannels().

Int_t SnarlHeader::fLiChannels [private]
 

Definition at line 47 of file SnarlHeader.h.

Referenced by SetLiChannels().

Int_t SnarlHeader::fMicrosec [private]
 

Definition at line 43 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fNanosec [private]
 

Definition at line 44 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fRun [private]
 

Definition at line 37 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fSnarl [private]
 

Definition at line 39 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fSubRun [private]
 

Definition at line 38 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fTime [private]
 

Definition at line 41 of file SnarlHeader.h.

Referenced by SetHeader().

Int_t SnarlHeader::fTimeframe [private]
 

Definition at line 42 of file SnarlHeader.h.

Referenced by SetHeader().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:10:19 2010 for loon by  doxygen 1.3.9.1