* See cxx source for full Copyright notice */
/* $Id$ */
+//-------------------------------------------------------------------------
+// Class AliCollisionGeometry
+// This is a class to handle the collison geometry defined by
+// the generator
+//-------------------------------------------------------------------------
-#include <TClassTable.h>
+#include <Rtypes.h>
class AliCollisionGeometry
{
public:
- AliCollisionGeometry() {;}
+ AliCollisionGeometry();
virtual ~AliCollisionGeometry(){;}
// Getters
- Float_t ImpactParameter() {return fImpactParameter;}
- Int_t HardScatters() {return fNHardScatters;}
- Int_t ProjectileParticipants() {return fNProjectileParticipants;}
- Int_t TargetParticipants() {return fNTargetParticipants;}
- Int_t Spectatorsn() {return fSpecn;}
- Int_t Spectatorsp() {return fSpecp;}
- Int_t NN() {return fNNColl;}
- Int_t NNw() {return fNNwColl;}
- Int_t NwN() {return fNwNColl;}
- Int_t NwNw() {return fNwNwColl;}
+ Float_t ImpactParameter() const {return fImpactParameter;}
+ Float_t ReactionPlaneAngle() const {return fReactionPlaneAngle;}
+ Int_t HardScatters() const {return fNHardScatters;}
+ Int_t ProjectileParticipants() const {return fNProjectileParticipants;}
+ Int_t TargetParticipants() const {return fNTargetParticipants;}
+ Int_t ProjSpectatorsn() const {return fProjectileSpecn;}
+ Int_t ProjSpectatorsp() const {return fProjectileSpecp;}
+ Int_t TargSpectatorsn() const {return fTargetSpecn; }
+ Int_t TargSpectatorsp() const {return fTargetSpecp; }
+ Int_t NN() const {return fNNColl;}
+ Int_t NNw() const {return fNNwColl;}
+ Int_t NwN() const {return fNwNColl;}
+ Int_t NwNw() const {return fNwNwColl;}
// Setters
void SetImpactParameter(Float_t b) {fImpactParameter=b;}
+ void SetReactionPlaneAngle(Float_t phi) {fReactionPlaneAngle = phi;}
void SetHardScatters(Int_t n) {fNHardScatters=n;}
void SetParticipants(Int_t np, Int_t nt)
{fNProjectileParticipants=np, fNTargetParticipants=nt;}
void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
{fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn, fNwNwColl=nwnw;}
- void SetSpectators(Int_t nspecn, Int_t nspecp)
- {fSpecn=nspecn, fSpecp=nspecp;}
+ void SetSpectators(Int_t nprojspecn, Int_t nprojspecp, Int_t ntargspecn, Int_t ntargspecp)
+ {fProjectileSpecn=nprojspecn, fProjectileSpecp=nprojspecp,
+ fTargetSpecn=ntargspecn, fTargetSpecp=ntargspecp;}
protected:
Int_t fNHardScatters; // Number of hard scatterings
Int_t fNProjectileParticipants; // Number of projectiles participants
Int_t fNNwColl; // Number of N-Nwounded collisions
Int_t fNwNColl; // Number of Nwounded-N collisons
Int_t fNwNwColl; // Number of Nwounded-Nwounded collisions
- Int_t fSpecn; // Number of spectators neutrons
- Int_t fSpecp; // Number of spectators protons
+ Int_t fProjectileSpecn; // Num. of spectator neutrons from projectile nucleus
+ Int_t fProjectileSpecp; // Num. of spectator protons from projectile nucleus
+ Int_t fTargetSpecn; // Num. of spectator neutrons from target nucleus
+ Int_t fTargetSpecp; // Num. of spectator protons from target nucleus
Float_t fImpactParameter; // Impact Parameter
-
- ClassDef(AliCollisionGeometry,1) // Collision Geometry
+ Float_t fReactionPlaneAngle; // Reaction plane angle
+
+ ClassDef(AliCollisionGeometry,3) // Collision Geometry
};
#endif