]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliFRAMEv1.cxx
implementation of SOR and EOR events (not yet enabled), bugfix in DataBuffer: data...
[u/mrichter/AliRoot.git] / STRUCT / AliFRAMEv1.cxx
index 1dd4f34348eca85293ad2e6bda06405a1ba5602b..0b43aaf0fd4eba66b277f2f9ac78d55a4867955b 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.11  2001/05/16 14:57:22  alibrary
-New files for folders and Stack
-
-Revision 1.10  2000/10/02 21:28:15  fca
-Removal of useless dependecies via forward declarations
-
-Revision 1.9  2000/06/11 12:35:02  morsch
-Coding rule violations corrected
-
-Revision 1.8  2000/02/23 16:25:24  fca
-AliVMC and AliGeant3 classes introduced
-ReadEuclid moved from AliRun to AliModule
+/* $Id$ */
 
-Revision 1.7  1999/11/01 20:42:42  fca
-FRAME version 1 is now the symmetric one.
-
-Revision 1.6  1999/09/29 09:24:30  fca
-Introduction of the Copyright and cvs Log
-
-*/
+//-------------------------------------------------------------------------
+//  AliFRAMEv1.cxx
+//  symmetric space frame without holes
+//  Author:
+//-------------------------------------------------------------------------
 
-////////////////////////////////////////////////
-//  space frame class                            /
-////////////////////////////////////////////////
+#include <TSystem.h>
+#include <TVirtualMC.h>
 
 #include "AliFRAMEv1.h"
 #include "AliRun.h"
-#include "TSystem.h"
  
 ClassImp(AliFRAMEv1)
  
@@ -57,7 +40,7 @@ AliFRAMEv1::AliFRAMEv1(const char *name, const char *title)
   : AliFRAME(name,title)
 {
 // Constructor
-  if(fDebug>1) printf("%s: Create FRAMEv1 object\n",ClassName());  
+  AliDebugClass(1,"Create FRAMEv1 object");  
   fEuclidGeometry="$(ALICE_ROOT)/Euclid/frame1099i.euc";
   fEuclidMaterial="$(ALICE_ROOT)/Euclid/frame.tme";
 }
@@ -89,7 +72,7 @@ void AliFRAMEv1::CreateGeometry()
   delete [] filetmp;
   if(file) {
     fclose(file);
-    if(fDebug) printf("%s: Reading FRAME geometry\n",ClassName());
+    AliDebugClass(1,"Reading FRAME geometry");
     ReadEuclid(fEuclidGeometry.Data(),topvol);
   } else 
     Fatal("CreateGeometry","The Euclid file %s does not exist!\n",
@@ -111,7 +94,7 @@ void AliFRAMEv1::CreateMaterials()
 {
 // Create materials and media (from Euclid file)
   char *filetmp;
-  if(fDebug) printf("%s: Create FRAMEv1 materials\n",ClassName());
+  AliDebugClass(1,"Create FRAMEv1 materials\n");
   filetmp = gSystem->ExpandPathName(fEuclidMaterial.Data());
   FILE *file = fopen(filetmp,"r");
   delete [] filetmp;
@@ -132,7 +115,7 @@ void AliFRAMEv1::Init()
   // Initialise the module after the geometry has been defined
   //
 
-  if(fDebug) {
+  if(AliLog::GetGlobalDebugLevel()>0) {
     printf("%s: **************************************"
           " FRAME "
           "**************************************\n",ClassName());