]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSclusterV2.cxx
Added protection in case gGeoManager is a null pointer
[u/mrichter/AliRoot.git] / ITS / AliITSclusterV2.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 //-------------------------------------------------------------------------
17 //              Implementation of the ITS cluster class
18 //
19 //         Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
20 //-------------------------------------------------------------------------
21
22 #include "AliITSclusterV2.h"
23
24 ClassImp(AliITSclusterV2)
25 //_______________________________________________________
26 AliITSclusterV2::AliITSclusterV2() : AliCluster(),
27 fIndex(0),
28 fQ(0),
29 fLayer(0),
30 fNz(0),
31 fNy(0),
32 fChargeRatio(0),
33 fType(0),
34 fDeltaProb(0) {
35   //default constructor
36 }
37
38 //_______________________________________________________
39 AliITSclusterV2::AliITSclusterV2(Int_t *lab,Float_t *hit, Int_t *info): 
40   AliCluster(0,hit,0.,0.,lab),
41 fIndex(lab[3]),
42 fQ(hit[4]),
43 fLayer(info[2]),
44 fNz(info[1]),
45 fNy(info[0]),
46 fChargeRatio(0),
47 fType(0),
48 fDeltaProb(0){
49   //standard constructor
50 }