LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::SupernovaTruth Class Reference

#include "SupernovaTruth.h"

Public Member Functions

 SupernovaTruth ()
 
 SupernovaTruth (double time, double weight, double xs_avg, SupernovaSamplingMode_t sampling_mode)
 

Public Attributes

double SupernovaTime
 Arrival time of the supernova neutrino (seconds) More...
 
double Weight
 Statistical weight for this neutrino vertex. More...
 
double FluxAveragedCrossSection
 Flux-averaged total cross section (fm2, average is taken over all energies and times for all defined MARLEY reactions) used by MARLEY to generate this neutrino vertex. More...
 
SupernovaSamplingMode_t SamplingMode
 Method used to sample the supernova neutrino's energy and arrival time. More...
 

Detailed Description

Definition at line 22 of file SupernovaTruth.h.

Constructor & Destructor Documentation

sim::SupernovaTruth::SupernovaTruth ( )

Definition at line 13 of file SupernovaTruth.cxx.

14  : SupernovaTime(0.)
15  , Weight(0.)
18  {}
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.
double SupernovaTime
Arrival time of the supernova neutrino (seconds)
sim::SupernovaTruth::SupernovaTruth ( double  time,
double  weight,
double  xs_avg,
SupernovaSamplingMode_t  sampling_mode 
)

Definition at line 20 of file SupernovaTruth.cxx.

24  : SupernovaTime(time)
25  , Weight(weight)
26  , FluxAveragedCrossSection(xs_avg)
27  , SamplingMode(sampling_mode)
28  {}
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.
double weight
Definition: plottest35.C:25
double SupernovaTime
Arrival time of the supernova neutrino (seconds)

Member Data Documentation

double sim::SupernovaTruth::FluxAveragedCrossSection

Flux-averaged total cross section (fm2, average is taken over all energies and times for all defined MARLEY reactions) used by MARLEY to generate this neutrino vertex.

Definition at line 48 of file SupernovaTruth.h.

SupernovaSamplingMode_t sim::SupernovaTruth::SamplingMode

Method used to sample the supernova neutrino's energy and arrival time.

Definition at line 52 of file SupernovaTruth.h.

double sim::SupernovaTruth::SupernovaTime

Arrival time of the supernova neutrino (seconds)

The arrival time is measured relative to the supernova core bounce (defined to be t = 0), not the start of the detector readout window.

Definition at line 34 of file SupernovaTruth.h.

double sim::SupernovaTruth::Weight

Statistical weight for this neutrino vertex.

The statistical weight will always be unity unless a biased sampling method was used. In general, the weight is given by the likelihood ratio $f(E_{\nu}, t_{SN}) / g(E_{\nu}, t_{SN})$ where $ f(E_nu, t_SN) $ is the unbiased probability density, and $ g(E_{\nu}, t_{SN})$ is the actual probability density that was used for sampling.

Definition at line 43 of file SupernovaTruth.h.


The documentation for this class was generated from the following files: