-typedef Double_t (*GenFunc) (Double_t*, Double_t*);
- GenFunc AliGenSTRANGElib::GetPt(Int_t param, const char* tname) const
+Double_t AliGenSTRANGElib::YLambda1520( const Double_t *py, const Double_t *)
+{
+// y-distribution
+//____________________________________________________________
+
+ const Double_t ka = 1000.;
+ const Double_t kdy = 4.;
+
+
+ Double_t y=TMath::Abs(*py);
+ //
+ Double_t ex = y*y/(2*kdy*kdy);
+ return ka*TMath::Exp(-ex);
+}
+
+Int_t AliGenSTRANGElib::IpLambda1520(TRandom * ran)
+{
+// particle composition
+// generation of fixed type of particle
+//
+
+ Float_t random = ran->Rndm();
+ if (random < 0.5) {
+ return 3124; // Lambda(1520)
+ } else {
+ return -3124; // antiLambda(1520)
+ }
+}
+// End Lambda(1520)
+//============================================================================
+
+typedef Double_t (*GenFunc) (const Double_t*, const Double_t*);
+ GenFunc AliGenSTRANGElib::GetPt(Int_t param, const char* /*tname*/) const