]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STRUCT/AliDIPO.cxx
Temporary reverting the changes introduced earlier to store the TGeo geometry. New...
[u/mrichter/AliRoot.git] / STRUCT / AliDIPO.cxx
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  
43 ClassImp(AliDIPO)
44  
45 //_____________________________________________________________________________
46 AliDIPO::AliDIPO()
47 {
48   //
49   // Default constructor for the Dipole Magnet
50   //
51 }
52  
53 //_____________________________________________________________________________
54 AliDIPO::AliDIPO(const char *name, const char *title)
55   : AliModule(name,title)
56 {
57   //
58   // Standard constructor for the Magnetic Dipole
59   //
60   SetMarkerColor(7);
61   SetMarkerStyle(2);
62   SetMarkerSize(0.4);
63 }
64  
65 //_____________________________________________________________________________
66 void AliDIPO::Init()
67 {
68   //
69   // Initialise Magnetic Dipole after it has been built
70   //
71   Int_t i;
72   //
73   if(fDebug) {
74     printf("\n%s: ",ClassName());
75     for(i=0;i<35;i++) printf("*");
76     printf(" DIPO_INIT ");
77     for(i=0;i<35;i++) printf("*");
78     printf("\n%s: ",ClassName());
79     //
80     // Here the ABSO initialisation code (if any!)
81     for(i=0;i<80;i++) printf("*");
82     printf("\n");
83   }
84 }
85