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

LiHeader.cxx

Go to the documentation of this file.
00001 #include "LiHeader.h"
00002 
00003 ClassImp(LiHeader)
00004 
00005 LiHeader::LiHeader() :
00006   fTimeframe(0), fCalibPoint(-1), fCalibType(-1),
00007   fBox(-1), fLed(-1), fPulseHeight(0), fPulseWidth(0),
00008   fTpmtBox(-1), fTpmtChannels(0)
00009 {
00010 
00011 }
00012   
00013 LiHeader::LiHeader(const LiHeader& rhs) :
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 }
00021   
00022 LiHeader::~LiHeader()
00023 {
00024 
00025 }
00026   
00027 void LiHeader::SetHeader(Int_t timeframe, Int_t calibpoint,Int_t calibtype,
00028                     Int_t box,Int_t led,Int_t pulseheight,Int_t pulsewidth)
00029 {
00030   fTimeframe=timeframe, fCalibPoint=calibpoint; fCalibType=calibtype;
00031   fBox=box; fLed=led; fPulseHeight=pulseheight; fPulseWidth=pulsewidth;
00032 }
00033   
00034 Int_t LiHeader::GetTimeFrame() const
00035 {
00036   return fTimeframe;
00037 }
00038 
00039 Int_t LiHeader::GetCalibPoint() const
00040 {
00041   return fCalibPoint;
00042 }  
00043 
00044 Int_t LiHeader::GetCalibType() const
00045 {
00046   return fCalibType;
00047 }
00048  
00049 Int_t LiHeader::GetBox() const
00050 {
00051   return fBox;
00052 }
00053   
00054 Int_t LiHeader::GetLed() const
00055 {
00056   return fLed;
00057 }
00058   
00059 Int_t LiHeader::GetPulseHeight() const
00060 {
00061   return fPulseHeight;
00062 }
00063   
00064 Int_t LiHeader::GetPulseWidth() const
00065 {
00066   return fPulseWidth;
00067 }
00068 
00069 Int_t LiHeader::GetTpmtBox() const
00070 {
00071   return fTpmtBox;
00072 }
00073   
00074 void LiHeader::SetTpmtBox(Int_t tpmtbox)
00075 {
00076   fTpmtBox=tpmtbox;
00077 }
00078 
00079 Int_t LiHeader::GetTpmtChannels() const
00080 {
00081   return fTpmtChannels;
00082 }
00083   
00084 void LiHeader::SetTpmtChannels(Int_t nchannels)
00085 {
00086   fTpmtChannels=nchannels;
00087 }

Generated on Mon Feb 15 11:06:51 2010 for loon by  doxygen 1.3.9.1