Swapped the names AliMagFCheb and AliMagWrapCheb. The former should be used
[u/mrichter/AliRoot.git] / STEER / AliMagFCheb.h
CommitLineData
5406439e 1#ifndef ALIMAGFCHEB_H
2#define ALIMAGFCHEB_H
da7cd221 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5406439e 5
da7cd221 6//
7// Interface between the AliMagWrapCheb and AliMagF: set of magnetic field data + Tosca
8// parameterization by Chebyshev polynomials
9//
10// Author: ruben.shahoyan@cern.ch
11//
0eea9d4d 12
da7cd221 13#include "AliMagFC.h"
14class AliMagWrapCheb;
5406439e 15
da7cd221 16
17class AliMagFCheb : public AliMagFC
0eea9d4d 18{
da7cd221 19public:
20 enum constants {k2kG, k4kG, k5kG};
d28e407c 21 AliMagFCheb();
da7cd221 22 AliMagFCheb(const char *name, const char *title, Int_t integ,
23 Float_t factor=1, Float_t fmax=15, Int_t map = k2kG,
24 Bool_t dipoleON = kTRUE,
25 const char* path="$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root");
26 AliMagFCheb(const AliMagFCheb& maps);
27 AliMagFCheb& operator=(const AliMagFCheb& maps);
28 virtual ~AliMagFCheb();
29 //
30 virtual void Field(const Float_t *x, Float_t *b) const;
31 virtual void Field(const Double_t *x, Double_t *b) const;
611fa94a 32 virtual void GetTPCInt(const Float_t *xyz, Float_t *b) const;
33 virtual void GetTPCIntCyl(const Float_t *rphiz, Float_t *b) const;
0eea9d4d 34 //
da7cd221 35 AliMagWrapCheb* GetMeasuredMap() const {return fMeasuredMap;}
36 void SetMeasuredMap(AliMagWrapCheb* parm);
37 virtual Float_t SolenoidField() const {return -Factor()*fSolenoid;}
0eea9d4d 38 //
39 protected:
da7cd221 40 AliMagWrapCheb* fMeasuredMap; // Measured part of the field map
41 Float_t fSolenoid; // Solenoid field setting
42 //
43 ClassDef(AliMagFCheb, 2) // Class for all Alice MagField wrapper for measured data + Tosca parameterization
44};
ff66b122 45
46
0eea9d4d 47#endif