CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DataFormats/L1GlobalCaloTrigger/interface/L1GctFibreWord.h

Go to the documentation of this file.
00001 #ifndef L1GCTFIBREWORD_H
00002 #define L1GCTFIBREWORD_H
00003 
00004 #include <ostream>
00005 #include <string>
00006 #include <stdint.h>
00007 
00018 class L1GctFibreWord {
00019  public:
00020 
00021   L1GctFibreWord();
00022   L1GctFibreWord(uint32_t data, uint16_t block, uint16_t index, int16_t bx);
00023   
00024   uint32_t data() const { return data_; }
00025   uint16_t block() const { return block_; }
00026   uint16_t index() const { return index_; }
00027   int16_t bx() const { return bx_; }
00028   
00029  private:
00030 
00031   uint32_t data_;
00032   uint16_t block_;
00033   uint16_t index_;
00034   int16_t bx_;
00035 
00036 };
00037 
00038 std::ostream& operator<<(std::ostream& s, const L1GctFibreWord& fw);
00039 
00040 
00041 #endif