]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/tracking-ca/AliHLTTPCCAUsedHitsInitialiser.h
Remove compilser warnings
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAUsedHitsInitialiser.h
index 1b213ec5c6a41d59bdc264287683b6633a894037..c680e06182df354cd5802ddee40086e41ededb27 100644 (file)
@@ -1,6 +1,6 @@
 //-*- Mode: C++ -*-
 // ************************************************************************
-// This file is property of and copyright by the ALICE HLT Project        * 
+// This file is property of and copyright by the ALICE HLT Project        *
 // ALICE Experiment at CERN, All rights reserved.                         *
 // See cxx source for full Copyright notice                               *
 //                                                                        *
@@ -16,36 +16,34 @@ class AliHLTTPCCATracker;
 
 /**
  * @class AliHLTTPCCAUsedHitsInitialiser
- * 
+ *
  */
 class AliHLTTPCCAUsedHitsInitialiser
 {
- public:
-  class AliHLTTPCCASharedMemory
 public:
+    class AliHLTTPCCASharedMemory
     {
-      friend class AliHLTTPCCAUsedHitsInitialiser;
-     public:
+        friend class AliHLTTPCCAUsedHitsInitialiser;
+      public:
 #if !defined(HLTCA_GPUCODE)
-      AliHLTTPCCASharedMemory()
-       : fNHits(0), fUsedHits(0), fNThreadsTotal(0), fIh0(0)
-      {}
-
-      AliHLTTPCCASharedMemory( const AliHLTTPCCASharedMemory& /*dummy*/) 
-       : fNHits(0), fUsedHits(0), fNThreadsTotal(0), fIh0(0)
-      {}
-      AliHLTTPCCASharedMemory& operator=(const AliHLTTPCCASharedMemory& /*dummy*/){ return *this; }
+        AliHLTTPCCASharedMemory()
+            : fNHits( 0 ), fUsedHits( 0 ), fNThreadsTotal( 0 ), fIh0( 0 ) {}
+
+        AliHLTTPCCASharedMemory( const AliHLTTPCCASharedMemory& /*dummy*/ )
+            : fNHits( 0 ), fUsedHits( 0 ), fNThreadsTotal( 0 ), fIh0( 0 ) {}
+        AliHLTTPCCASharedMemory& operator=( const AliHLTTPCCASharedMemory& /*dummy*/ ) { return *this; }
 #endif
-    protected:
-      Int_t fNHits; // n hits
-      Int_t *fUsedHits; // pointer to the used hits array
-      Int_t fNThreadsTotal; // total n threads
-      Int_t fIh0; // start hit index for the thread
-     };
+      protected:
+        int fNHits; // n hits
+        int *fUsedHits; // pointer to the used hits array
+        int fNThreadsTotal; // total n threads
+        int fIh0; // start hit index for the thread
+    };
 
-  GPUd() static Int_t NThreadSyncPoints(){ return 3; }  
+    GPUd() static int NThreadSyncPoints() { return 3; }
 
-  GPUd() static void Thread( Int_t nBlocks, Int_t nThreads, Int_t iBlock, Int_t iThread, Int_t iSync,
-                            AliHLTTPCCASharedMemory &smem, AliHLTTPCCATracker &tracker );  
+    GPUd() static void Thread( int nBlocks, int nThreads, int iBlock, int iThread, int iSync,
+                               AliHLTTPCCASharedMemory &smem, AliHLTTPCCATracker &tracker );
 
 };