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