#include <I3NuGenWeightingModule.h>
Public Member Functions | |
I3NuGenWeightingModule (const I3Context &context) | |
void | Configure () |
void | Physics (I3FramePtr frame) |
void | Finish () |
Private Attributes | |
std::vector< std::string > | neutrino_flux_services_ |
names of NeutrinoFluxFactories | |
string | weight_map_name_ |
name of weight map output | |
string | mc_tree_name_ |
name of mcTree containing pre-earth neutrino | |
vector< shared_ptr< NeutrinoFlux > > | model_list_ |
storage containder for NeutrinoFlux models | |
double | events_so_far_ |
keep track of events for debugging | |
I3MapStringDouble | weight_sum_ |
sum of events weights for debugging |
This module takes NeutrinoFluxNormalization of of the frame and makes an I3MapStringDouble out of weights using different models. The entries are rates in I3Units of different neutrino flux models. To simulate a specific livetime just multiply by the number of seconds to be simulated
|
constructor |
|
I3Module configuration |
|
I3Moudle Finish |
|
I3Module Physics |
|
keep track of events for debugging
|
|
name of mcTree containing pre-earth neutrino
|
|
storage containder for NeutrinoFlux models
|
|
names of NeutrinoFluxFactories
|
|
name of weight map output
|
|
sum of events weights for debugging
|