]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Initialization print-out in debug mode only.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 May 2001 07:59:54 +0000 (07:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 25 May 2001 07:59:54 +0000 (07:59 +0000)
STRUCT/AliFRAMEv2.cxx

index 2c8ba688d9bbab1bffbb3ad4288aaf94c74bb393..bf100b4d69bbe6df308599357623cacbb0872320 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.1  2001/05/11 13:18:05  morsch
+C++ version of spaceframe with specs according to Jan Bielski Feb. 2001
+
 */
 
 ////////////////////////////////////////////////
@@ -845,15 +848,15 @@ void AliFRAMEv2::Init()
   //
   // Initialise the module after the geometry has been defined
   //
-
-  printf("**************************************"
-        " FRAME "
-        "**************************************\n");
-  printf("\n     Version 1 of FRAME initialised, symmetric FRAME\n\n");
-  printf("**************************************"
-        " FRAME "
-        "**************************************\n");
-
+    if(fDebug) {
+       printf("%s: **************************************"
+              " FRAME "
+              "**************************************\n",ClassName());
+       printf("\n%s:      Version 2 of FRAME initialised, symmetric FRAME\n\n",ClassName());
+       printf("%s: **************************************"
+              " FRAME "
+              "**************************************\n",ClassName());
+    }
 }