]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliCollisionGeometry.h
- TrackReference related methods and data members moved from AliDetector to AliModule
[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:
13 AliCollisionGeometry() {;}
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;}
20 Int_t Spectatorsn() {return fSpecn;}
21 Int_t Spectatorsp() {return fSpecp;}
22 Int_t NN() {return fNNColl;}
23 Int_t NNw() {return fNNwColl;}
24 Int_t NwN() {return fNwNColl;}
25 Int_t NwNw() {return fNwNwColl;}
26 // Setters
27 void SetImpactParameter(Float_t b) {fImpactParameter=b;}
28 void SetHardScatters(Int_t n) {fNHardScatters=n;}
29 void SetParticipants(Int_t np, Int_t nt)
30 {fNProjectileParticipants=np, fNTargetParticipants=nt;}
31 void SetCollisions(Int_t nn, Int_t nnw, Int_t nwn, Int_t nwnw)
32 {fNNColl=nn, fNNwColl=nnw, fNwNColl=nwn, fNwNwColl=nwnw;}
33 void SetSpectators(Int_t nspecn, Int_t nspecp)
34 {fSpecn=nspecn, fSpecp=nspecp;}
35 protected:
36 Int_t fNHardScatters; // Number of hard scatterings
37 Int_t fNProjectileParticipants; // Number of projectiles participants
38 Int_t fNTargetParticipants; // Number of target participants
39 Int_t fNNColl; // Number of N-N collisions
40 Int_t fNNwColl; // Number of N-Nwounded collisions
41 Int_t fNwNColl; // Number of Nwounded-N collisons
42 Int_t fNwNwColl; // Number of Nwounded-Nwounded collisions
43 Int_t fSpecn; // Number of spectators neutrons
44 Int_t fSpecp; // Number of spectators protons
45 Float_t fImpactParameter; // Impact Parameter
46
47 ClassDef(AliCollisionGeometry,1) // Collision Geometry
48};
49#endif
50
51
52
53
54
55