]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliCollisionGeometry.cxx
Coverity fix (Haavard)
[u/mrichter/AliRoot.git] / STEER / 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 {
44 }
45
46 AliCollisionGeometry::AliCollisionGeometry(const AliCollisionGeometry& cgeo):
47   fNHardScatters(cgeo.fNHardScatters),
48   fNProjectileParticipants(cgeo.fNProjectileParticipants),
49   fNTargetParticipants(cgeo.fNTargetParticipants),
50   fNNColl(cgeo.fNNColl),
51   fNNwColl(cgeo.fNNwColl),
52   fNwNColl(cgeo.fNwNColl),
53   fNwNwColl(cgeo.fNwNwColl),
54   fProjectileSpecn(cgeo.fProjectileSpecn),
55   fProjectileSpecp(cgeo.fProjectileSpecp),
56   fTargetSpecn(cgeo.fTargetSpecn),
57   fTargetSpecp(cgeo.fTargetSpecp),
58   fImpactParameter(cgeo.fImpactParameter),
59   fReactionPlaneAngle(cgeo.fReactionPlaneAngle)
60 {
61     // Copy constructor
62 }