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

Go to the documentation of this file.
00001 #include "RootEventData/TTofDigi.h"
00002 
00003  ClassImp(TTofDigi)
00004         
00005 //************************************************
00006         //
00007  TTofDigi::TTofDigi() {
00008     Clear();
00009  }
00010 //************************************************
00011 //
00012  TTofDigi::~TTofDigi (){
00013     Clear();
00014  }
00015 /************************************************
00016  void TTofDigi::Clear(Option_t *option) {
00017      m_intId =0;
00018      m_timeChannel =0;
00019      m_chargeChannel =0;
00020  }
00021  ***********************************************
00022  void TTofDigi::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 TTofDigi::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 TTofDigi::setOverflow(const UInt_t  overflow) {
00037         m_overflow = overflow;
00038   }
00039 
00040 
00041     //Get
00042     UInt_t  TTofDigi::getOverflow() const {
00043         return m_overflow;
00044     }
00045 

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