LiHeader Class Reference

#include <LiHeader.h>

List of all members.

Public Member Functions

 LiHeader ()
 LiHeader (const LiHeader &rhs)
 ~LiHeader ()
void SetHeader (Int_t timeframe, Int_t calibpoint, Int_t calibtype, Int_t box, Int_t led, Int_t pulseheight, Int_t pulsewidth)
Int_t GetTimeFrame () const
Int_t GetCalibPoint () const
Int_t GetCalibType () const
Int_t GetBox () const
Int_t GetLed () const
Int_t GetPulseHeight () const
Int_t GetPulseWidth () const
Int_t GetTpmtBox () const
void SetTpmtBox (Int_t tmptbox)
Int_t GetTpmtChannels () const
void SetTpmtChannels (Int_t nchannels)

Private Attributes

Int_t fTimeframe
Int_t fCalibPoint
Int_t fCalibType
Int_t fBox
Int_t fLed
Int_t fPulseHeight
Int_t fPulseWidth
Int_t fTpmtBox
Int_t fTpmtChannels

Detailed Description

Definition at line 6 of file LiHeader.h.


Constructor & Destructor Documentation

LiHeader::LiHeader (  ) 

Definition at line 5 of file LiHeader.cxx.

00005                    :
00006   fTimeframe(0), fCalibPoint(-1), fCalibType(-1),
00007   fBox(-1), fLed(-1), fPulseHeight(0), fPulseWidth(0),
00008   fTpmtBox(-1), fTpmtChannels(0)
00009 {
00010 
00011 }
  

LiHeader::LiHeader ( const LiHeader rhs  ) 

Definition at line 13 of file LiHeader.cxx.

00013                                       :
00014   TObject(rhs),
00015   fTimeframe(rhs.fTimeframe), fCalibPoint(rhs.fCalibPoint), fCalibType(rhs.fCalibType),
00016   fBox(rhs.fBox), fLed(rhs.fLed), fPulseHeight(rhs.fPulseHeight), fPulseWidth(rhs.fPulseWidth),
00017   fTpmtBox(rhs.fTpmtBox), fTpmtChannels(rhs.fTpmtChannels)
00018 {
00019 
00020 }
  

LiHeader::~LiHeader (  ) 

Definition at line 22 of file LiHeader.cxx.

00023 {
00024 
00025 }


Member Function Documentation

Int_t LiHeader::GetBox (  )  const

Definition at line 49 of file LiHeader.cxx.

References fBox.

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

00050 {
00051   return fBox;
00052 }

Int_t LiHeader::GetCalibPoint (  )  const

Definition at line 39 of file LiHeader.cxx.

References fCalibPoint.

00040 {
00041   return fCalibPoint;
00042 }  

Int_t LiHeader::GetCalibType (  )  const

Definition at line 44 of file LiHeader.cxx.

References fCalibType.

00045 {
00046   return fCalibType;
00047 }

Int_t LiHeader::GetLed (  )  const

Definition at line 54 of file LiHeader.cxx.

References fLed.

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

00055 {
00056   return fLed;
00057 }

Int_t LiHeader::GetPulseHeight (  )  const

Definition at line 59 of file LiHeader.cxx.

References fPulseHeight.

Referenced by AlgFarDetDataQuality::RunAlg().

00060 {
00061   return fPulseHeight;
00062 }

Int_t LiHeader::GetPulseWidth (  )  const

Definition at line 64 of file LiHeader.cxx.

References fPulseWidth.

Referenced by AlgFarDetDataQuality::RunAlg().

00065 {
00066   return fPulseWidth;
00067 }

Int_t LiHeader::GetTimeFrame (  )  const

Definition at line 34 of file LiHeader.cxx.

References fTimeframe.

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

00035 {
00036   return fTimeframe;
00037 }

Int_t LiHeader::GetTpmtBox (  )  const

Definition at line 69 of file LiHeader.cxx.

References fTpmtBox.

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

00070 {
00071   return fTpmtBox;
00072 }

Int_t LiHeader::GetTpmtChannels (  )  const

Definition at line 79 of file LiHeader.cxx.

References fTpmtChannels.

00080 {
00081   return fTpmtChannels;
00082 }

void LiHeader::SetHeader ( Int_t  timeframe,
Int_t  calibpoint,
Int_t  calibtype,
Int_t  box,
Int_t  led,
Int_t  pulseheight,
Int_t  pulsewidth 
)

Definition at line 27 of file LiHeader.cxx.

References fBox, fCalibPoint, fCalibType, fLed, fPulseHeight, fPulseWidth, and fTimeframe.

Referenced by FarDetDataQualityModule::ProcessBlock().

00029 {
00030   fTimeframe=timeframe, fCalibPoint=calibpoint; fCalibType=calibtype;
00031   fBox=box; fLed=led; fPulseHeight=pulseheight; fPulseWidth=pulsewidth;
00032 }

void LiHeader::SetTpmtBox ( Int_t  tmptbox  ) 

Definition at line 74 of file LiHeader.cxx.

References fTpmtBox.

Referenced by FarDetDataQualityModule::ProcessBlock().

00075 {
00076   fTpmtBox=tpmtbox;
00077 }

void LiHeader::SetTpmtChannels ( Int_t  nchannels  ) 

Definition at line 84 of file LiHeader.cxx.

References fTpmtChannels.

Referenced by FarDetDataQualityModule::ProcessBlock().

00085 {
00086   fTpmtChannels=nchannels;
00087 }


Member Data Documentation

Int_t LiHeader::fBox [private]

Definition at line 35 of file LiHeader.h.

Referenced by GetBox(), and SetHeader().

Int_t LiHeader::fCalibPoint [private]

Definition at line 33 of file LiHeader.h.

Referenced by GetCalibPoint(), and SetHeader().

Int_t LiHeader::fCalibType [private]

Definition at line 34 of file LiHeader.h.

Referenced by GetCalibType(), and SetHeader().

Int_t LiHeader::fLed [private]

Definition at line 36 of file LiHeader.h.

Referenced by GetLed(), and SetHeader().

Int_t LiHeader::fPulseHeight [private]

Definition at line 37 of file LiHeader.h.

Referenced by GetPulseHeight(), and SetHeader().

Int_t LiHeader::fPulseWidth [private]

Definition at line 38 of file LiHeader.h.

Referenced by GetPulseWidth(), and SetHeader().

Int_t LiHeader::fTimeframe [private]

Definition at line 32 of file LiHeader.h.

Referenced by GetTimeFrame(), and SetHeader().

Int_t LiHeader::fTpmtBox [private]

Definition at line 39 of file LiHeader.h.

Referenced by GetTpmtBox(), and SetTpmtBox().

Int_t LiHeader::fTpmtChannels [private]

Definition at line 40 of file LiHeader.h.

Referenced by GetTpmtChannels(), and SetTpmtChannels().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1