LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SupernovaTruth.cxx
Go to the documentation of this file.
1 
10 
11 namespace sim {
12 
14  : SupernovaTime(0.)
15  , Weight(0.)
16  , FluxAveragedCrossSection(0.)
17  , SamplingMode(kUnknownSupernovaSamplingMode)
18  {}
19 
21  double weight,
22  double xs_avg,
23  SupernovaSamplingMode_t sampling_mode)
24  : SupernovaTime(time)
25  , Weight(weight)
26  , FluxAveragedCrossSection(xs_avg)
27  , SamplingMode(sampling_mode)
28  {}
29 
30 }
SupernovaSamplingMode_t SamplingMode
Method used to sample the supernova neutrino's energy and arrival time.
double FluxAveragedCrossSection
Flux-averaged total cross section (fm2, average is taken over all energies and times for all defined ...
double Weight
Statistical weight for this neutrino vertex.
Monte Carlo Simulation.
double weight
Definition: plottest35.C:25
double SupernovaTime
Arrival time of the supernova neutrino (seconds)
Stores extra MC truth information that is recorded when generating events using a time-dependent supe...
SupernovaSamplingMode_t