]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/hits2digits.C
Remove obsolete macros
[u/mrichter/AliRoot.git] / TRD / hits2digits.C
diff --git a/TRD/hits2digits.C b/TRD/hits2digits.C
deleted file mode 100644 (file)
index 06611ab..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-void hits2digits() 
-{
-
-/////////////////////////////////////////////////////////////////////////
-//
-// Creates digits from the hit information. 
-//
-/////////////////////////////////////////////////////////////////////////
-
-  // Dynamically link some shared libs
-  if (gClassTable->GetID("AliRun") < 0) {
-    gROOT->LoadMacro("loadlibs.C");
-    loadlibs();
-    cout << "Loaded shared libraries" << endl;
-  }
-
-  // Input (and output) file name
-  Char_t *alifile = "galice.root"; 
-
-  // Create the TRD digitzer 
-  AliTRDdigitizer *digitizer = new AliTRDdigitizer("TRDdigitizer","Digitizer class");
-
-  // Set the parameter
-  digitizer->SetDebug(1);
-
-  // Open the AliRoot file
-  digitizer->Open(alifile);
-
-  // Create the digits
-  digitizer->MakeDigits();
-
-  // Write the digits into the input file
-  digitizer->WriteDigits();
-
-  // Save the digitizer class in the AliROOT file
-  digitizer->Write();
-
-}