Skip to content

Commit 8fadf8c

Browse files
author
gputnam
committed
Update information in MeVPrtl objects to clarify total/partial widths.
1 parent 3388d1c commit 8fadf8c

4 files changed

Lines changed: 23 additions & 11 deletions

File tree

sbnobj/Common/EventGen/MeVPrtl/MeVPrtlDecay.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ class MeVPrtlDecay {
1717
std::vector<double> daughter_e;
1818
std::vector<int> daughter_pdg;
1919

20-
double decay_width;
21-
double mean_lifetime;
22-
double mean_distance;
20+
// Total widths / distances for all possible decays
21+
double total_decay_width;
22+
double total_mean_lifetime;
23+
double total_mean_distance;
24+
25+
// Fraction of width for allowed decays
26+
double allowed_decay_fraction;
27+
2328
};
2429

2530
} // end namespace ldm

sbnobj/Common/EventGen/MeVPrtl/MeVPrtlTruth.cxx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ evgen::ldm::MeVPrtlTruth::MeVPrtlTruth(const MeVPrtlFlux &flux,
3030
C3(flux.C3),
3131
C4(flux.C4),
3232
C5(flux.C5),
33-
decay_width(decay.decay_width),
34-
mean_lifetime(decay.mean_lifetime),
35-
mean_distance(decay.mean_distance)
33+
total_decay_width(decay.total_decay_width),
34+
total_mean_lifetime(decay.total_mean_lifetime),
35+
total_mean_distance(decay.total_mean_distance),
36+
allowed_decay_fraction(decay.allowed_decay_fraction)
3637
{
3738
gen = (evgen::ldm::Generator)flux.generator;
3839
}

sbnobj/Common/EventGen/MeVPrtl/MeVPrtlTruth.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,13 @@ class MeVPrtlTruth {
4949
double C4;
5050
double C5;
5151

52-
double decay_width;
53-
double mean_lifetime;
54-
double mean_distance;
52+
// Total widths / distances for all possible decays
53+
double total_decay_width;
54+
double total_mean_lifetime;
55+
double total_mean_distance;
56+
57+
// Fraction of width for allowed decays
58+
double allowed_decay_fraction;
5559

5660
Generator gen;
5761

sbnobj/Common/EventGen/MeVPrtl/classes_def.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<enum name="evgen::ldm::Generator" ClassVersion="10"/>
33
<class name="art::Wrapper<evgen::ldm::Generator>" />
44

5-
<class name="evgen::ldm::MeVPrtlTruth" ClassVersion="14" >
5+
<class name="evgen::ldm::MeVPrtlTruth" ClassVersion="15" >
6+
<version ClassVersion="15" checksum="4052252425"/>
67
<version ClassVersion="14" checksum="2705813761"/>
78
<version ClassVersion="13" checksum="595941781"/>
89
<version ClassVersion="12" checksum="3242977751"/>
@@ -13,7 +14,8 @@
1314
<class name="art::Wrapper<evgen::ldm::MeVPrtlTruth>" />
1415
<class name="art::Wrapper<std::vector<evgen::ldm::MeVPrtlTruth>>" />
1516

16-
<class name="evgen::ldm::MeVPrtlDecay" ClassVersion="12" >
17+
<class name="evgen::ldm::MeVPrtlDecay" ClassVersion="13" >
18+
<version ClassVersion="13" checksum="1778715002"/>
1719
<version ClassVersion="12" checksum="568285194"/>
1820
<version ClassVersion="11" checksum="4053925473"/>
1921
<version ClassVersion="10" checksum="1041718571"/>

0 commit comments

Comments
 (0)