]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliCollisionGeometry.h
Compilation warning fixed.
[u/mrichter/AliRoot.git] / STEER / AliCollisionGeometry.h
1 #ifndef ALICOLLISIONGEOMETRY_H
2 #define ALICOLLISIONGEOMETRY_H
3 /* Copyright(c) 198-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 //-------------------------------------------------------------------------
8 //                          Class AliCollisionGeometry
9 //   This is a class to handle the collison geometry defined by
10 //   the generator
11 //-------------------------------------------------------------------------
12
13 #include <Rtypes.h>
14
15 class AliCollisionGeometry
16 {
17 public:
18     AliCollisionGeometry();
19     virtual ~AliCollisionGeometry(){;}
20     // Getters
21     Float_t ImpactParameter() const  {return fImpactParameter;}
22     Float_t ReactionPlaneAngle() const {return fReactionPlaneAngle;}
23     Int_t   HardScatters() const {return fNHardScatters;}
24     Int_t   ProjectileParticipants() const {return fNProjectileParticipants;}
25     Int_t   TargetParticipants() const {return fNTargetParticipants;}
26     Int_t   ProjSpectatorsn() const {return fProjectileSpecn;}
27     Int_t   ProjSpectatorsp() const {return fProjectileSpecp;}
28     Int_t   TargSpectatorsn() const {return fTargetSpecn;        }
29     Int_t   TargSpectatorsp() const {return fTargetSpecp;        }
30     Int_t   NN() const  {return fNNColl;}
31     Int_t   NNw() const {return fNNwColl;}
32     Int_t   NwN() const {return fNwNColl;}
33     Int_t   NwNw() const {return fNwNwColl;}
34     // Setters
35     void SetImpactParameter(Float_t b)     {fImpactParameter=b;}
36     void SetReactionPlaneAngle(Float_t phi)     {fReactionPlaneAngle = phi;}
37     void SetHardScatters(Int_t n)  {fNHardScatters=n;}
38     void SetParticipants(Int_t np, Int_t nt)
39         {fNProjectileParticipants=np, fNTargetParticipants=nt;}
40     void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
41         {fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn,  fNwNwColl=nwnw;}
42     void SetSpectators(Int_t nprojspecn, Int_t nprojspecp, Int_t ntargspecn, Int_t ntargspecp)
43         {fProjectileSpecn=nprojspecn, fProjectileSpecp=nprojspecp, 
44          fTargetSpecn=ntargspecn, fTargetSpecp=ntargspecp;}
45  protected:
46     Int_t   fNHardScatters;            // Number of hard scatterings
47     Int_t   fNProjectileParticipants;  // Number of projectiles participants
48     Int_t   fNTargetParticipants;      // Number of target participants
49     Int_t   fNNColl;                   // Number of N-N collisions
50     Int_t   fNNwColl;                  // Number of N-Nwounded collisions
51     Int_t   fNwNColl;                  // Number of Nwounded-N collisons
52     Int_t   fNwNwColl;                 // Number of Nwounded-Nwounded collisions
53     Int_t   fProjectileSpecn;          // Num. of spectator neutrons from projectile nucleus
54     Int_t   fProjectileSpecp;          // Num. of spectator protons from projectile nucleus
55     Int_t   fTargetSpecn;              // Num. of spectator neutrons from target nucleus
56     Int_t   fTargetSpecp;              // Num. of spectator protons from target nucleus
57     Float_t fImpactParameter;          // Impact Parameter
58     Float_t fReactionPlaneAngle;       // Reaction plane angle
59     
60   ClassDef(AliCollisionGeometry,3)     // Collision Geometry
61 };
62 #endif
63
64
65
66
67
68