00001 00007 #ifndef _QI_MUONVETO_R_HH_ 00008 #define _QI_MUONVETO_R_HH_ 00009 00010 #include "QEventDataR.hh" 00011 #include "QiMuonChannelR.hh" 00012 #include <map> 00013 00014 namespace Cuore {class QiMuonVeto;} 00015 00016 class QiMuonVetoR : public TObject { 00017 00018 public: 00020 QiMuonVetoR() {} 00021 00023 virtual ~QiMuonVetoR() {} 00024 00025 const QiMuonChannelR& GetChannel(int channel) const { return (fChannels.find(channel)->second); } 00026 00027 const QiMuonVetoR& operator=(const Cuore::QiMuonVeto& qimuonchanneldata); 00028 void Fill(Cuore::QiMuonVeto& qimuonchanneldata) const; 00029 00030 private: 00032 std::map<int, QiMuonChannelR> fChannels; 00033 00034 ClassDef(QiMuonVetoR,1); 00035 }; 00036 00037 #endif