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