]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliDIPO.cxx
Reduced violations
[u/mrichter/AliRoot.git] / STRUCT / AliDIPO.cxx
index 00dc2fd66fe37505a48cc60e2e7ae99af36fda48..09ed4d6b7e704c5abe09300c0f09fdf667351645 100644 (file)
@@ -1,3 +1,20 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
 //  Magnetic Dipole                                                          //
@@ -6,7 +23,7 @@
 //                                                                           //
 //Begin_Html
 /*
-<img src="gif/AliDIPOClass.gif">
+<img src="picts/AliDIPOClass.gif">
 </pre>
 <br clear=left>
 <font size=+2 color=red>
@@ -53,14 +70,16 @@ void AliDIPO::Init()
   //
   Int_t i;
   //
-  printf("\n");
-  for(i=0;i<35;i++) printf("*");
-  printf(" DIPO_INIT ");
-  for(i=0;i<35;i++) printf("*");
-  printf("\n");
-  //
-  // Here the ABSO initialisation code (if any!)
-  for(i=0;i<80;i++) printf("*");
-  printf("\n");
+  if(fDebug) {
+    printf("\n%s: ",ClassName());
+    for(i=0;i<35;i++) printf("*");
+    printf(" DIPO_INIT ");
+    for(i=0;i<35;i++) printf("*");
+    printf("\n%s: ",ClassName());
+    //
+    // Here the ABSO initialisation code (if any!)
+    for(i=0;i<80;i++) printf("*");
+    printf("\n");
+  }
 }