]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenITSULib.h
end-of-line normalization
[u/mrichter/AliRoot.git] / EVGEN / AliGenITSULib.h
index d8ad3a8d388364f880638ea60d126544b5244665..ed2a322bde80d49036f417576dc2b3fbee29d43b 100644 (file)
@@ -1,64 +1,64 @@
-#ifndef ALIGENITSULIB_H\r
-#define ALIGENITSULIB_H\r
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
- * See cxx source for full Copyright notice                               */\r
-\r
-// Library class for particle pt and y distributions used for \r
-// LambdaB simulations.\r
-// To be used with AliGenParam.\r
-//\r
-// Author: Annalisa Mastroserio <Annalisa.Mastroserio@cern.ch>\r
-\r
-#include "AliGenLib.h"\r
-\r
-class TRandom;\r
-\r
-class AliGenITSULib :public AliGenLib {\r
-\r
- public:\r
-\r
-  enum EPartId {kLb=5122,kLc=4122,kXi_c = 4232,kBplus = 521,kBzero = 511,kDs=431,kDplus=411};\r
-\r
-  //Getters\r
-    \r
-  GenFunc   GetPt(Int_t iPID, const char * sForm=0) const;\r
-  GenFunc   GetY (Int_t iPID, const char * sForm=0) const;\r
-  GenFuncIp GetIp(Int_t iPID, const char * sForm=0) const;    \r
-\r
- private:\r
-\r
-  static Int_t IpLcPlus(TRandom * /*ran*/)  {return     (int)kLc;}\r
-  static Int_t IpLcMinus(TRandom * /*ran*/) {return    -(int)kLc;}\r
-  static Int_t IpLb(TRandom * /*ran*/)      {return     (int)kLb;}\r
-  static Int_t IpLbBar(TRandom * /*ran*/)   {return    -(int)kLb;}\r
-  static Int_t IpXic(TRandom * /*ran*/)     {return   (int)kXi_c;}\r
-  static Int_t IpXicBar(TRandom * /*ran*/)  {return  -(int)kXi_c;}\r
-  static Int_t IpBPlus(TRandom * /*ran*/)   {return      (int)kBplus;}\r
-  static Int_t IpBMinus(TRandom * /*ran*/)  {return     -(int)kBplus;}\r
-  static Int_t IpB0(TRandom * /*ran*/)  {return         (int)kBzero;}\r
-  static Int_t IpB0Bar(TRandom * /*ran*/)  {return         -(int)kBzero;}\r
-  static Int_t IpDsPlus(TRandom * /*ran*/)  {return     (int)kDs;}\r
-  static Int_t IpDsMinus(TRandom * /*ran*/) {return    -(int)kDs;}\r
-  static Int_t IpDPlus(TRandom * /*ran*/)   {return  (int)kDplus;}\r
-  static Int_t IpDMinus(TRandom * /*ran*/)  {return -(int)kDplus;}\r
-\r
-  static Double_t PtFlat(const Double_t * /*px*/, const Double_t * /*dummy*/) {return 1;}\r
-  static Double_t YFlat (const Double_t * /*py*/, const Double_t * /*dummy*/) {return 1;}\r
-\r
-  static Double_t PtLbDist (const Double_t *px, const Double_t *dummy);\r
-  static Double_t PtLcDist (const Double_t *px, const Double_t *dummy);\r
-  static Double_t PtBDist  (const Double_t *px, const Double_t *dummy);\r
-\r
-\r
-\r
-  ClassDef(AliGenITSULib,1)\r
-    };\r
-\r
-#endif\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
+#ifndef ALIGENITSULIB_H
+#define ALIGENITSULIB_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+// Library class for particle pt and y distributions used for 
+// LambdaB simulations.
+// To be used with AliGenParam.
+//
+// Author: Annalisa Mastroserio <Annalisa.Mastroserio@cern.ch>
+
+#include "AliGenLib.h"
+
+class TRandom;
+
+class AliGenITSULib :public AliGenLib {
+
+ public:
+
+  enum EPartId {kLb=5122,kLc=4122,kXi_c = 4232,kBplus = 521,kBzero = 511,kDs=431,kDplus=411};
+
+  //Getters
+    
+  GenFunc   GetPt(Int_t iPID, const char * sForm=0) const;
+  GenFunc   GetY (Int_t iPID, const char * sForm=0) const;
+  GenFuncIp GetIp(Int_t iPID, const char * sForm=0) const;    
+
+ private:
+
+  static Int_t IpLcPlus(TRandom * /*ran*/)  {return     (int)kLc;}
+  static Int_t IpLcMinus(TRandom * /*ran*/) {return    -(int)kLc;}
+  static Int_t IpLb(TRandom * /*ran*/)      {return     (int)kLb;}
+  static Int_t IpLbBar(TRandom * /*ran*/)   {return    -(int)kLb;}
+  static Int_t IpXic(TRandom * /*ran*/)     {return   (int)kXi_c;}
+  static Int_t IpXicBar(TRandom * /*ran*/)  {return  -(int)kXi_c;}
+  static Int_t IpBPlus(TRandom * /*ran*/)   {return      (int)kBplus;}
+  static Int_t IpBMinus(TRandom * /*ran*/)  {return     -(int)kBplus;}
+  static Int_t IpB0(TRandom * /*ran*/)  {return         (int)kBzero;}
+  static Int_t IpB0Bar(TRandom * /*ran*/)  {return         -(int)kBzero;}
+  static Int_t IpDsPlus(TRandom * /*ran*/)  {return     (int)kDs;}
+  static Int_t IpDsMinus(TRandom * /*ran*/) {return    -(int)kDs;}
+  static Int_t IpDPlus(TRandom * /*ran*/)   {return  (int)kDplus;}
+  static Int_t IpDMinus(TRandom * /*ran*/)  {return -(int)kDplus;}
+
+  static Double_t PtFlat(const Double_t * /*px*/, const Double_t * /*dummy*/) {return 1;}
+  static Double_t YFlat (const Double_t * /*py*/, const Double_t * /*dummy*/) {return 1;}
+
+  static Double_t PtLbDist (const Double_t *px, const Double_t *dummy);
+  static Double_t PtLcDist (const Double_t *px, const Double_t *dummy);
+  static Double_t PtBDist  (const Double_t *px, const Double_t *dummy);
+
+
+
+  ClassDef(AliGenITSULib,1)
+    };
+
+#endif
+
+
+
+
+
+
+