]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/tracking-ca/AliHLTTPCCARow.cxx
coding violations and compilation warnings fixed (Sergey)
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCARow.cxx
1 // @(#) $Id$
2 //*************************************************************************
3 // This file is property of and copyright by the ALICE HLT Project        * 
4 // ALICE Experiment at CERN, All rights reserved.                         *
5 //                                                                        *
6 // Primary Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de>        *
7 //                  Ivan Kisel <kisel@kip.uni-heidelberg.de>              *
8 //                  for The ALICE HLT Project.                            *
9 //                                                                        *
10 // Permission to use, copy, modify and distribute this software and its   *
11 // documentation strictly for non-commercial purposes is hereby granted   *
12 // without fee, provided that the above copyright notice appears in all   *
13 // copies and that both the copyright notice and this permission notice   *
14 // appear in the supporting documentation. The authors make no claims     *
15 // about the suitability of this software for any purpose. It is          *
16 // provided "as is" without express or implied warranty.                  *
17 //*************************************************************************
18
19 #include "AliHLTTPCCARow.h"
20
21
22 ClassImp(AliHLTTPCCARow)
23
24 AliHLTTPCCARow::AliHLTTPCCARow() :fHits(0),fCells(0),fCellHitPointers(0),fNHits(0),fNCells(0),fX(0)
25 {
26   // constructor
27 }
28
29 AliHLTTPCCARow::AliHLTTPCCARow( const AliHLTTPCCARow &)
30   :fHits(0),fCells(0),fCellHitPointers(0),fNHits(0),fNCells(0),fX(0)
31 {
32   // dummy
33 }
34
35 AliHLTTPCCARow &AliHLTTPCCARow::operator=( const AliHLTTPCCARow &)
36 {
37   // dummy
38   fHits = 0;
39   fCells = 0;
40   fCellHitPointers = 0;
41   fNHits = 0;
42   fNCells = 0;
43   return *this;
44 }
45
46 void AliHLTTPCCARow::Clear()
47 {
48   // clear memory
49   delete[] fHits;
50   delete[] fCells;
51   fHits = 0;
52   fCells = 0;
53   fCellHitPointers = 0;    
54   fNHits = fNCells = 0;
55 }