]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGeVSimParticle.h
New version of AliGeVSim code. New class for flow afterburner (S.Radomski)
[u/mrichter/AliRoot.git] / EVGEN / AliGeVSimParticle.h
index 9fa1a6788320832bc2f83ffcb43360cdfb8d950f..ea9ee43c21529dea190701919f56b62109935139 100644 (file)
@@ -1,60 +1,82 @@
 #ifndef ALIGEVSIMPARTICLE_H
 #define ALIGEVSIMPARTICLE_H
 
-#include "TObject.h"
+////////////////////////////////////////////////////////////////////////////////
+//
+// AliGeVSimParticle is a helper class for GeVSim (AliGenGeVSim) event generator.
+// An object of this class represents one particle type and contain 
+// information about particle type thermal parameters.
+//
+// For examples, parameters and testing macros refer to:
+// http:/home.cern.ch/radomski
+//
+// Author:
+// Sylwester Radomski,
+// GSI, March 2002
+// 
+// S.Radomski@gsi.de
+//
+////////////////////////////////////////////////////////////////////////////////
 
+#include "TObject.h"
 
 class AliGeVSimParticle : public TObject {
 
-
-  Int_t fPDG;            // Particle type code
-
-  Float_t fN;            // Multiplicity (subject to scalling)
-  Float_t fT;            // Slope Parameter (subject to scalling)
-  Float_t fSigmaY;       // Rapidity Width
-  Float_t fExpansion;    // Expansion Velocity in c units (subject to scalling)
-
-  Float_t fV1;           // Direct Flow coefficient (subject to scalling)
-  Float_t fV2;           // Elliptical flow coefficient (subject to scalling)
-
  public:
-
+  
   ////////////////////////////////////////////////////////////////////////////
-
+  
   AliGeVSimParticle() {}
   AliGeVSimParticle(Int_t pdg); 
   AliGeVSimParticle(Int_t pdg, Int_t n, 
                    Float_t T, Float_t dY = 1., Float_t exp=0.);
-
+  
   ~AliGeVSimParticle() {}
-
+  
   ////////////////////////////////////////////////////////////////////////////
-
-  Int_t GetPdgCode() {return fPDG;}
-
-
-  Float_t GetMultiplicity() {return fN;}
-  Float_t GetTemperature() {return fT;}
-  Float_t GetSigmaY() {return fSigmaY;}
-  Float_t GetExpansionVelocity() {return fExpansion;}
+  
+  Int_t GetPdgCode() const {return fPDG;}
+  
+  Float_t GetMultiplicity() const {return fN;}
+  Float_t GetTemperature() const {return fT;}
+  Float_t GetSigmaY() const {return fSigmaY;}
+  Float_t GetExpansionVelocity() const {return fExpansion;}
   
   void SetMultiplicity(Float_t n) {fN = n;}
   void SetExpansionVelocity(Float_t vel) {fExpansion = vel;}
-
+  
   // Flow
+  
+  void SetDirectedFlow(Float_t v11, Float_t v12=0, Float_t v13=1, Float_t v14=0);
+  void SetEllipticFlow(Float_t v21, Float_t v22=0, Float_t v23=0);
+  
+  Float_t GetDirectedFlow(Float_t pt, Float_t y);
+  Float_t GetEllipticFlow(Float_t pt, Float_t y);
+  
+  Float_t GetDirectedFlow();
+  Float_t GetEllipticFlow();
 
-  void SetDirectFlow(Float_t v1) {fV1 = v1;}
-  void SetEllipticalFlow(Float_t v2) {fV2 = v2;}
-
-  Float_t GetDirectFlow() {return fV1;}
-  Float_t GetEllipticalFlow() {return fV2;}
-
-
+  
   ////////////////////////////////////////////////////////////////////////////
-
+  
+ private:
+  
+  Int_t fPDG;            // Particle type code
+  
+  Float_t fN;            // Multiplicity (subject to scalling)
+  Float_t fT;            // Slope Parameter (subject to scalling)
+  Float_t fSigmaY;       // Rapidity Width
+  Float_t fExpansion;    // Expansion Velocity in c units (subject to scalling)
+  
+  Float_t fV1[4];        // Direct Flow coefficient parameters (subject to scalling)
+  Float_t fV2[3];        // Elliptical flow coefficient parameters (subject to scalling)
+  
+ public:
+  
   ClassDef(AliGeVSimParticle, 1)
-
+    
 };
 
+////////////////////////////////////////////////////////////////////////////////
 
 #endif