/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootEventData/RootEventData-00-03-80/src/TMdcDigi.cxx

Go to the documentation of this file.
00001 #include "RootEventData/TMdcDigi.h"
00002 
00003  ClassImp(TMdcDigi)
00004         
00005 //************************************************
00006         //
00007  TMdcDigi::TMdcDigi() {
00008     Clear();
00009  }
00010 //************************************************
00011 //
00012  TMdcDigi::~TMdcDigi (){
00013     Clear();
00014  }
00015 /************************************************
00016  void TMdcDigi::Clear(Option_t *option) {
00017      m_intId =0;
00018      m_timeChannel =0;
00019      m_chargeChannel =0;
00020  }
00021  ***********************************************
00022  void TMdcDigi::Print(Option_t *option) const {
00023     TObject::Print(option);
00024     std::cout.precision(2);
00025     std::cout << "Idetifier:    " << m_intId         << std::endl;
00026     std::cout << "TimeChannel:  " << m_timeChannel    <<std::endl;
00027     std::cout << "ChargeChannel:" << m_chargeChannel <<std::endl;
00028  }
00029  void TMdcDigi::initialize(UInt_t id, UInt_t time, UInt_t charge){
00030       m_intId = id ;
00031       m_timeChannel =time;
00032       m_chargeChannel = charge;
00033  }
00034 ***********************************************/
00035 
00036   void TMdcDigi::setOverflow(const UInt_t  overflow) {
00037         m_overflow = overflow;
00038   }
00039 
00040 
00041     //Get
00042     UInt_t  TMdcDigi::getOverflow() const {
00043         return m_overflow;
00044     }

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