00001 #ifndef FADCREADOUTFORMAT_FADCFOOT_H 00002 #define FADCREADOUTFORMAT_FADCFOOT_H 00003 00013 #include "FadcReadoutFormat/FadcBuffer.h" 00014 00015 namespace DybDaq { 00016 class FadcHead; 00017 class FadcReadout; 00018 } 00019 00020 namespace DybDaq { 00021 00022 class FadcFoot : public FadcBuffer { 00023 00024 public: 00025 00026 friend class FadcReadout; 00027 00031 virtual ~FadcFoot(); 00032 00036 unsigned int triggerNumber() const; 00037 00041 unsigned int dataLength() const; 00042 00046 virtual unsigned int bufferSize() const; 00047 00048 protected: 00049 00053 FadcFoot(const FadcHead& head); 00054 00058 FadcFoot(const ByteBuffer& byteBuffer, 00059 const FadcTraits& traits); 00060 00064 virtual unsigned int formatComponent() const; 00065 00066 private: 00067 00071 FadcFoot(); 00072 00076 FadcFoot(FadcFoot& rhs); 00077 00081 FadcFoot& operator=(FadcFoot& rhs); 00082 00086 void setTriggerNumber(const unsigned int triggerNumber); 00087 00091 void setDataLength(const unsigned int dataLength); 00092 00093 }; 00094 00095 } 00096 00097 #endif // FADCREADOUTFORMAT_FADCFOOT_H