]>
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 | ||
eeacf08b | 16 | /* $Id$ */ |
4c039060 | 17 | |
fe4da5cc | 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 | /* | |
1439f98e | 26 | <img src="picts/AliDIPOClass.gif"> |
fe4da5cc | 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" | |
4951e003 | 42 | #include "AliLog.h" |
fe4da5cc | 43 | |
44 | ClassImp(AliDIPO) | |
45 | ||
46 | //_____________________________________________________________________________ | |
47 | AliDIPO::AliDIPO() | |
48 | { | |
49 | // | |
50 | // Default constructor for the Dipole Magnet | |
51 | // | |
52 | } | |
53 | ||
54 | //_____________________________________________________________________________ | |
55 | AliDIPO::AliDIPO(const char *name, const char *title) | |
b8032157 | 56 | : AliModule(name,title) |
fe4da5cc | 57 | { |
58 | // | |
59 | // Standard constructor for the Magnetic Dipole | |
60 | // | |
e939a978 | 61 | //PH SetMarkerColor(7); |
62 | //PH SetMarkerStyle(2); | |
63 | //PH SetMarkerSize(0.4); | |
fe4da5cc | 64 | } |
65 | ||
fe4da5cc | 66 | //_____________________________________________________________________________ |
67 | void AliDIPO::Init() | |
68 | { | |
69 | // | |
70 | // Initialise Magnetic Dipole after it has been built | |
71 | // | |
72 | Int_t i; | |
73 | // | |
4951e003 | 74 | if(AliLog::GetGlobalDebugLevel()>0) { |
9e1a0ddb | 75 | printf("\n%s: ",ClassName()); |
76 | for(i=0;i<35;i++) printf("*"); | |
77 | printf(" DIPO_INIT "); | |
78 | for(i=0;i<35;i++) printf("*"); | |
79 | printf("\n%s: ",ClassName()); | |
80 | // | |
81 | // Here the ABSO initialisation code (if any!) | |
82 | for(i=0;i<80;i++) printf("*"); | |
83 | printf("\n"); | |
84 | } | |
fe4da5cc | 85 | } |
86 |