Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

I3NuGenWeightingModule Class Reference

I3Module to weight neutrinos generated by nugen. More...

#include <I3NuGenWeightingModule.h>

List of all members.

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


Detailed Description

I3Module to weight neutrinos generated by nugen.

Author:
Kevin Meagher
Date:
April 2007

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 & Destructor Documentation

I3NuGenWeightingModule::I3NuGenWeightingModule const I3Context &  context  ) 
 

constructor


Member Function Documentation

void I3NuGenWeightingModule::Configure  ) 
 

I3Module configuration

void I3NuGenWeightingModule::Finish  ) 
 

I3Moudle Finish

void I3NuGenWeightingModule::Physics I3FramePtr  frame  ) 
 

I3Module Physics


Member Data Documentation

double I3NuGenWeightingModule::events_so_far_ [private]
 

keep track of events for debugging

string I3NuGenWeightingModule::mc_tree_name_ [private]
 

name of mcTree containing pre-earth neutrino

vector< shared_ptr<NeutrinoFlux> > I3NuGenWeightingModule::model_list_ [private]
 

storage containder for NeutrinoFlux models

std::vector<std::string> I3NuGenWeightingModule::neutrino_flux_services_ [private]
 

names of NeutrinoFluxFactories

string I3NuGenWeightingModule::weight_map_name_ [private]
 

name of weight map output

I3MapStringDouble I3NuGenWeightingModule::weight_sum_ [private]
 

sum of events weights for debugging


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


Generated on Thu May 17 18:16:29 2007 by doxygen version 1.3.5