-
Notifications
You must be signed in to change notification settings - Fork 5
/
NeutrinoPropagator.h
43 lines (29 loc) · 1.58 KB
/
NeutrinoPropagator.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef _NeutrinoPropagator_
#define _NeutrinoPropagator_
#include <iostream>
using namespace std;
class NeutrinoPropagator
{
public:
NeutrinoPropagator(){};
virtual ~NeutrinoPropagator(){};
virtual void propagate( int )
{ cerr<< " Warning NeutrinoPropagator::propagate( int ) undefined " << endl; }
virtual void propagateLinear( int, double, double )
{ cerr<< " Warning NeutrinoPropagator::propagateLinear( int ) undefined " << endl; }
virtual void DefinePath( double , double , bool kSetProfile = true )
{ cerr<< " Warning NeutrinoPropagator::DefinePath(double, double, bool) undefined " << endl; }
virtual void SetMNS( double , double , double , double , double , double , double, bool, int kNuType = 1 )
{ cerr<< " Warning NeutrinoPropagator::SetMNS(double,..., int ) undefined " << endl; }
virtual double GetProb( int , int )
{ cerr<< " Warning NeutrinoPropagator::GetProb(int, int) undefined " << endl; return 0.0; }
virtual double GetVacuumProb( int , int , double , double )
{ cerr<< " Warning NeutrinoPropagator::GetVacuumProb(int, int, double , double ) undefined " << endl; return 0.0; }
virtual void SetPotential( double [][3][2] )
{ cerr<< " Warning NeutrinoPropagator::SetPotential(double [][3][2]) undefined " << endl; }
virtual double GetPathLength()
{ cerr<< " Warning NeutrinoPropagator::GetPathLength( ) undefined " << endl; return 0.0; }
int WhoAmI(){ return IAm; }
int IAm;
};
#endif