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