/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootEventData/RootEventData-00-03-80/RootEventData/TRecZddChannel.h

Go to the documentation of this file.
00001 #ifndef RootEventData_TRecZddChannel_H
00002 #define RootEventData_TRecZddChannel_H
00003 
00004 #include "TObject.h"
00005 #include <vector>
00006 #include <memory>  //std::pair
00007 
00008 class TRecZddChannel : public TObject
00009 {
00010     public :
00011 
00012         TRecZddChannel();
00013         virtual ~TRecZddChannel();
00014 
00015         typedef std::vector<std::pair<Int_t, Float_t> > Fragments;
00016 
00017         Int_t channelId() const { return m_chId; }
00018         Int_t scanCode() const { return m_scanCode; }
00019         Int_t baseLine() const { return m_baseLine; }
00020         Int_t phase() const { return m_phase; }
00021         const Fragments& fragments() const { return m_frags; }
00022 
00023         void setChannelId(int chId) { m_chId = chId; }
00024         void setScanCode(int scanCode) { m_scanCode = scanCode; }
00025         void setBaseLine(int baseLine) { m_baseLine = baseLine; }
00026         void setPhase(int phase) { m_phase = phase; }
00027         void setFragments(const Fragments& frags) { m_frags = frags; }
00028 
00029     private :
00030 
00031         Int_t  m_chId;
00032         Int_t  m_scanCode;
00033         Int_t  m_baseLine;
00034         Int_t  m_phase;
00035         std::vector<std::pair<Int_t, Float_t> > m_frags;
00036 
00037         ClassDef(TRecZddChannel, 1)
00038 };
00039 
00040 #endif

Generated on Tue Nov 29 23:11:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7