Jpp  18.2.1
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 namespace JPP { using namespace JOSCPROB; }
15 
16 namespace JOSCPROB {
17 
18  using JLANG::JClonable;
19 
20 
21  /**
22  * Low-level interface for retrieving the oscillation probability\n
23  * corresponding to a given oscillation channel, neutrino energy and zenith angle.
24  */
25  struct JOscProb :
26  public JClonable<JOscProb>
27  {
28  /**
29  * Virtual destructor.
30  */
31  virtual ~JOscProb()
32  {}
33 
34 
35  /**
36  * Get oscillation probability for given oscillation channel.
37  *
38  * \param channel oscillation channel
39  * \param energy neutrino energy [GeV]
40  * \param costh cosine zenith angle
41  * \return oscillation probability
42  */
43  virtual double getOscProb(const JOscChannel& channel,
44  const double energy,
45  const double costh) const = 0;
46  };
47 }
48 
49 #endif
Low-level interface for retrieving the oscillation probability corresponding to a given oscillation c...
Definition: JOscProb.hh:25
Neutrino oscillation channel.
Definition: JOscChannel.hh:110
virtual ~JOscProb()
Virtual destructor.
Definition: JOscProb.hh:31
Template class for object cloning.
Definition: JClonable.hh:20
virtual double getOscProb(const JOscChannel &channel, const double energy, const double costh) const =0
Get oscillation probability for given oscillation channel.
then for APP in event gandalf start energy
Definition: JMuonMCEvt.sh:44