]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSZPoint.cxx
Coverity
[u/mrichter/AliRoot.git] / ITS / AliITSZPoint.cxx
1 /**************************************************************************
2  * Copyright(c) 2007-2009, 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 #include "AliITSZPoint.h"
16 #include <Riostream.h>
17
18 ///////////////////////////////////////////////////////////////////
19 //                                                               //
20 // Class used by AliITSVertexerZ                                 //
21 // Contains Z coordinates with their error                       //
22 // is sortable                                                   //
23 //                                                               //
24 ///////////////////////////////////////////////////////////////////
25
26 ClassImp(AliITSZPoint)
27
28 //______________________________________________________________________
29 AliITSZPoint::AliITSZPoint():TObject(),
30 fZ(0.),
31 fErrz(0.){
32   // Default constructor
33 }
34
35 //______________________________________________________________________
36 AliITSZPoint::AliITSZPoint(Float_t z, Float_t ez):TObject(),
37 fZ(z),
38 fErrz(ez){
39   // Standard Constructor
40 }
41
42 //______________________________________________________________________
43   AliITSZPoint::~AliITSZPoint(){
44   // Destructor
45   fZ=0.;
46   fErrz=0.;
47 }
48
49 //______________________________________________________________________
50 void AliITSZPoint::Print(Option_t* /*option */) const {
51   // print data members
52   printf("Z projection %f , error %f \n",fZ,fErrz);
53 }