#include <Absorption.h>
 | 
| static const double  | kU = 1.660539066e-24 | 
|   | Atomic mass unit.  More...
  | 
|   | 
Definition at line 8 of file Absorption.h.
 
◆ Absorption()
      
        
          | Absorption::Absorption  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ~Absorption()
  
  
      
        
          | Absorption::~Absorption  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetPath()
  
  
      
        
          | void Absorption::SetPath  | 
          ( | 
          std::vector< NuPath >  | 
          paths | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Definition at line 36 of file Absorption.cxx.
std::vector< NuPath > fNuPaths
Vector of neutrino paths.
 
 
References fNuPaths.
 
 
◆ Trans()
  
  
      
        
          | double Absorption::Trans  | 
          ( | 
          double  | 
          xsec | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Definition at line 19 of file Absorption.cxx.
   20{
   21  vector<double> p_trans_vec;
   22 
   23  for (
int i = 0; i < int(
fNuPaths.size()); i++) {
 
   26    double p_trans = exp(-l * n * xsec);
   27    p_trans_vec.push_back(p_trans); 
   28  }
   29 
   30  
   31  return accumulate(p_trans_vec.begin(), p_trans_vec.end(), 1.,
   32                    multiplies<double>());
   33}
static const double kU
Atomic mass unit.
 
 
References fNuPaths, and kU.
 
 
◆ fNuPaths
  
  
      
        
          | std::vector<NuPath> OscProb::Absorption::fNuPaths | 
         
       
   | 
  
protected   | 
  
 
 
◆ kU
  
  
      
        
          | const double Absorption::kU = 1.660539066e-24 | 
         
       
   | 
  
staticprotected   | 
  
 
 
The documentation for this class was generated from the following files: