]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/STEERBase/AliCollisionGeometry.h
Fix neccessary for local merge
[u/mrichter/AliRoot.git] / STEER / STEERBase / 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$ */
fdf65bb5 7//-------------------------------------------------------------------------
8// Class AliCollisionGeometry
9// This is a class to handle the collison geometry defined by
10// the generator
11//-------------------------------------------------------------------------
3126aea8 12
116cbefd 13#include <Rtypes.h>
3126aea8 14
15class AliCollisionGeometry
16{
17public:
90e48c0c 18 AliCollisionGeometry();
2f3fd0f1 19 AliCollisionGeometry(const AliCollisionGeometry& cgeo);
3126aea8 20 virtual ~AliCollisionGeometry(){;}
21 // Getters
fdf65bb5 22 Float_t ImpactParameter() const {return fImpactParameter;}
23 Float_t ReactionPlaneAngle() const {return fReactionPlaneAngle;}
24 Int_t HardScatters() const {return fNHardScatters;}
25 Int_t ProjectileParticipants() const {return fNProjectileParticipants;}
26 Int_t TargetParticipants() const {return fNTargetParticipants;}
27 Int_t ProjSpectatorsn() const {return fProjectileSpecn;}
28 Int_t ProjSpectatorsp() const {return fProjectileSpecp;}
29 Int_t TargSpectatorsn() const {return fTargetSpecn; }
30 Int_t TargSpectatorsp() const {return fTargetSpecp; }
31 Int_t NN() const {return fNNColl;}
32 Int_t NNw() const {return fNNwColl;}
33 Int_t NwN() const {return fNwNColl;}
34 Int_t NwNw() const {return fNwNwColl;}
3126aea8 35 // Setters
36 void SetImpactParameter(Float_t b) {fImpactParameter=b;}
2391ec2e 37 void SetReactionPlaneAngle(Float_t phi) {fReactionPlaneAngle = phi;}
3126aea8 38 void SetHardScatters(Int_t n) {fNHardScatters=n;}
39 void SetParticipants(Int_t np, Int_t nt)
40 {fNProjectileParticipants=np, fNTargetParticipants=nt;}
41 void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
42 {fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn, fNwNwColl=nwnw;}
265fb9b0 43 void SetSpectators(Int_t nprojspecn, Int_t nprojspecp, Int_t ntargspecn, Int_t ntargspecp)
44 {fProjectileSpecn=nprojspecn, fProjectileSpecp=nprojspecp,
45 fTargetSpecn=ntargspecn, fTargetSpecp=ntargspecp;}
3126aea8 46 protected:
47 Int_t fNHardScatters; // Number of hard scatterings
48 Int_t fNProjectileParticipants; // Number of projectiles participants
49 Int_t fNTargetParticipants; // Number of target participants
50 Int_t fNNColl; // Number of N-N collisions
51 Int_t fNNwColl; // Number of N-Nwounded collisions
52 Int_t fNwNColl; // Number of Nwounded-N collisons
53 Int_t fNwNwColl; // Number of Nwounded-Nwounded collisions
265fb9b0 54 Int_t fProjectileSpecn; // Num. of spectator neutrons from projectile nucleus
55 Int_t fProjectileSpecp; // Num. of spectator protons from projectile nucleus
56 Int_t fTargetSpecn; // Num. of spectator neutrons from target nucleus
57 Int_t fTargetSpecp; // Num. of spectator protons from target nucleus
3126aea8 58 Float_t fImpactParameter; // Impact Parameter
2391ec2e 59 Float_t fReactionPlaneAngle; // Reaction plane angle
ee51dca6 60
61private:
62 AliCollisionGeometry& operator=(const AliCollisionGeometry& cg); //Not implemented
2391ec2e 63
64 ClassDef(AliCollisionGeometry,3) // Collision Geometry
3126aea8 65};
66#endif
67
68
69
70
71
72