]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // // | |
3 | // Magnetic Dipole // | |
4 | // This class contains the description of the base class for the // | |
5 | // magnetic dipole // | |
6 | // // | |
7 | //Begin_Html | |
8 | /* | |
9 | <img src="gif/AliDIPOClass.gif"> | |
10 | </pre> | |
11 | <br clear=left> | |
12 | <font size=+2 color=red> | |
13 | <p>The responsible person for this module is | |
14 | <a href="mailto:andreas.morsch@cern.ch">Andreas Morsch</a>. | |
15 | </font> | |
16 | <pre> | |
17 | */ | |
18 | //End_Html | |
19 | // // | |
20 | // // | |
21 | /////////////////////////////////////////////////////////////////////////////// | |
22 | ||
23 | #include "AliDIPO.h" | |
24 | #include "AliRun.h" | |
25 | ||
26 | ClassImp(AliDIPO) | |
27 | ||
28 | //_____________________________________________________________________________ | |
29 | AliDIPO::AliDIPO() | |
30 | { | |
31 | // | |
32 | // Default constructor for the Dipole Magnet | |
33 | // | |
34 | } | |
35 | ||
36 | //_____________________________________________________________________________ | |
37 | AliDIPO::AliDIPO(const char *name, const char *title) | |
b8032157 | 38 | : AliModule(name,title) |
fe4da5cc | 39 | { |
40 | // | |
41 | // Standard constructor for the Magnetic Dipole | |
42 | // | |
43 | SetMarkerColor(7); | |
44 | SetMarkerStyle(2); | |
45 | SetMarkerSize(0.4); | |
46 | } | |
47 | ||
fe4da5cc | 48 | //_____________________________________________________________________________ |
49 | void AliDIPO::Init() | |
50 | { | |
51 | // | |
52 | // Initialise Magnetic Dipole after it has been built | |
53 | // | |
54 | Int_t i; | |
55 | // | |
56 | printf("\n"); | |
57 | for(i=0;i<35;i++) printf("*"); | |
58 | printf(" DIPO_INIT "); | |
59 | for(i=0;i<35;i++) printf("*"); | |
60 | printf("\n"); | |
61 | // | |
62 | // Here the ABSO initialisation code (if any!) | |
63 | for(i=0;i<80;i++) printf("*"); | |
64 | printf("\n"); | |
65 | } | |
66 |