/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/McTruth/McTruth-00-02-19/src/DecayMode.cxx

Go to the documentation of this file.
00001 #include "McTruth/DecayMode.h"
00002 #include <iostream>
00003 void DecayMode::getData (int* data, unsigned int size) {
00004   for (unsigned int index=0; index<m_size; index++) {
00005      data[index] = m_data[index];
00006   }
00007 }
00008 
00009 void DecayMode::putData (int* data, unsigned int size) {
00010   assert(size); 
00011   for (unsigned int index=0; index<m_size; index++) {
00012     m_data[index] = data[index];
00013   }
00014 }
00015 
00016 bool  DecayMode::values_ok(unsigned int size) {
00017   if (size > m_size) {
00018     std::cout << " DecayMode:: error: size beyond the range!" <<std::endl;
00019     return false;
00020   } else {
00021     return true;
00022   }
00023 }

Generated on Tue Nov 29 22:58:31 2016 for BOSS_7.0.2 by  doxygen 1.4.7