]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/CALO/AliHLTCaloUtilities.h
Changes for Root6 (Mikolaj)
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloUtilities.h
index 07fbc3ec949881b51d58c65884f78b03331cceec..4055188316de0761690b6a95edb9de6eade5f303 100644 (file)
 
 using namespace std;
 
-//      AliHLTCaloUtilities
 class  AliHLTCaloUtilities
 {
  public:
   AliHLTCaloUtilities();
   virtual ~AliHLTCaloUtilities();
-  static bool CheckFile(const char *fileName, const char *opt);
-
-  //  static bool ScanSingleIntArgument(int argc, const char** argv, const char *name, int *value)
-  static bool ScanSingleIntArgument(int argc, const char** argv, const char *name, int *value = 0 );
-  static bool ScanSingleFloatArgument(int argc, const char** argv, const char *name, float *value = 0 );
-  static bool ScanSingleNameArgument(int argc, const char** argv, const char *name, char *outname = 0 );
-  static bool ScanSingleArgument(int argc, const char** argv, const char *name);
-
-  template<typename T> 
-    static void  DumpData(T *array, int N, int nPerLine)
-    {
-      //   cout <<   "DumpData N=  " << N <<endl;
-      for(int i= 0; i< N; i++)
-       {
-         if((i%nPerLine == 0)  &&  (i != 0))
-           {
-             //printf("\n");
-             cout << endl;
-           }
-
-         cout << array[i]<< "\t";
-       }
-      //     printf("\n");
-      cout << endl;
-    }
-
-  template<typename T> 
-    static void  ResetArray(T *array, int N)
-    {
-      for(int i= 0; i< N; i++)
-       {
-         array[i] = 0;
-       }
-    }
+  
   template<typename T> 
     static T  MaxValue(T *array, int N)
     {
@@ -82,13 +46,7 @@ class  AliHLTCaloUtilities
        }
       return tmpMax;
     }
-
-
-
   
- private:
-  static int DoExistArgument(const int argc, const char** argv, const char *argument);
-
 };
 
 #endif