00001 00014 #ifndef NUCDECAY_H 00015 #define NUCDECAY_H 00016 00017 #include <string> 00018 00019 namespace GenDecay { 00020 00021 class NucState; 00022 00023 struct NucDecay { 00024 NucState *mother, *daughter; 00025 // Type can be: 00026 // "A DECAY" 00027 // "B- DECAY" 00028 // "B+ DECAY" 00029 // "IT DECAY" 00030 // "Gamma" 00031 std::string type; 00032 double energy; 00033 double fraction; 00034 00035 NucDecay(NucState* mo, NucState* da, const std::string& typ, double e=0, double f=0); 00036 00037 // return energy in CLHEP energy units 00038 double clhep_energy() const; 00039 }; 00040 00041 } 00042 00043 std::ostream& operator<<(std::ostream& o, const GenDecay::NucDecay& ns); 00044 00045 00046 00047 #endif // NUCDECAY_H