Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lardataobj
lardataobj
Simulation
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
9
#include "
lardataobj/Simulation/SupernovaTruth.h
"
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
}
sim::SupernovaTruth::SupernovaTruth
SupernovaTruth()
Definition:
SupernovaTruth.cxx:13
sim::kUnknownSupernovaSamplingMode
Unknown sampling mode.
Definition:
SupernovaTruth.h:15
SupernovaTruth.h
Stores extra MC truth information that is recorded when generating events using a time-dependent supe...
sim::SupernovaSamplingMode_t
SupernovaSamplingMode_t
Definition:
SupernovaTruth.h:14
Generated by
1.8.5