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