Kariba
Loading...
Searching...
No Matches
kariba::Neutrinos_pg Class Reference

#include <Neutrinos_pg.hpp>

Inheritance diagram for kariba::Neutrinos_pg:
kariba::Radiation

Public Member Functions

 Neutrinos_pg (size_t size, double Emin, double Emax)
 
void set_neutrinos (double gp_min, double gp_max, gsl_interp_accel *acc_Jp, gsl_spline *spline_Jp, const std::vector< double > &en_perseg, const std::vector< double > &lum_perseg, size_t nphot, const std::string &outputConfiguration, const std::string &flavor, int infosw, std::string_view source)
 
- Public Member Functions inherited from kariba::Radiation
 Radiation (size_t size)
 
const std::vector< double > & get_energy () const
 
const std::vector< double > & get_nphot () const
 
const std::vector< double > & get_energy_obs () const
 
const std::vector< double > & get_nphot_obs () const
 
size_t get_size () const
 
double get_volume () const
 
double integrated_luminosity (double numin, double numax)
 
void set_beaming (double theta, double speed, double doppler)
 Methods to set viewing angle, beaming and geometry of emission region.
 
void set_inclination (double theta)
 
void set_geometry (const std::string &geom, double l1, double l2)
 
void set_geometry (const std::string &geom, double l1)
 
void set_counterjet (bool flag)
 Method to include a counterjet in cyclosycnchrotron/Compton classes.
 
void test_arrays ()
 Simple method to check arrays; only meant for debugging.
 

Additional Inherited Members

- Protected Attributes inherited from kariba::Radiation
std::vector< double > en_phot
 array of photon energies
 
std::vector< double > num_phot
 array of number of photons in units of erg/s/Hz
 
std::vector< double > en_phot_obs
 same as above but in observer frame
 
std::vector< double > num_phot_obs
 same as above but in observer frame
 
double r
 
double z
 Dimensions of emitting region.
 
double vol
 Volume of emitting region.
 
double beta
 speed of the emitting region
 
double dopfac
 
double angle
 Viewing angle/Doppler factor of emitting region.
 
double dopnum
 Doppler boosting exponent, depends on geometry.
 
bool counterjet
 boolean switch if user wants to include counterjet emission
 
std::string geometry
 string to track geometry of emitting region
 

Constructor & Destructor Documentation

◆ Neutrinos_pg()

kariba::Neutrinos_pg::Neutrinos_pg ( size_t  size,
double  Emin,
double  Emax 
)

Member Function Documentation

◆ set_neutrinos()

void kariba::Neutrinos_pg::set_neutrinos ( double  gp_min,
double  gp_max,
gsl_interp_accel *  acc_Jp,
gsl_spline *  spline_Jp,
const std::vector< double > &  en_perseg,
const std::vector< double > &  lum_perseg,
size_t  nphot,
const std::string &  outputConfiguration,
const std::string &  flavor,
int  infosw,
std::string_view  source 
)

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