]>
Commit | Line | Data |
---|---|---|
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 | Revision 1.5 2000/06/09 19:55:18 morsch | |
19 | Introduce new class AliMagFDM - Galina Chabratova | |
20 | ||
21 | ||
22 | Revision 1.4 2000/03/28 12:40:24 fca | |
23 | Introduce factor for magnetic field | |
24 | ||
25 | ||
26 | Revision 1.3 1999/09/29 09:24:29 fca | |
27 | Introduction of the Copyright and cvs Log | |
28 | ||
29 | */ | |
30 | ||
31 | ||
32 | #include "AliMagF.h" | |
33 | #include "TSystem.h" | |
34 | ||
35 | #include <stdlib.h> | |
36 | #include <stdio.h> | |
37 | ||
38 | ||
39 | ClassImp(AliMagF) | |
40 | ||
41 | //________________________________________ | |
42 | AliMagF::AliMagF(const char *name, const char *title, const Int_t integ, | |
43 | const Int_t map, const Float_t factor, const Float_t fmax) | |
44 | : TNamed(name,title) | |
45 | { | |
46 | // | |
47 | // Standard constructor | |
48 | // | |
49 | fMap = map; | |
50 | fType = kUndef; | |
51 | fInteg = integ; | |
52 | fFactor = factor; | |
53 | fMax = fmax; | |
54 | } | |
55 | ||
56 | //________________________________________ | |
57 | void AliMagF::Field(Float_t*, Float_t *b) | |
58 | { | |
59 | // | |
60 | // Method to return the field in one point -- dummy in this case | |
61 | // | |
62 | printf("Undefined MagF Field called, returning 0\n"); | |
63 | b[0]=b[1]=b[2]=0; | |
64 | } | |
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 |