| 
    Jpp
    17.3.0
    
   the software that should make you happy 
   | 
 
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function. More...
#include <JFluxAtmosphericNeutrino.hh>
  
 Public Types | |
| typedef JClonable< JClonable_t > ::clone_type  | clone_type | 
| typedef JPointer< JClass_t > | pointer_type | 
| typedef JPointer< JClass_t > | pointer_type | 
| typedef JStorage< JClass_t,  JMemory_t >  | storage_type | 
| typedef JStorage< JClass_t,  JMemory_t >  | storage_type | 
| typedef JMemory_t< JClass_t > | memory_type | 
| typedef JMemory_t< JClass_t > | memory_type | 
Public Member Functions | |
| template<class JOscProbFunction_t > | |
| JFluxAtmosphericNeutrino (const JOscProbFunction_t &oscProbFunction) | |
| Constructor.  More... | |
| double | operator() (const Evt &evt) const | 
| Get flux for given event.  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 diffuse flux corresponding to given neutrino type, energy and zenith angle.  More... | |
| virtual clone_type | clone () const override | 
| Get clone of this object.  More... | |
| void | configure (const JDiffuseFlux &diffuseFlux) | 
| Configure oscillation probability function.  More... | |
| virtual void | configure (const JOscProb &oscProb) | 
| Configure oscillation probability function.  More... | |
| const JSharedPointer & | getSharedPointer () const | 
| Get shared pointer.  More... | |
| JSharedPointer & | getSharedPointer () | 
| Get shared pointer.  More... | |
| const JSharedPointer & | getSharedPointer () const | 
| Get shared pointer.  More... | |
| JSharedPointer & | getSharedPointer () | 
| Get shared pointer.  More... | |
| void | setSharedPointer (const JSharedPointer &object) | 
| Set shared pointer.  More... | |
| void | setSharedPointer (const JSharedPointer &object) | 
| Set shared pointer.  More... | |
| virtual void | reset () override | 
| Reset pointer.  More... | |
| template<class T > | |
| void | reset (const JPointer< T > &pointer) | 
| Reset pointer.  More... | |
| void | reset (JClass_t *p) | 
| Reset pointer.  More... | |
| template<class T > | |
| void | reset (const JPointer< T > &pointer) | 
| Reset pointer.  More... | |
| void | reset (JClass_t *p) | 
| Reset pointer.  More... | |
| template<class T > | |
| void | set (const JPointer< T > &pointer) | 
| Set pointer.  More... | |
| template<class T > | |
| void | set (const JPointer< T > &pointer) | 
| Set pointer.  More... | |
| void | initialise () | 
| Initialise counter.  More... | |
| void | initialise () | 
| Initialise counter.  More... | |
| void | attach (const JSharedCounter &object) | 
| Attach this counter to given shared counter object.  More... | |
| void | attach (const JSharedCounter &object) | 
| Attach this counter to given shared counter object.  More... | |
| bool | detach () | 
| Detach.  More... | |
| bool | detach () | 
| Detach.  More... | |
| const int | getCount () | 
| Get count.  More... | |
| const int | getCount () | 
| Get count.  More... | |
| void | recreate () | 
| Recreate object in memory.  More... | |
| void | recreate () | 
| Recreate object in memory.  More... | |
| void | create () | 
| Create object in memory.  More... | |
| void | create (const unsigned int size) | 
| Create array of objects in memory.  More... | |
| void | create () | 
| Create object in memory.  More... | |
| void | create (const unsigned int size) | 
| Create array of objects in memory.  More... | |
| virtual JClass_t * | get () const override | 
| Get pointer.  More... | |
| JClass_t *const & | getReference () const | 
| Get rereference to internal pointer.  More... | |
| JClass_t *& | getReference () | 
| Get rereference to internal pointer.  More... | |
| JClass_t *const & | getReference () const | 
| Get rereference to internal pointer.  More... | |
| JClass_t *& | getReference () | 
| Get rereference to internal pointer.  More... | |
| virtual bool | equals (const JAbstractPointer &object) const | 
| Equals.  More... | |
| bool | is_valid () const | 
| Check validity of pointer.  More... | |
| bool | is_valid () const | 
| Check validity of pointer.  More... | |
| JClass_t * | operator-> () const | 
| Smart pointer operator.  More... | |
| JClass_t * | operator-> () const | 
| Smart pointer operator.  More... | |
| operator JClass_t * () const | |
| Type conversion operator.  More... | |
| operator JClass_t * () const | |
| Type conversion operator.  More... | |
| virtual double | getOscProb (const JOscChannel &oscChannel, const double energy, const double costh) const | 
| Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle.  More... | |
Protected Member Functions | |
| void | set (const JSharedPointer &object) | 
| Set pointer.  More... | |
| virtual void | set (JClass_t *p) override | 
| Set pointer.  More... | |
| void | set (const JSharedPointer &object) | 
| Set pointer.  More... | |
| void | release () | 
| Release memory.  More... | |
| void | release () | 
| Release memory.  More... | |
Protected Attributes | |
| int * | counter | 
| int * | counter | 
| JClass_t * | __p | 
| pointer to object  More... | |
| JClass_t * | __p | 
| pointer to object  More... | |
Implementation of atmospheric neutrino flux using official KM3NeT atmospheric flux function.
Definition at line 24 of file JFluxAtmosphericNeutrino.hh.
      
  | 
  inherited | 
Definition at line 61 of file JClonable.hh.
      
  | 
  inherited | 
Definition at line 34 of file JSharedPointer.hh.
      
  | 
  inherited | 
Definition at line 34 of file JSharedPointer.hh.
      
  | 
  inherited | 
Definition at line 35 of file JSharedPointer.hh.
      
  | 
  inherited | 
Definition at line 35 of file JSharedPointer.hh.
      
  | 
  inherited | 
Definition at line 33 of file JStorage.hh.
      
  | 
  inherited | 
Definition at line 33 of file JStorage.hh.
      
  | 
  inline | 
Constructor.
The template argument refers to an oscillation probability function object or pointer. For this, the copy constructor needs to be defined
Definition at line 34 of file JFluxAtmosphericNeutrino.hh.
      
  | 
  inlineinherited | 
Get flux for given event.
Note that in this evaluation the zenith-angle is defined
with respect to the line of sight (i.e. a neutrino pointing straight at you
from the center of the Earth has 
).
| evt | event | 
 Definition at line 76 of file JOscFlux.hh.
      
  | 
  inlineoverrideinherited | 
Get event-weight factor for given event.
| evt | event | 
Definition at line 107 of file JOscFlux.hh.
      
  | 
  inlineinherited | 
Get diffuse flux corresponding to given neutrino type, energy and zenith angle.
| type | PDG particle type | 
| log10E | logarithmic neutrino energy [GeV] | 
| costh | cosine zenith angle | 
Definition at line 143 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get clone of this 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.
      
  | 
  inlineinherited | 
Configure oscillation probability function.
| diffuseFlux | diffuse flux function | 
Definition at line 123 of file JEvtWeightFactorHelper.hh.
      
  | 
  inlinevirtualinherited | 
Configure oscillation probability function.
| oscProb | oscillation probability function | 
Definition at line 52 of file JOscProbHelper.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set shared pointer.
| object | shared pointer | 
Definition at line 117 of file JSharedPointer.hh.
      
  | 
  inlineinherited | 
Set shared pointer.
| object | shared pointer | 
Definition at line 117 of file JSharedPointer.hh.
      
  | 
  inlineoverridevirtualinherited | 
Reset pointer.
The reference counter is decremented by one and the object pointed to previously is deleted when its reference counter is zero.
Reimplemented from JLANG::JStorage< JClass_t, JMemory_t >.
Definition at line 171 of file JSharedPointer.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotectedinherited | 
Set pointer.
The reference counter of the shared object pointed to is incremented by one.
| object | shared pointer | 
Definition at line 188 of file JSharedPointer.hh.
      
  | 
  inlineoverrideprotectedvirtualinherited | 
Set pointer.
The reference counter of the shared object pointed to is initialised to one.
| p | pointer to derived class object | 
Reimplemented from JLANG::JPointer< JClass_t >.
Definition at line 202 of file JSharedPointer.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineprotectedinherited | 
Set pointer.
The reference counter of the shared object pointed to is incremented by one.
| object | shared pointer | 
Definition at line 188 of file JSharedPointer.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Initialise counter.
Definition at line 33 of file JSharedCounter.hh.
      
  | 
  inlineinherited | 
Initialise counter.
Definition at line 33 of file JSharedCounter.hh.
      
  | 
  inlineinherited | 
Attach this counter to given shared counter object.
| object | shared counter | 
Definition at line 46 of file JSharedCounter.hh.
      
  | 
  inlineinherited | 
Attach this counter to given shared counter object.
| object | shared counter | 
Definition at line 46 of file JSharedCounter.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Recreate object in memory.
A new object is created if no memory is allocated yet, else the previously created object is maintained.
Definition at line 57 of file JStorage.hh.
      
  | 
  inlineinherited | 
Recreate object in memory.
A new object is created if no memory is allocated yet, else the previously created object is maintained.
Definition at line 57 of file JStorage.hh.
      
  | 
  inlineinherited | 
Create object in memory.
The memory allocated by a previously created object will be released.
Definition at line 69 of file JStorage.hh.
      
  | 
  inlineinherited | 
Create array of objects in memory.
The memory allocated by previously created objects will be released.
| size | number of elements | 
Definition at line 81 of file JStorage.hh.
      
  | 
  inlineinherited | 
Create object in memory.
The memory allocated by a previously created object will be released.
Definition at line 69 of file JStorage.hh.
      
  | 
  inlineinherited | 
Create array of objects in memory.
The memory allocated by previously created objects will be released.
| size | number of elements | 
Definition at line 81 of file JStorage.hh.
      
  | 
  inlineprotectedinherited | 
Release memory.
Definition at line 91 of file JStorage.hh.
      
  | 
  inlineprotectedinherited | 
Release memory.
Definition at line 91 of file JStorage.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get pointer.
Implements JLANG::JAbstractPointer< JClass_t >.
Reimplemented in JLANG::JMultiPointer< JTypeList< JHead_t, JTail_t > >, JLANG::JMultiPointer< JClass_t >, JLANG::JMultiPointer< JTail_t >, JLANG::JMultiPointer< JHead_t >, JLANG::JMultiPointer< T >, and JLANG::JMultiPointer< JTypeList< JDAQEvent, JTypelist_t > >.
Definition at line 64 of file JPointer.hh.
      
  | 
  inlineinherited | 
Get rereference to internal pointer.
Definition at line 119 of file JPointer.hh.
      
  | 
  inlineinherited | 
Get rereference to internal pointer.
Definition at line 130 of file JPointer.hh.
      
  | 
  inlineinherited | 
Get rereference to internal pointer.
Definition at line 119 of file JPointer.hh.
      
  | 
  inlineinherited | 
Get rereference to internal pointer.
Definition at line 130 of file JPointer.hh.
      
  | 
  inlinevirtualinherited | 
Equals.
The equality is evaluated by comparison of the internal pointers.
| object | abstract pointer | 
Definition at line 50 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Check validity of pointer.
Definition at line 83 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Check validity of pointer.
Definition at line 83 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Smart pointer operator.
Definition at line 112 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Smart pointer operator.
Definition at line 112 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Type conversion operator.
Definition at line 126 of file JAbstractPointer.hh.
      
  | 
  inlineinherited | 
Type conversion operator.
Definition at line 126 of file JAbstractPointer.hh.
      
  | 
  inlinevirtualinherited | 
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle.
| oscChannel | oscillation channel | 
| energy | neutrino energy [GeV] | 
| costh | cosine zenith angle | 
Definition at line 67 of file JOscProbHelper.hh.
      
  | 
  protectedinherited | 
Definition at line 94 of file JSharedCounter.hh.
      
  | 
  protectedinherited | 
Definition at line 94 of file JSharedCounter.hh.
      
  | 
  protectedinherited | 
pointer to object
Definition at line 136 of file JPointer.hh.
      
  | 
  protectedinherited | 
pointer to object
Definition at line 136 of file JPointer.hh.
 1.8.5