icemc
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private 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 d_effective_area
 In unbaised mode, projection of surface onto nnu. 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...
 

Private Attributes

Vector tmp_banana
 Intermediate vector. More...
 

Static Private Attributes

static constexpr double nu_banana_theta_angle =-0.413 * 3.14159/180.
 don't let me use RADDEG which is annoying More...
 
static constexpr double altitude_nu_banana =-400.
 Depth of interaction of banana neutrino. More...
 
static constexpr double lat_nu_banana =0.
 
static constexpr double lon_nu_banana =0.
 
static constexpr double banana_slopey =0.
 Turn slopyness off for banana plots (SLOPEY) More...
 
static constexpr double nu_banana_phi_angle =0. * 3.14159/180.
 

Detailed Description

Stores everything about a particular neutrino interaction. Interaction.

Constructor & Destructor Documentation

◆ Interaction()

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

Member Function Documentation

◆ GetCurrent()

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.

◆ PickAnyDirection()

void Interaction::PickAnyDirection ( )

Constructor.

◆ setCurrent()

void Interaction::setCurrent ( )

◆ setNuFlavor()

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

Member Data Documentation

◆ altitude_int

double Interaction::altitude_int

depth of interaction

◆ altitude_int_mirror

double Interaction::altitude_int_mirror

depth of the mirror point of interaction.

◆ altitude_nu_banana

constexpr double Interaction::altitude_nu_banana =-400.
staticprivate

Depth of interaction of banana neutrino.

◆ banana_current

string Interaction::banana_current

Force interaction to be a neutral current.

◆ banana_flavor

string Interaction::banana_flavor

Force interaction to be a muon neutrino.

◆ banana_obs

Vector Interaction::banana_obs

Vector from the neutrino interaction to the observation point.

◆ banana_observation_distance

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.

◆ banana_phi_obs

double Interaction::banana_phi_obs

◆ banana_sigma

constexpr double Interaction::banana_sigma =0.
static

NSIGMA in the case of a banana plot.

◆ banana_signal_fluct

constexpr double Interaction::banana_signal_fluct =0.
static

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

◆ banana_slopey

constexpr double Interaction::banana_slopey =0.
staticprivate

Turn slopyness off for banana plots (SLOPEY)

◆ banana_theta_obs

double Interaction::banana_theta_obs

◆ banana_volts

double Interaction::banana_volts

Total voltage measured at a spot on the sky.

◆ banana_weight

double Interaction::banana_weight

Weight measurement locations to account for phase space.

◆ banana_y

constexpr double Interaction::banana_y =0.2
static

Elasticity. 0.2 is an average number.

◆ chord

double Interaction::chord

chord in m from earth entrance to rock-ice boundary

◆ chord_kgm2_bestcase

double Interaction::chord_kgm2_bestcase

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

◆ chord_kgm2_ice

double Interaction::chord_kgm2_ice

from ice entrance to interaction point

◆ costheta_nutraject

double Interaction::costheta_nutraject

theta of nnu with earth center to balloon as z axis

◆ current

string Interaction::current

CC or NC?

◆ currentint

int Interaction::currentint

Ditto - Stephen.

◆ d1

double Interaction::d1

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

◆ d2

double Interaction::d2

ice-rock boundary to interaction point in m

◆ d_effective_area

double Interaction::d_effective_area

In unbaised mode, projection of surface onto nnu.

◆ dnutries

double Interaction::dnutries

product of dtryingdirection and dtryingposition

◆ dtryingdirection

double Interaction::dtryingdirection

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

◆ iceinteraction

int Interaction::iceinteraction

whether or not there is an interaction in the ice

◆ kcc

constexpr int Interaction::kcc =0
static

◆ knc

constexpr int Interaction::knc =1
static

◆ lat_nu_banana

constexpr double Interaction::lat_nu_banana =0.
staticprivate

◆ logchord

double Interaction::logchord

log_10 of chord length earth entrance to where it enters ice

◆ lon_nu_banana

constexpr double Interaction::lon_nu_banana =0.
staticprivate

◆ neverseesice

int Interaction::neverseesice

◆ nnu

Vector Interaction::nnu

direction of neutrino (+z in south pole direction)

◆ nnu_banana

Vector Interaction::nnu_banana

Forced neutrino direction.

◆ noway

int Interaction::noway

◆ nu_banana

Position Interaction::nu_banana

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

◆ nu_banana_phi_angle

constexpr double Interaction::nu_banana_phi_angle =0. * 3.14159/180.
staticprivate

◆ nu_banana_surface

Position Interaction::nu_banana_surface

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

phase space weighting

◆ nu_banana_theta_angle

constexpr double Interaction::nu_banana_theta_angle =-0.413 * 3.14159/180.
staticprivate

don't let me use RADDEG which is annoying

◆ nuexit

Position Interaction::nuexit

place where neutrino would have left the earth

◆ nuexitice

Position Interaction::nuexitice

place where neutrino would have left the ice

◆ nuflavor

string Interaction::nuflavor

neutrino flavor

◆ nuflavorint

int Interaction::nuflavorint

Added by Stephen for output purposes.

◆ pathlength_inice

double Interaction::pathlength_inice

◆ phi_nu_banana

constexpr double Interaction::phi_nu_banana =3.14159/4
static

Location in phi.

◆ phi_nutraject

double Interaction::phi_nutraject

phi of nnu with earth center to balloon as z axis

◆ pnu_banana

constexpr double Interaction::pnu_banana =2.00E19
static

◆ posnu

Position Interaction::posnu

◆ posnu_down

Position Interaction::posnu_down

◆ r_enterice

Position Interaction::r_enterice

position where neutrino enters the ice

◆ r_exit2bn

double Interaction::r_exit2bn

exit to balloon

◆ r_exit2bn_measured

double Interaction::r_exit2bn_measured

exit to balloon deduced from measured theta

◆ r_fromballoon

double Interaction::r_fromballoon[2]

distance from interaction to balloon for each ray

◆ r_fromballoon_db

double Interaction::r_fromballoon_db

same, for double bangs

◆ r_in

Position Interaction::r_in

position where neutrino enters the earth

◆ surface_over_banana_nu

double Interaction::surface_over_banana_nu

◆ theta_nu_banana

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

Location of banana neutrino in theta.

◆ tmp_banana

Vector Interaction::tmp_banana
private

Intermediate vector.

For banana plot static const double RADDEG_TMP=3.14159/180.;

◆ toohigh

int Interaction::toohigh

◆ toolow

int Interaction::toolow

◆ weight_bestcase

double Interaction::weight_bestcase

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

◆ weight_nu

double Interaction::weight_nu

Weight for neutrino that survives to posnu.

◆ weight_nu_prob

double Interaction::weight_nu_prob

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

◆ wheredoesitenterice_err

int Interaction::wheredoesitenterice_err

◆ wheredoesitleave_err

int Interaction::wheredoesitleave_err

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