]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/STEERBase/AliCollisionGeometry.cxx
Adding static methods to get the azimuthal angle and eta range for a given vzero...
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliCollisionGeometry.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17 //-------------------------------------------------------------------------
18 //                          Class AliCollisionGeometry
19 //   This is a class to handle the collison geometry defined by
20 //   the generator
21 //   Author: A.Morsch Andreas.Morsch@cern.ch
22 //-------------------------------------------------------------------------
23
24
25 #include "AliCollisionGeometry.h"
26 ClassImp(AliCollisionGeometry)
27
28 //______________________________________________________________________
29 AliCollisionGeometry::AliCollisionGeometry() :
30   fNHardScatters(0),
31   fNProjectileParticipants(0),
32   fNTargetParticipants(0),
33   fNNColl(0),
34   fNNwColl(0),
35   fNwNColl(0),
36   fNwNwColl(0),
37   fProjectileSpecn(0),
38   fProjectileSpecp(0),
39   fTargetSpecn(0),
40   fTargetSpecp(0),
41   fImpactParameter(0),
42   fReactionPlaneAngle(0),
43   fNSD1(0),
44   fNSD2(0),
45   fNDD(0)
46 {
47 }
48
49 AliCollisionGeometry::AliCollisionGeometry(const AliCollisionGeometry& cgeo):
50   fNHardScatters(cgeo.fNHardScatters),
51   fNProjectileParticipants(cgeo.fNProjectileParticipants),
52   fNTargetParticipants(cgeo.fNTargetParticipants),
53   fNNColl(cgeo.fNNColl),
54   fNNwColl(cgeo.fNNwColl),
55   fNwNColl(cgeo.fNwNColl),
56   fNwNwColl(cgeo.fNwNwColl),
57   fProjectileSpecn(cgeo.fProjectileSpecn),
58   fProjectileSpecp(cgeo.fProjectileSpecp),
59   fTargetSpecn(cgeo.fTargetSpecn),
60   fTargetSpecp(cgeo.fTargetSpecp),
61   fImpactParameter(cgeo.fImpactParameter),
62   fReactionPlaneAngle(cgeo.fReactionPlaneAngle),
63   fNSD1(cgeo.fNSD1),
64   fNSD2(cgeo.fNSD2),
65   fNDD(cgeo.fNDD)
66 {
67     // Copy constructor
68 }