LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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.

13  : SupernovaTime(0.), Weight(0.),
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 16 of file SupernovaTruth.cxx.

19  SamplingMode(sampling_mode) {}
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 46 of file SupernovaTruth.h.

SupernovaSamplingMode_t sim::SupernovaTruth::SamplingMode

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

Definition at line 50 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 32 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 41 of file SupernovaTruth.h.


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