99 enum KaonZeroShortDecayChannel {
106 double kplus_lifetime_factor{1};
107 double kminus_lifetime_factor{1};
108 double k0l_lifetime_factor{1};
109 double k0s_lifetime_factor{1};
113 std::vector<double> kplus_branching_ratios;
114 std::vector<double> kminus_branching_ratios;
115 std::vector<double> k0l_branching_ratios;
116 std::vector<double> k0s_branching_ratios;
123 KaonPhysics(
const G4String& name,
125 virtual ~KaonPhysics() =
default;
131 const std::vector<double>& branching_ratios,
132 double lifetime_factor)
const;
147 void DumpDecayDetails(
const G4ParticleDefinition* kaon)
const;
158 mutable framework::logging::logger theLog_{
159 framework::logging::makeLogger(
"KaonPhysics")};
void setDecayProperties(G4ParticleDefinition *kaon, const std::vector< double > &branching_ratios, double lifetime_factor) const
Set the lifetime and branching ratios for one of the kaon species.