00001 #ifndef DecayMode_H 00002 #define DecayMode_H 00003 00004 #include "GaudiKernel/DataObject.h" 00005 00006 extern const CLID &CLID_DecayMode; 00007 00008 class DecayMode : public DataObject { 00009 00010 public: 00011 DecayMode() 00012 { 00013 for (unsigned int index=0; index<m_size; index++) 00014 m_data[index] = 0; 00015 } 00016 virtual ~DecayMode() {;} 00017 void getData (int* data, unsigned int size); 00018 void putData (int* data, unsigned int size); 00019 virtual const CLID& clID() const { return DecayMode::classID();} 00020 static const CLID& classID() { return CLID_DecayMode; } 00021 00022 private: 00023 bool values_ok(unsigned int size); 00024 00025 static const unsigned int m_size = 10; 00026 int m_data[m_size]; 00027 00028 }; 00029 00030 #endif //DecayMode_H