Jpp  16.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JOscProb.hh
Go to the documentation of this file.
1 #ifndef __JOSCPROB__JOSCPROB__
2 #define __JOSCPROB__JOSCPROB__
3 
4 #include "JLang/JClonable.hh"
5 
7 
8 
9 /**
10  * \author bjung
11  */
12 
13 namespace JOSCPROB {
14 
15  using JLANG::JClonable;
16 
17 
18  /**
19  * Low-level interface for retrieving the oscillation probability\n
20  * corresponding to a given oscillation channel, neutrino energy and zenith angle.
21  */
22  struct JOscProb :
23  public JClonable<JOscProb>
24  {
25  /**
26  * Virtual destructor.
27  */
28  virtual ~JOscProb()
29  {}
30 
31 
32  /**
33  * Get oscillation probability for given oscillation channel.
34  *
35  * \param channel oscillation channel
36  * \param log10E logarithmic neutrino energy
37  * \param costh cosine zenith angle
38  * \return oscillation probability
39  */
40  virtual double getOscProb(const JOscChannel& channel,
41  const double log10E,
42  const double costh) const = 0;
43  };
44 }
45 
46 #endif
Low-level interface for retrieving the oscillation probability corresponding to a given oscillation c...
Definition: JOscProb.hh:22
Neutrino oscillation channel.
Definition: JOscChannel.hh:29
virtual ~JOscProb()
Virtual destructor.
Definition: JOscProb.hh:28
Template class for object cloning.
Definition: JClonable.hh:20
virtual double getOscProb(const JOscChannel &channel, const double log10E, const double costh) const =0
Get oscillation probability for given oscillation channel.