Processing SPD Mean Vertex only in PHYSICS runs.
[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$ */
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();
3126aea8 19 virtual ~AliCollisionGeometry(){;}
20 // Getters
fdf65bb5 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;}
3126aea8 34 // Setters
35 void SetImpactParameter(Float_t b) {fImpactParameter=b;}
2391ec2e 36 void SetReactionPlaneAngle(Float_t phi) {fReactionPlaneAngle = phi;}
3126aea8 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;}
265fb9b0 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;}
3126aea8 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
265fb9b0 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
3126aea8 57 Float_t fImpactParameter; // Impact Parameter
2391ec2e 58 Float_t fReactionPlaneAngle; // Reaction plane angle
59
60 ClassDef(AliCollisionGeometry,3) // Collision Geometry
3126aea8 61};
62#endif
63
64
65
66
67
68