00001 #ifndef LIHEADER_H 00002 #define LIHEADER_H 00003 00004 #include "TObject.h" 00005 00006 class LiHeader : public TObject 00007 { 00008 00009 public: 00010 LiHeader(); 00011 LiHeader(const LiHeader& rhs); 00012 ~LiHeader(); 00013 00014 void SetHeader(Int_t timeframe,Int_t calibpoint,Int_t calibtype, 00015 Int_t box,Int_t led,Int_t pulseheight,Int_t pulsewidth); 00016 00017 Int_t GetTimeFrame() const; 00018 Int_t GetCalibPoint() const; 00019 Int_t GetCalibType() const; 00020 Int_t GetBox() const; 00021 Int_t GetLed() const; 00022 Int_t GetPulseHeight() const; 00023 Int_t GetPulseWidth() const; 00024 00025 Int_t GetTpmtBox() const; 00026 void SetTpmtBox(Int_t tmptbox); 00027 00028 Int_t GetTpmtChannels() const; 00029 void SetTpmtChannels(Int_t nchannels); 00030 00031 private: 00032 Int_t fTimeframe; 00033 Int_t fCalibPoint; 00034 Int_t fCalibType; 00035 Int_t fBox; 00036 Int_t fLed; 00037 Int_t fPulseHeight; 00038 Int_t fPulseWidth; 00039 Int_t fTpmtBox; 00040 Int_t fTpmtChannels; 00041 00042 00043 ClassDef(LiHeader,1) 00044 00045 }; 00046 00047 #endif
1.3.9.1