]>
Commit | Line | Data |
---|---|---|
3126aea8 | 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 | ||
116cbefd | 8 | #include <Rtypes.h> |
3126aea8 | 9 | |
10 | class AliCollisionGeometry | |
11 | { | |
12 | public: | |
90e48c0c | 13 | AliCollisionGeometry(); |
3126aea8 | 14 | virtual ~AliCollisionGeometry(){;} |
15 | // Getters | |
16 | Float_t ImpactParameter() {return fImpactParameter;} | |
2391ec2e | 17 | Float_t ReactionPlaneAngle() {return fReactionPlaneAngle;} |
3126aea8 | 18 | Int_t HardScatters() {return fNHardScatters;} |
19 | Int_t ProjectileParticipants() {return fNProjectileParticipants;} | |
20 | Int_t TargetParticipants() {return fNTargetParticipants;} | |
265fb9b0 | 21 | Int_t ProjSpectatorsn() {return fProjectileSpecn;} |
22 | Int_t ProjSpectatorsp() {return fProjectileSpecp;} | |
23 | Int_t TargSpectatorsn() {return fTargetSpecn; } | |
24 | Int_t TargSpectatorsp() {return fTargetSpecp; } | |
3126aea8 | 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;} | |
2391ec2e | 31 | void SetReactionPlaneAngle(Float_t phi) {fReactionPlaneAngle = phi;} |
3126aea8 | 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;} | |
265fb9b0 | 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;} | |
3126aea8 | 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 | |
265fb9b0 | 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 | |
3126aea8 | 52 | Float_t fImpactParameter; // Impact Parameter |
2391ec2e | 53 | Float_t fReactionPlaneAngle; // Reaction plane angle |
54 | ||
55 | ClassDef(AliCollisionGeometry,3) // Collision Geometry | |
3126aea8 | 56 | }; |
57 | #endif | |
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 |