44 #ifndef CEXMC_SIMPLE_DECAY_TABLE_STORE_HH
45 #define CEXMC_SIMPLE_DECAY_TABLE_STORE_HH
47 #ifdef CEXMC_USE_PERSISTENCY
49 #include <boost/serialization/access.hpp>
50 #include <boost/serialization/map.hpp>
56 typedef std::map< G4int, G4double > CexmcDecayBranchesStore;
59 class CexmcSimpleDecayTableStore
61 friend class boost::serialization::access;
64 CexmcSimpleDecayTableStore();
66 CexmcSimpleDecayTableStore(
const G4DecayTable * decayTable );
69 const CexmcDecayBranchesStore & GetDecayBranches(
void )
const;
72 template <
typename Archive >
73 void serialize( Archive & archive,
const unsigned int version );
76 CexmcDecayBranchesStore decayBranches;
80 inline const CexmcDecayBranchesStore &
81 CexmcSimpleDecayTableStore::GetDecayBranches(
void )
const
87 template <
typename Archive >
88 void CexmcSimpleDecayTableStore::serialize( Archive & archive,
91 archive & decayBranches;