Helper class for oscillation probabilities.  
 More...
#include <JOscProbHelper.hh>
Helper class for oscillation probabilities. 
Definition at line 24 of file JOscProbHelper.hh.
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
 
  
  
      
        
          | JOSCPROB::JOscProbHelper::JOscProbHelper  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | JOSCPROB::JOscProbHelper::JOscProbHelper  | 
          ( | 
          const JOscProb &  | 
          oscProb | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | oscProb | oscillation probability function  | 
  
   
Definition at line 41 of file JOscProbHelper.hh.
virtual void configure(const JOscProb &oscProb)
Configure oscillation probability function. 
 
 
 
 
  
  
      
        
          | virtual void JOSCPROB::JOscProbHelper::configure  | 
          ( | 
          const JOscProb &  | 
          oscProb | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Configure oscillation probability function. 
- Parameters
 - 
  
    | oscProb | oscillation probability function  | 
  
   
Definition at line 52 of file JOscProbHelper.hh.
   54       reset(oscProb.clone());
 
virtual void reset() override
Reset pointer. 
 
 
 
 
  
  
      
        
          | virtual double JOSCPROB::JOscProbHelper::getOscProb  | 
          ( | 
          const JOscChannel &  | 
          oscChannel,  | 
         
        
           | 
           | 
          const double  | 
          energy,  | 
         
        
           | 
           | 
          const double  | 
          costh  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Get oscillation probability corresponding to given oscillation channel, neutrino energy and zenith angle. 
- Parameters
 - 
  
    | oscChannel | oscillation channel  | 
    | energy | neutrino energy [GeV]  | 
    | costh | cosine zenith angle  | 
  
   
- Returns
 - oscillation probability 
 
Definition at line 67 of file JOscProbHelper.hh.
   74         THROW(JNullPointerException, 
"JOscProbHelper::getOscProb(): Unspecified oscillation probability function.");
 
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 an...
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
bool is_valid() const 
Check validity of pointer. 
 
then for APP in event gandalf start energy
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
Get shared pointer. 
- Returns
 - this shared pointer 
 
Definition at line 95 of file JSharedPointer.hh.
The template JSharedPointer class can be used to share a pointer to an object. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
Get shared pointer. 
- Returns
 - this shared pointer 
 
Definition at line 106 of file JSharedPointer.hh.
The template JSharedPointer class can be used to share a pointer to an object. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
Set shared pointer. 
- Parameters
 - 
  
  
 
Definition at line 117 of file JSharedPointer.hh.
  119       if (this->
get() != 
object.
get()) {
 
void set(const JSharedPointer &object)
Set pointer. 
 
bool is_valid() const 
Check validity of pointer. 
 
virtual void reset() override
Reset pointer. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
  
  | 
      
   | 
  
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.
virtual void reset() override
Reset pointer. 
 
virtual void reset() override
Reset pointer. 
 
 
 
 
template<class JClass_t> 
template<class T > 
 
Reset pointer. 
- Parameters
 - 
  
  
 
Definition at line 108 of file JPointer.hh.
virtual JClass_t * get() const override
Get pointer. 
 
virtual void reset() override
Reset pointer. 
 
 
 
 
Reset pointer. 
- Parameters
 - 
  
  
 
Definition at line 94 of file JAbstractPointer.hh.
   96       if (this->
get() != p) {
 
virtual void reset()=0
Reset pointer. 
 
virtual void set(JClass_t *p)=0
Set pointer. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
Set pointer. 
The reference counter of the shared object pointed to is incremented by one.
- Parameters
 - 
  
  
 
Definition at line 188 of file JSharedPointer.hh.
void attach(const JSharedCounter &object)
Attach this counter to given shared counter object. 
 
virtual void set(JClass_t *p) override
Set pointer. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
  
  | 
      
   | 
  
inlineoverrideprotectedvirtualinherited   | 
  
 
Set pointer. 
The reference counter of the shared object pointed to is initialised to one.
- Parameters
 - 
  
    | p | pointer to derived class object  | 
  
   
Reimplemented from JLANG::JPointer< JClass_t >.
Definition at line 202 of file JSharedPointer.hh.
void initialise()
Initialise counter. 
 
virtual void set(JClass_t *p) override
Set pointer. 
 
 
 
 
template<class JClass_t> 
template<class T > 
 
Set pointer. 
- Parameters
 - 
  
  
 
Definition at line 96 of file JPointer.hh.
virtual void set(JClass_t *p) override
Set pointer. 
 
virtual JClass_t * get() const override
Get pointer. 
 
 
 
 
  
  
      
        
          | void JLANG::JSharedCounter::initialise  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
Attach this counter to given shared counter object. 
- Parameters
 - 
  
  
 
Definition at line 46 of file JSharedCounter.hh.
 
 
  
  
      
        
          | bool JLANG::JSharedCounter::detach  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Detach. 
- Returns
 - true if counter at zero; else false 
 
Definition at line 63 of file JSharedCounter.hh.
 
 
  
  
      
        
          | const int JLANG::JSharedCounter::getCount  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
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.
   60         this->
set(memory_type::create());
 
bool is_valid() const 
Check validity of pointer. 
 
virtual void set(JClass_t *p) override
Set pointer. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
Create object in memory. 
The memory allocated by a previously created object will be released. 
Definition at line 69 of file JStorage.hh.
   71       this->
reset(memory_type::create());
 
virtual void reset() override
Reset pointer. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
  
  
      
        
          | void JLANG::JStorage< JClass_t, JMemory_t >::create  | 
          ( | 
          const unsigned int  | 
          size | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Create array of objects in memory. 
The memory allocated by previously created objects will be released.
- Parameters
 - 
  
  
 
Definition at line 81 of file JStorage.hh.
   83       this->
reset(memory_type::create(size));
 
virtual void reset() override
Reset pointer. 
 
 
 
 
template<class JClass_t, template< class > class JMemory_t = JNew> 
 
Release memory. 
Definition at line 91 of file JStorage.hh.
   93       memory_type::release(this->
get());
 
 
 
 
template<class JClass_t> 
  
  | 
      
   | 
  
inlineoverridevirtualinherited   | 
  
 
 
Get rereference to internal pointer. 
- Returns
 - reference to internal pointer 
 
Definition at line 119 of file JPointer.hh.
JClass_t * __p
pointer to object 
 
 
 
 
Get rereference to internal pointer. 
- Returns
 - reference to internal pointer 
 
Definition at line 130 of file JPointer.hh.
JClass_t * __p
pointer to object 
 
 
 
 
Equals. 
The equality is evaluated by comparison of the internal pointers.
- Parameters
 - 
  
  
 
- Returns
 - true if equals; else false 
 
Definition at line 50 of file JAbstractPointer.hh.
   52       return this->
get() == 
object.
get();
 
 
 
 
Check validity of pointer. 
- Returns
 - true if pointer not null; else false 
 
Definition at line 83 of file JAbstractPointer.hh.
   85       return this->
get() != NULL; 
 
 
 
 
Smart pointer operator. 
- Returns
 - pointer to object 
 
Definition at line 112 of file JAbstractPointer.hh.
bool is_valid() const 
Check validity of pointer. 
 
Exception for null pointer operation. 
 
 
 
 
  
  
      
        
          | int* JLANG::JSharedCounter::counter | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this struct was generated from the following file: