icemc
 All Classes Namespaces Files Functions Variables Friends Macros Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Interaction Class Reference

Stores everything about a particular neutrino interaction. Interaction. More...

#include <Primaries.h>

Public Member Functions

 Interaction (string inttype, Primaries *primary1, Settings *settings1, int whichray, Counting *count1)
 
void PickAnyDirection ()
 Constructor. More...
 
void setNuFlavor (Primaries *primary1, Settings *settings1, int whichray, Counting *count1)
 
string GetCurrent ()
 choose CC or NC: get from ratios in Ghandi etal paper, updated for the CTEQ6-DIS parton distribution functions (M.H. Reno, personal communication). Need to add capability of using ratios from Connolly et al. More...
 
void setCurrent ()
 

Public Attributes

double banana_phi_obs
 
Vector banana_obs
 Vector from the neutrino interaction to the observation point. More...
 
int noway
 
int wheredoesitleave_err
 
int neverseesice
 
int wheredoesitenterice_err
 
int toohigh
 
int toolow
 
double pathlength_inice
 
Vector nnu
 direction of neutrino (+z in south pole direction) More...
 
double costheta_nutraject
 theta of nnu with earth center to balloon as z axis More...
 
double phi_nutraject
 phi of nnu with earth center to balloon as z axis More...
 
double weight_nu
 Weight for neutrino that survives to posnu. More...
 
double weight_nu_prob
 Weight for neutrino that survives to posnu and interacts in the ice. More...
 
Position r_in
 position where neutrino enters the earth More...
 
Position r_enterice
 position where neutrino enters the ice More...
 
Position nuexit
 place where neutrino would have left the earth More...
 
Position nuexitice
 place where neutrino would have left the ice More...
 
double chord
 chord in m from earth entrance to rock-ice boundary More...
 
double logchord
 log_10 of chord length earth entrance to where it enters ice More...
 
double weight_bestcase
 what weight1 would be if whole earth had density of crust - for quick and dirty calculation of best case scenario More...
 
double chord_kgm2_bestcase
 the chord the neutrino would traverse if it all was crust density More...
 
double chord_kgm2_ice
 from ice entrance to interaction point More...
 
double d1
 same as chord in m (earth entrance to rock-ice boundary) More...
 
double d2
 ice-rock boundary to interaction point in m More...
 
double banana_weight
 Weight measurement locations to account for phase space. More...
 
double banana_theta_obs
 
double banana_volts
 Total voltage measured at a spot on the sky. More...
 
Position posnu
 
Position posnu_down
 
string nuflavor
 neutrino flavor More...
 
string current
 CC or NC? More...
 
int nuflavorint
 Added by Stephen for output purposes. More...
 
int currentint
 Ditto - Stephen. More...
 
double surface_over_banana_nu
 
string banana_flavor
 Force interaction to be a muon neutrino. More...
 
string banana_current
 Force interaction to be a neutral current. More...
 
Vector nnu_banana
 Forced neutrino direction. More...
 
Position nu_banana
 The forced interaction point of the neutrino for the banana plots. More...
 
Position nu_banana_surface
 The location of the surface above the forced neutrino interaction point. More...
 
double dtryingdirection
 weighting factor: how many equivalent tries each neutrino counts for after having reduced angular phase space for possibly detectable events More...
 
double dnutries
 product of dtryingdirection and dtryingposition More...
 
double altitude_int
 depth of interaction More...
 
double altitude_int_mirror
 depth of the mirror point of interaction. More...
 
double r_fromballoon [2]
 distance from interaction to balloon for each ray More...
 
double r_fromballoon_db
 same, for double bangs More...
 
double r_exit2bn
 exit to balloon More...
 
double r_exit2bn_measured
 exit to balloon deduced from measured theta More...
 
int iceinteraction
 whether or not there is an interaction in the ice More...
 

Static Public Attributes

static constexpr double phi_nu_banana =3.14159/4
 Location in phi. More...
 
static constexpr double banana_observation_distance =600000.
 How far from the surface above the interaction are we when we measure the voltages? (meters) Note: Should be at least 100000 for best results. More...
 
static constexpr double theta_nu_banana =170.*3.14159/180.
 Location of banana neutrino in theta. More...
 
static constexpr int kcc =0
 
static constexpr int knc =1
 
static constexpr double pnu_banana =2.00E19
 
static constexpr double banana_y =0.2
 Elasticity. 0.2 is an average number. More...
 
static constexpr double banana_signal_fluct =0.
 Turn off noise for banana plots (settings1->SIGNAL_FLUCT) (shouldn't matter) More...
 
static constexpr double banana_sigma =0.
 NSIGMA in the case of a banana plot. More...
 

Detailed Description

Stores everything about a particular neutrino interaction. Interaction.

Constructor & Destructor Documentation

Interaction::Interaction ( string  inttype,
Primaries primary1,
Settings settings1,
int  whichray,
Counting count1 
)

Member Function Documentation

string Interaction::GetCurrent ( )

choose CC or NC: get from ratios in Ghandi etal paper, updated for the CTEQ6-DIS parton distribution functions (M.H. Reno, personal communication). Need to add capability of using ratios from Connolly et al.

void Interaction::PickAnyDirection ( )

Constructor.

void Interaction::setCurrent ( )
void Interaction::setNuFlavor ( Primaries primary1,
Settings settings1,
int  whichray,
Counting count1 
)

Member Data Documentation

double Interaction::altitude_int

depth of interaction

double Interaction::altitude_int_mirror

depth of the mirror point of interaction.

string Interaction::banana_current

Force interaction to be a neutral current.

string Interaction::banana_flavor

Force interaction to be a muon neutrino.

Vector Interaction::banana_obs

Vector from the neutrino interaction to the observation point.

constexpr double Interaction::banana_observation_distance =600000.
static

How far from the surface above the interaction are we when we measure the voltages? (meters) Note: Should be at least 100000 for best results.

double Interaction::banana_phi_obs
constexpr double Interaction::banana_sigma =0.
static

NSIGMA in the case of a banana plot.

constexpr double Interaction::banana_signal_fluct =0.
static

Turn off noise for banana plots (settings1->SIGNAL_FLUCT) (shouldn't matter)

double Interaction::banana_theta_obs
double Interaction::banana_volts

Total voltage measured at a spot on the sky.

double Interaction::banana_weight

Weight measurement locations to account for phase space.

constexpr double Interaction::banana_y =0.2
static

Elasticity. 0.2 is an average number.

double Interaction::chord

chord in m from earth entrance to rock-ice boundary

double Interaction::chord_kgm2_bestcase

the chord the neutrino would traverse if it all was crust density

double Interaction::chord_kgm2_ice

from ice entrance to interaction point

double Interaction::costheta_nutraject

theta of nnu with earth center to balloon as z axis

string Interaction::current

CC or NC?

int Interaction::currentint

Ditto - Stephen.

double Interaction::d1

same as chord in m (earth entrance to rock-ice boundary)

double Interaction::d2

ice-rock boundary to interaction point in m

double Interaction::dnutries

product of dtryingdirection and dtryingposition

double Interaction::dtryingdirection

weighting factor: how many equivalent tries each neutrino counts for after having reduced angular phase space for possibly detectable events

int Interaction::iceinteraction

whether or not there is an interaction in the ice

constexpr int Interaction::kcc =0
static
constexpr int Interaction::knc =1
static
double Interaction::logchord

log_10 of chord length earth entrance to where it enters ice

int Interaction::neverseesice
Vector Interaction::nnu

direction of neutrino (+z in south pole direction)

Vector Interaction::nnu_banana

Forced neutrino direction.

int Interaction::noway
Position Interaction::nu_banana

The forced interaction point of the neutrino for the banana plots.

Position Interaction::nu_banana_surface

The location of the surface above the forced neutrino interaction point.

phase space weighting

Position Interaction::nuexit

place where neutrino would have left the earth

Position Interaction::nuexitice

place where neutrino would have left the ice

string Interaction::nuflavor

neutrino flavor

int Interaction::nuflavorint

Added by Stephen for output purposes.

double Interaction::pathlength_inice
constexpr double Interaction::phi_nu_banana =3.14159/4
static

Location in phi.

double Interaction::phi_nutraject

phi of nnu with earth center to balloon as z axis

constexpr double Interaction::pnu_banana =2.00E19
static
Position Interaction::posnu
Position Interaction::posnu_down
Position Interaction::r_enterice

position where neutrino enters the ice

double Interaction::r_exit2bn

exit to balloon

double Interaction::r_exit2bn_measured

exit to balloon deduced from measured theta

double Interaction::r_fromballoon[2]

distance from interaction to balloon for each ray

double Interaction::r_fromballoon_db

same, for double bangs

Position Interaction::r_in

position where neutrino enters the earth

double Interaction::surface_over_banana_nu
constexpr double Interaction::theta_nu_banana =170.*3.14159/180.
static

Location of banana neutrino in theta.

int Interaction::toohigh
int Interaction::toolow
double Interaction::weight_bestcase

what weight1 would be if whole earth had density of crust - for quick and dirty calculation of best case scenario

double Interaction::weight_nu

Weight for neutrino that survives to posnu.

double Interaction::weight_nu_prob

Weight for neutrino that survives to posnu and interacts in the ice.

int Interaction::wheredoesitenterice_err
int Interaction::wheredoesitleave_err

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