]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGenModels/EvtLambdaP_BarGamma.hh
Updates EvtGen Code
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtLambdaP_BarGamma.hh
index 67b99b196956dae4d382c8c3bc8782b2d23d893d..5a147e1d29f8378cae8f969c0406d7723f8cc77e 100644 (file)
@@ -61,15 +61,15 @@ private:
 
   // user never needs to call this -> private
   // baryonic form factors f(p), g(p), at p=0
-  double f0(double f_qm, int n=1); // calculate f(0) with f(q_max)
-  double g0(double f_qm, int n=1); // calculate g(0) with g(q_max)
+  double f0(const double f_qm, int n=1) const ; // calculate f(0) with f(q_max)
+  double g0(const double f_qm, int n=1) const ; // calculate g(0) with g(q_max)
   
   // shorthand for constants a and b in the formula
-  double constA();
-  double constB();
+  double constA() const;
+  double constB() const;
 
   // initialize phasespace and calculate the amplitude for one (i=0,1) state of the photon
-  EvtComplex calcAmplitude(const EvtParticle* p, unsigned int polState);
+  EvtComplex calcAmpliude(const EvtParticle* p, const unsigned int polState);
   
 };