]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliMagF.cxx
Removal of useless dependecies via forward declarations
[u/mrichter/AliRoot.git] / STEER / AliMagF.cxx
CommitLineData
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$
94de3818 18Revision 1.6 2000/07/11 18:24:59 fca
19Coding convention corrections + few minor bug fixes
20
aee8290b 21Revision 1.5 2000/06/09 19:55:18 morsch
22Introduce new class AliMagFDM - Galina Chabratova
23
7a15f6b8 24
25Revision 1.4 2000/03/28 12:40:24 fca
26Introduce factor for magnetic field
27
28
dd045843 29Revision 1.3 1999/09/29 09:24:29 fca
30Introduction of the Copyright and cvs Log
31
4c039060 32*/
33
fe4da5cc 34
35#include "AliMagF.h"
7a15f6b8 36
fe4da5cc 37#include <stdlib.h>
38#include <stdio.h>
39
fe4da5cc 40
41ClassImp(AliMagF)
42
43//________________________________________
aee8290b 44AliMagF::AliMagF(const char *name, const char *title, const Int_t integ,
45 const Int_t map, const Float_t factor, const Float_t fmax)
fe4da5cc 46 : TNamed(name,title)
47{
aee8290b 48 //
49 // Standard constructor
50 //
fe4da5cc 51 fMap = map;
aee8290b 52 fType = kUndef;
fe4da5cc 53 fInteg = integ;
54 fFactor = factor;
55 fMax = fmax;
56}
57
58//________________________________________
59void AliMagF::Field(Float_t*, Float_t *b)
60{
aee8290b 61 //
62 // Method to return the field in one point -- dummy in this case
63 //
fe4da5cc 64 printf("Undefined MagF Field called, returning 0\n");
65 b[0]=b[1]=b[2]=0;
66}
67
7a15f6b8 68
69
70
71
72
73
fe4da5cc 74