Low-level interface for diffuse fluxes.  
 More...
#include <JDiffuseFlux.hh>
 | 
| virtual  | ~JDiffuseFlux () | 
|   | Virtual destructor.  More...
  | 
|   | 
| double  | getFactor (const Evt &evt) const override | 
|   | Get event-weight factor for given event.  More...
  | 
|   | 
| double  | getFactor (const int type, const double log10E, const double costh) const  | 
|   | Get event-weight factor for given particle PDG-identifier, energy and zenith-angle.  More...
  | 
|   | 
| double  | getFlux (const int type, const double log10E, const double costh) const  | 
|   | Get event-weight factor for given particle PDG-identifier, energy and zenith-angle.  More...
  | 
|   | 
| virtual void  | Print () override | 
|   | Print flux information.  More...
  | 
|   | 
| virtual double  | getFlux (const Evt &evt) const  | 
|   | Get flux of given event.  More...
  | 
|   | 
| virtual clone_type  | clone () const override | 
|   | Get clone of this object.  More...
  | 
|   | 
Low-level interface for diffuse fluxes. 
Definition at line 24 of file JDiffuseFlux.hh.
 
template<class JClonable_t, class JDerived_t = JNullType> 
 
 
  
  
      
        
          | virtual JAANET::JDiffuseFlux::~JDiffuseFlux  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | double JAANET::JDiffuseFlux::getFactor  | 
          ( | 
          const Evt &  | 
          evt | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Get event-weight factor for given event. 
- Parameters
 - 
  
  
 
- Returns
 - event-weight factor [GeV^-1 * m^-2 * sr^-1 * s^-1] 
 
Implements JAANET::JEvtWeightFactor.
Definition at line 41 of file JDiffuseFlux.hh.
   44       const double log10E = 
log10(neutrino.
E);
 
   45       const double costh  = neutrino.
dir.
z / neutrino.
dir.
len();
 
   47       return dNdEdOmega(neutrino.
type, log10E, costh);
 
double E
Energy [GeV] (either MC truth or reconstructed) 
 
double len() const 
Get length. 
 
set_variable E_E log10(E_{fit}/E_{#mu})"
 
int type
MC: particle type in PDG encoding. 
 
const Trk & get_neutrino(const Evt &evt)
Get incoming neutrino. 
 
The Trk class represents a Monte Carlo (MC) particle as well as a reconstructed track/shower. 
 
 
 
 
  
  
      
        
          | double JAANET::JDiffuseFlux::getFactor  | 
          ( | 
          const int  | 
          type,  | 
         
        
           | 
           | 
          const double  | 
          log10E,  | 
         
        
           | 
           | 
          const double  | 
          costh  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Get event-weight factor for given particle PDG-identifier, energy and zenith-angle. 
- Parameters
 - 
  
    | type | PDG particle type  | 
    | log10E | logarithmic energy  | 
    | costh | cosine zenith angle  | 
  
   
- Returns
 - diffuse flux [GeV^-1 * m^-2 * sr^-1 * s^-1] 
 
Definition at line 59 of file JDiffuseFlux.hh.
   63       return dNdEdOmega(type, log10E, costh);
 
 
 
 
  
  
      
        
          | double JAANET::JDiffuseFlux::getFlux  | 
          ( | 
          const int  | 
          type,  | 
         
        
           | 
           | 
          const double  | 
          log10E,  | 
         
        
           | 
           | 
          const double  | 
          costh  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Get event-weight factor for given particle PDG-identifier, energy and zenith-angle. 
- Parameters
 - 
  
    | type | PDG particle type  | 
    | log10E | logarithmic energy  | 
    | costh | cosine zenith angle  | 
  
   
- Returns
 - diffuse flux [GeV^-1 * m^-2 * sr^-1 * s^-1] 
 
Definition at line 75 of file JDiffuseFlux.hh.
   79       return dNdEdOmega(type, log10E, costh);
 
 
 
 
  
  
      
        
          | virtual void JAANET::JDiffuseFlux::Print  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
  
  
      
        
          | virtual double JAANET::JFlux::getFlux  | 
          ( | 
          const Evt &  | 
          evt | ) | 
           const | 
         
       
   | 
  
inlinevirtualinherited   | 
  
 
Get flux of given event. 
- Parameters
 - 
  
  
 
- Returns
 - flux [GeV^-1 * m^-2 * sr^-1 * s^-1] 
 
Definition at line 34 of file JFlux.hh.
virtual double getFactor(const Evt &evt) const =0
Get multiplication factor of given event. 
 
 
 
 
template<class JClonable_t, class JDerived_t = JNullType> 
  
  | 
      
   | 
  
inlineoverridevirtualinherited   | 
  
 
Get clone of this object. 
- Returns
 - pointer to newly created object 
 
Reimplemented in JPHYSICS::JPDFTransformer< 5, JArgument_t >, JPHYSICS::JPDFTransformer< 4, JArgument_t >, JPHYSICS::JPDFTransformer< 3, JArgument_t >, JPHYSICS::JPDFTransformer< 2, JArgument_t >, JPHYSICS::JPDGTransformer_t< JArgument_t >, JPHYSICS::JPD0Transformer_t< JArgument_t >, JTOOLS::JMultiMapTransformer< N, JArgument_t >::JMultiMapDefaultTransformer, JPHYSICS::JPDFTransformer_t< JArgument_t >, JLANG::JClonable< JMatch< hit_type > >, JLANG::JClonable< JMatch< hit_type >, JMatch3D >, JLANG::JClonable< JMatch< JTRIGGER::JHitR1 > >, and JLANG::JClonable< JMatch< JTRIGGER::JHitR1 >, JMatch3G< JTRIGGER::JHitR1 > >.
Definition at line 69 of file JClonable.hh.
   71       return new JDerived_t(static_cast<const JDerived_t&>(*
this));
 
 
 
 
The documentation for this struct was generated from the following file: