QPulserGroupList.hh

Go to the documentation of this file.
00001 
00002 #ifndef _Q_PULSER_GROUP_LIST_HH_
00003 #define _Q_PULSER_GROUP_LIST_HH_
00004 
00005 #include <map>
00006 #include "QPulserChannel.hh"
00007 
00008 class QPulserConfig;
00009 
00017 class QPulserGroupList
00018 {
00019 public:
00020    QPulserGroupList();
00021    virtual ~QPulserGroupList();
00022 
00024    void SetPulserPeriod(unsigned int periodMs) {fPeriodMs = periodMs; }
00025 
00027    unsigned int GetPulserPeriod() const { return fPeriodMs; }
00028 
00030    const std::map<unsigned int, QPulserChannel>& GetChannels() const
00031    { return fChannels; }
00032    
00034    void AddChannel(unsigned int pulseId,
00035                    unsigned int hwCh,
00036                    unsigned int delay,
00037                    const std::vector<QPulserConfig*>& pattern);
00038    
00039 private:
00040    unsigned int fPeriodMs;
00042    std::map<unsigned int, QPulserChannel> fChannels; 
00043 };
00044 #endif
00045 

Generated on Tue Nov 16 10:49:55 2010 for CUORE Software by  doxygen 1.5.6
INFN Genova privacy policy