+/**************************************************************************
+ * 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. *
+ **************************************************************************/
+
+/*
+$Log$
+Revision 1.4 1999/09/29 09:24:30 fca
+Introduction of the Copyright and cvs Log
+
+*/
+
///////////////////////////////////////////////////////////////////////////////
// //
// Magnetic Dipole //
// //
//Begin_Html
/*
-<img src="gif/AliDIPOClass.gif">
+<img src="picts/AliDIPOClass.gif">
</pre>
<br clear=left>
<font size=+2 color=red>
//_____________________________________________________________________________
AliDIPO::AliDIPO(const char *name, const char *title)
- : AliDetector(name,title)
+ : AliModule(name,title)
{
//
// Standard constructor for the Magnetic Dipole
SetMarkerSize(0.4);
}
-//_____________________________________________________________________________
-void AliDIPO::BuildGeometry()
-{
- //
- // Build ROOT TNode geometry only for detectors
- //
-}
-
//_____________________________________________________________________________
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");
+ }
}