Line data Source code
1 : /**************************************************************************
2 : * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 : * *
4 : * Author: The ALICE Off-line Project. *
5 : * Contributors are mentioned in the code where appropriate. *
6 : * *
7 : * Permission to use, copy, modify and distribute this software and its *
8 : * documentation strictly for non-commercial purposes is hereby granted *
9 : * without fee, provided that the above copyright notice appears in all *
10 : * copies and that both the copyright notice and this permission notice *
11 : * appear in the supporting documentation. The authors make no claims *
12 : * about the suitability of this software for any purpose. It is *
13 : * provided "as is" without express or implied warranty. *
14 : **************************************************************************/
15 :
16 : /* $Id$ */
17 :
18 : ///////////////////////////////////////////////////////////////////////////////
19 : // //
20 : // Magnetic Dipole //
21 : // This class contains the description of the base class for the //
22 : // magnetic dipole //
23 : // //
24 : //Begin_Html
25 : /*
26 : <img src="picts/AliDIPOClass.gif">
27 : </pre>
28 : <br clear=left>
29 : <font size=+2 color=red>
30 : <p>The responsible person for this module is
31 : <a href="mailto:andreas.morsch@cern.ch">Andreas Morsch</a>.
32 : </font>
33 : <pre>
34 : */
35 : //End_Html
36 : // //
37 : // //
38 : ///////////////////////////////////////////////////////////////////////////////
39 :
40 : #include "AliDIPO.h"
41 : #include "AliRun.h"
42 : #include "AliLog.h"
43 :
44 12 : ClassImp(AliDIPO)
45 :
46 : //_____________________________________________________________________________
47 12 : AliDIPO::AliDIPO()
48 36 : {
49 : //
50 : // Default constructor for the Dipole Magnet
51 : //
52 12 : }
53 :
54 : //_____________________________________________________________________________
55 : AliDIPO::AliDIPO(const char *name, const char *title)
56 1 : : AliModule(name,title)
57 3 : {
58 : //
59 : // Standard constructor for the Magnetic Dipole
60 : //
61 : //PH SetMarkerColor(7);
62 : //PH SetMarkerStyle(2);
63 : //PH SetMarkerSize(0.4);
64 1 : }
65 :
66 : //_____________________________________________________________________________
67 : void AliDIPO::Init()
68 : {
69 : //
70 : // Initialise Magnetic Dipole after it has been built
71 : //
72 : Int_t i;
73 : //
74 2 : if(AliLog::GetGlobalDebugLevel()>0) {
75 0 : printf("\n%s: ",ClassName());
76 0 : for(i=0;i<35;i++) printf("*");
77 0 : printf(" DIPO_INIT ");
78 0 : for(i=0;i<35;i++) printf("*");
79 0 : printf("\n%s: ",ClassName());
80 : //
81 : // Here the ABSO initialisation code (if any!)
82 0 : for(i=0;i<80;i++) printf("*");
83 0 : printf("\n");
84 0 : }
85 1 : }
86 :
|