LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
SupernovaTruth.cxx
Go to the documentation of this file.
1 
10 
11 namespace sim {
12 
13  SupernovaTruth::SupernovaTruth() : SupernovaTime(0.), Weight(0.),
14  FluxAveragedCrossSection(0.), SamplingMode(kUnknownSupernovaSamplingMode) {}
15 
17  double xs_avg, SupernovaSamplingMode_t sampling_mode)
18  : SupernovaTime(time), Weight(weight), FluxAveragedCrossSection(xs_avg),
19  SamplingMode(sampling_mode) {}
20 
21 }
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