Double_t factorSol=1., Double_t factorDip=1.,
Double_t fmax=15, BMap_t maptype = k5kG,
const char* path="$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root",
- BeamType_t btype=kBeamTypepp, Double_t benergy=7000., Bool_t compensator=kFALSE);
+ BeamType_t btype=kBeamTypepp, Double_t benergy=7000.);
AliMagF(const AliMagF& src);
AliMagF& operator=(const AliMagF& src);
virtual ~AliMagF();
//
void MachineField(const Double_t *x, Double_t *b) const;
BMap_t GetMapType() const {return fMapType;}
- Bool_t GetCompensator() const {return fCompensator;}
BeamType_t GetBeamType() const {return fBeamType;}
Double_t GetBeamEnergy() const {return fBeamEnergy;}
Double_t Max() const {return fMax;}
Int_t Integ() const {return fInteg;}
Int_t PrecInteg() const {return fPrecInteg;}
- Double_t SolenoidField() const {return -fFactorSol*fSolenoid;}
+ Double_t SolenoidField() const {return fFactorSol*fSolenoid;}
//
Char_t* GetDataFileName() const {return (Char_t*)fParNames.GetName();}
Char_t* GetParamName() const {return (Char_t*)fParNames.GetTitle();}
void InitMachineField(BeamType_t btype, Double_t benergy);
void SetBeamType(BeamType_t type) {fBeamType = type;}
void SetBeamEnergy(Float_t energy) {fBeamEnergy = energy;}
- void SetCompensatorMagnet(Bool_t flag) {fCompensator = flag;}
//
protected:
AliMagWrapCheb* fMeasuredMap; //! Measured part of the field map
Double_t fSolenoid; // Solenoid field setting
BeamType_t fBeamType; // Beam type: A-A (fBeamType=0) or p-p (fBeamType=1)
Double_t fBeamEnergy; // Beam energy in GeV
- Bool_t fCompensator; // Flag for compensator magnetic field (kTrue -> ON)
//
Int_t fInteg; // Default integration method as indicated in Geant
Int_t fPrecInteg; // Alternative integration method, e.g. for higher precision
TNamed fParNames; // file and parameterization loadad
//
static const Double_t fgkSol2DipZ; // conventional Z of transition from L3 to Dipole field
- static const Double_t fgkBMachineZ1; // Min Z of the LHC mag field range (to be checked?)
- static const Double_t fgkBMachineZ2; // Max Z of the LHC mag field range
//
- ClassDef(AliMagF, 1) // Class for all Alice MagField wrapper for measured data + Tosca parameterization
+ ClassDef(AliMagF, 2) // Class for all Alice MagField wrapper for measured data + Tosca parameterization
};