Coding rule violations fixed.
[u/mrichter/AliRoot.git] / EVGEN / AliGenMUONlib.h
index 5dd9f56..c609ad9 100644 (file)
@@ -26,141 +26,141 @@ class AliGenMUONlib :
  private:
     
 // pions
-    static Double_t PtPion(Double_t *px, Double_t *dummy);
+    static Double_t PtPion(const Double_t *px, const Double_t *dummy);
     static Double_t PtScal(Double_t pt, Int_t np);
-    static Double_t YPion( Double_t *py, Double_t *dummy);
+    static Double_t YPion( const Double_t *py, const Double_t *dummy);
     static Int_t    IpPion(TRandom *ran);
 // kaons
-    static Double_t PtKaon(Double_t *px, Double_t *dummy);
-    static Double_t YKaon( Double_t *py, Double_t *dummy);
+    static Double_t PtKaon(const Double_t *px, const Double_t *dummy);
+    static Double_t YKaon( const Double_t *py, const Double_t *dummy);
     static Int_t    IpKaon(TRandom *ran);
 // Phi
-    static Double_t PtPhi( Double_t *px, Double_t *dummy);
-    static Double_t YPhi( Double_t *px, Double_t *dummy);
+    static Double_t PtPhi( const Double_t *px, const Double_t *dummy);
+    static Double_t YPhi( const  Double_t *px, const Double_t *dummy);
     static Int_t    IpPhi(TRandom *ran);
 // Omega
-    static Double_t PtOmega( Double_t *px, Double_t *dummy);
-    static Double_t YOmega( Double_t *px, Double_t *dummy);
+    static Double_t PtOmega( const Double_t *px, const Double_t *dummy);
+    static Double_t YOmega( const Double_t *px, const Double_t *dummy);
     static Int_t    IpOmega(TRandom *ran);
 // Eta
-    static Double_t PtEta( Double_t *px, Double_t *dummy);
-    static Double_t YEta( Double_t *px, Double_t *dummy);
+    static Double_t PtEta( const Double_t *px, const Double_t *dummy);
+    static Double_t YEta( const Double_t *px, const Double_t *dummy);
     static Int_t    IpEta(TRandom *ran);
 // J/Psi     
-    static Double_t PtJpsi( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiCDFscaled( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiCDFscaledPP( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiCDFscaledPP10( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiCDFscaledold( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiCDFscaledPPold( Double_t *px, Double_t *dummy);
-    static Double_t YJpsi(Double_t *py, Double_t *dummy);
-    static Double_t PtJpsiPbPb( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiBPbPb( Double_t *px, Double_t *dummy);
-    static Double_t YJpsiPbPb(Double_t *py, Double_t *dummy);
-    static Double_t YJpsiCDFscaled(Double_t *py, Double_t *dummy);
-    static Double_t YJpsiCDFscaledPP( Double_t *px, Double_t *dummy);
-    static Double_t YJpsiCDFscaledPP10( Double_t *px, Double_t *dummy);
-    static Double_t YJpsiCDFscaledold(Double_t *py, Double_t *dummy);
-    static Double_t YJpsiCDFscaledPPold( Double_t *px, Double_t *dummy);
-    static Double_t PtJpsiPP( Double_t *px, Double_t *dummy);
-    static Double_t YJpsiPP(Double_t *py, Double_t *dummy);
-    static Double_t YJpsiBPbPb(Double_t *py, Double_t *dummy);
+    static Double_t PtJpsi( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiCDFscaled( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiCDFscaledPP( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiCDFscaledPP10( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiCDFscaledold( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiCDFscaledPPold( const Double_t *px, const Double_t *dummy);
+    static Double_t YJpsi(const Double_t *py, const Double_t *dummy);
+    static Double_t PtJpsiPbPb( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiBPbPb( const Double_t *px, const Double_t *dummy);
+    static Double_t YJpsiPbPb(const Double_t *py, const Double_t *dummy);
+    static Double_t YJpsiCDFscaled(const Double_t *py, const Double_t *dummy);
+    static Double_t YJpsiCDFscaledPP( const Double_t *px, const Double_t *dummy);
+    static Double_t YJpsiCDFscaledPP10( const Double_t *px, const Double_t *dummy);
+    static Double_t YJpsiCDFscaledold(const Double_t *py, const Double_t *dummy);
+    static Double_t YJpsiCDFscaledPPold( const Double_t *px, const Double_t *dummy);
+    static Double_t PtJpsiPP( const Double_t *px, const Double_t *dummy);
+    static Double_t YJpsiPP(const Double_t *py, const Double_t *dummy);
+    static Double_t YJpsiBPbPb(const Double_t *py, const Double_t *dummy);
     static Int_t    IpJpsi(TRandom *ran);
     static Int_t    IpJpsiFamily(TRandom *ran);
     static Int_t    IpPsiP(TRandom *ran);
-    static Double_t PtJpsiFlat( Double_t *px, Double_t *dummy );
-    static Double_t YJpsiFlat(Double_t *py, Double_t *dummy);
+    static Double_t PtJpsiFlat( const Double_t *px, const Double_t *dummy );
+    static Double_t YJpsiFlat(const Double_t *py, const Double_t *dummy);
 
 // Upsilon    
-    static Double_t PtUpsilon( Double_t *px, Double_t *dummy );
-    static Double_t PtUpsilonCDFscaled( Double_t *px, Double_t *dummy );
-    static Double_t PtUpsilonCDFscaledPP( Double_t *px, Double_t *dummy );
-    static Double_t YUpsilon(Double_t *py, Double_t *dummy);
-    static Double_t YUpsilonCDFscaled(Double_t *py, Double_t *dummy);
-    static Double_t YUpsilonCDFscaledPP( Double_t *px, Double_t *dummy );
-    static Double_t PtUpsilonPbPb( Double_t *px, Double_t *dummy );
-    static Double_t YUpsilonPbPb(Double_t *py, Double_t *dummy);
-    static Double_t PtUpsilonPP( Double_t *px, Double_t *dummy );
-    static Double_t YUpsilonPP(Double_t *py, Double_t *dummy);
+    static Double_t PtUpsilon( const Double_t *px, const Double_t *dummy );
+    static Double_t PtUpsilonCDFscaled( const Double_t *px, const Double_t *dummy );
+    static Double_t PtUpsilonCDFscaledPP( const Double_t *px, const Double_t *dummy );
+    static Double_t YUpsilon(const Double_t *py, const Double_t *dummy);
+    static Double_t YUpsilonCDFscaled(const Double_t *py, const Double_t *dummy);
+    static Double_t YUpsilonCDFscaledPP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtUpsilonPbPb( const Double_t *px, const Double_t *dummy );
+    static Double_t YUpsilonPbPb(const Double_t *py, const Double_t *dummy);
+    static Double_t PtUpsilonPP( const Double_t *px, const Double_t *dummy );
+    static Double_t YUpsilonPP(const Double_t *py, const Double_t *dummy);
     static Int_t    IpUpsilon(TRandom *ran);
     static Int_t    IpUpsilonFamily(TRandom *ran);
     static Int_t    IpUpsilonP(TRandom *ran);
     static Int_t    IpUpsilonPP(TRandom *ran);
-    static Double_t PtUpsilonFlat( Double_t *px, Double_t *dummy );
-    static Double_t YUpsilonFlat(Double_t *py, Double_t *dummy);
+    static Double_t PtUpsilonFlat( const Double_t *px, const Double_t *dummy );
+    static Double_t YUpsilonFlat(const Double_t *py, const Double_t *dummy);
 //
 // Charm    
-    static Double_t PtCharm( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmCentral( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF1M0S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF2M0S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M1S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M2S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S1PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S2PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S3PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S4PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S5PP( Double_t *px, Double_t *dummy );
-    static Double_t PtCharmF0M0S6PP( Double_t *px, Double_t *dummy );
-    static Double_t YCharm(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF1M0S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF2M0S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M1S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M2S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S1PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S2PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S3PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S4PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S5PP(Double_t *py, Double_t *dummy);
-    static Double_t YCharmF0M0S6PP(Double_t *py, Double_t *dummy);
+    static Double_t PtCharm( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmCentral( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF1M0S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF2M0S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M1S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M2S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S1PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S2PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S3PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S4PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S5PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtCharmF0M0S6PP( const Double_t *px, const Double_t *dummy );
+    static Double_t YCharm(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF1M0S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF2M0S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M1S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M2S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S1PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S2PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S3PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S4PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S5PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YCharmF0M0S6PP(const Double_t *py, const Double_t *dummy);
     static Int_t    IpCharm(TRandom *ran);
 //
 // Beauty
-    static Double_t PtBeauty( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF1M0S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF2M0S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M1S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M2S0PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S1PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S2PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S3PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S4PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S5PP( Double_t *px, Double_t *dummy );
-    static Double_t PtBeautyF0M0S6PP( Double_t *px, Double_t *dummy );
-    static Double_t YBeauty(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF1M0S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF2M0S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M1S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M2S0PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S1PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S2PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S3PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S4PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S5PP(Double_t *py, Double_t *dummy);
-    static Double_t YBeautyF0M0S6PP(Double_t *py, Double_t *dummy);
-    static Double_t PtBeautyCentral( Double_t *px, Double_t *dummy );
+    static Double_t PtBeauty( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF1M0S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF2M0S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M1S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M2S0PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S1PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S2PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S3PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S4PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S5PP( const Double_t *px, const Double_t *dummy );
+    static Double_t PtBeautyF0M0S6PP( const Double_t *px, const Double_t *dummy );
+    static Double_t YBeauty(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF1M0S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF2M0S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M1S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M2S0PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S1PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S2PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S3PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S4PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S5PP(const Double_t *py, const Double_t *dummy);
+    static Double_t YBeautyF0M0S6PP(const Double_t *py, const Double_t *dummy);
+    static Double_t PtBeautyCentral( const Double_t *px, const Double_t *dummy );
     static Int_t    IpBeauty(TRandom *ran);
 //
 
    // Chi 1c 2c
-   static Double_t PtChic0( Double_t *px, Double_t *dummy);
-   static Double_t YChic0(Double_t *py, Double_t *dummy);
+   static Double_t PtChic0( const Double_t *px, const Double_t *dummy);
+   static Double_t YChic0(const Double_t *py, const Double_t *dummy);
    static Int_t    IpChic0(TRandom *ran);
 
-   static Double_t PtChic1( Double_t *px, Double_t *dummy);
-   static Double_t YChic1(Double_t *py, Double_t *dummy);
+   static Double_t PtChic1( const Double_t *px, const Double_t *dummy);
+   static Double_t YChic1(const Double_t *py, const Double_t *dummy);
    static Int_t    IpChic1(TRandom *ran);
 
-   static Double_t PtChic2( Double_t *px, Double_t *dummy);
-   static Double_t YChic2(Double_t *py, Double_t *dummy);
+   static Double_t PtChic2( const Double_t *px, const Double_t *dummy);
+   static Double_t YChic2(const Double_t *py, const Double_t *dummy);
    static Int_t    IpChic2(TRandom *ran);
 
-   static Double_t PtChic( Double_t *px, Double_t *dummy);
-   static Double_t YChic(Double_t *py, Double_t *dummy);
+   static Double_t PtChic( const Double_t *px, const Double_t *dummy);
+   static Double_t YChic(const Double_t *py, const Double_t *dummy);
    static Int_t    IpChic(TRandom *ran);
 
 //