All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SupernovaTruth.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file Simulation/SupernovaTruth.cxx
3 /// \brief Stores extra MC truth information that is recorded when
4 /// generating events using a time-dependent supernova neutrino spectrum
5 ///
6 /// \author Steven Gardiner <sjgardiner@ucdavis.edu>
7 ////////////////////////////////////////////////////////////////////////
8 
10 
11 namespace sim {
12 
13  SupernovaTruth::SupernovaTruth() : SupernovaTime(0.), Weight(0.),
14  FluxAveragedCrossSection(0.), SamplingMode(kUnknownSupernovaSamplingMode) {}
15 
16  SupernovaTruth::SupernovaTruth(double time, double weight,
17  double xs_avg, SupernovaSamplingMode_t sampling_mode)
18  : SupernovaTime(time), Weight(weight), FluxAveragedCrossSection(xs_avg),
19  SamplingMode(sampling_mode) {}
20 
21 }
Stores extra MC truth information that is recorded when generating events using a time-dependent supe...
SupernovaSamplingMode_t