]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliCollisionGeometry.h
Adding protection
[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 #include <Rtypes.h>
9
10 class AliCollisionGeometry
11 {
12 public:
13     AliCollisionGeometry();
14     virtual ~AliCollisionGeometry(){;}
15     // Getters
16     Float_t ImpactParameter()   {return fImpactParameter;}
17     Float_t ReactionPlaneAngle() {return fReactionPlaneAngle;}
18     Int_t   HardScatters() {return fNHardScatters;}
19     Int_t   ProjectileParticipants()  {return fNProjectileParticipants;}
20     Int_t   TargetParticipants()      {return fNTargetParticipants;}
21     Int_t   ProjSpectatorsn()   {return fProjectileSpecn;}
22     Int_t   ProjSpectatorsp()   {return fProjectileSpecp;}
23     Int_t   TargSpectatorsn()   {return fTargetSpecn;    }
24     Int_t   TargSpectatorsp()   {return fTargetSpecp;    }
25     Int_t   NN()    {return fNNColl;}
26     Int_t   NNw()   {return fNNwColl;}
27     Int_t   NwN()   {return fNwNColl;}
28     Int_t   NwNw()  {return fNwNwColl;}
29     // Setters
30     void SetImpactParameter(Float_t b)     {fImpactParameter=b;}
31     void SetReactionPlaneAngle(Float_t phi)     {fReactionPlaneAngle = phi;}
32     void SetHardScatters(Int_t n)  {fNHardScatters=n;}
33     void SetParticipants(Int_t np, Int_t nt)
34         {fNProjectileParticipants=np, fNTargetParticipants=nt;}
35     void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
36         {fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn,  fNwNwColl=nwnw;}
37     void SetSpectators(Int_t nprojspecn, Int_t nprojspecp, Int_t ntargspecn, Int_t ntargspecp)
38         {fProjectileSpecn=nprojspecn, fProjectileSpecp=nprojspecp, 
39          fTargetSpecn=ntargspecn, fTargetSpecp=ntargspecp;}
40  protected:
41     Int_t   fNHardScatters;            // Number of hard scatterings
42     Int_t   fNProjectileParticipants;  // Number of projectiles participants
43     Int_t   fNTargetParticipants;      // Number of target participants
44     Int_t   fNNColl;                   // Number of N-N collisions
45     Int_t   fNNwColl;                  // Number of N-Nwounded collisions
46     Int_t   fNwNColl;                  // Number of Nwounded-N collisons
47     Int_t   fNwNwColl;                 // Number of Nwounded-Nwounded collisions
48     Int_t   fProjectileSpecn;          // Num. of spectator neutrons from projectile nucleus
49     Int_t   fProjectileSpecp;          // Num. of spectator protons from projectile nucleus
50     Int_t   fTargetSpecn;              // Num. of spectator neutrons from target nucleus
51     Int_t   fTargetSpecp;              // Num. of spectator protons from target nucleus
52     Float_t fImpactParameter;          // Impact Parameter
53     Float_t fReactionPlaneAngle;       // Reaction plane angle
54     
55   ClassDef(AliCollisionGeometry,3)     // Collision Geometry
56 };
57 #endif
58
59
60
61
62
63