![]() |
AliRoot Core
edcc906 (edcc906)
|
#include <AliMagF.h>
Public Types | |
enum | BMap_t { k2kG, k5kG, k5kGUniform } |
enum | BeamType_t { kNoBeamField, kBeamTypepp, kBeamTypeAA, kBeamTypepA, kBeamTypeAp } |
enum | PolarityConvention_t { kConvLHC, kConvDCS2008, kConvMap2005 } |
enum | { kOverrideGRP =BIT(14) } |
Public Member Functions | |
AliMagF () | |
AliMagF (const char *name, const char *title, Double_t factorSol=1., Double_t factorDip=1., BMap_t maptype=k5kG, BeamType_t btype=kBeamTypepp, Double_t benergy=-1, float a2z=1.0, Int_t integ=2, Double_t fmax=15, const char *path="$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root") | |
AliMagF (const char *name, const char *title, Double_t factorSol, Double_t factorDip, BMap_t maptype, BeamType_t btype, Double_t benergy, Int_t integ, Double_t fmax, const char *path="$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root") | |
AliMagF (const AliMagF &src) | |
AliMagF & | operator= (const AliMagF &src) |
virtual | ~AliMagF () |
virtual void | Field (const Double_t *x, Double_t *b) |
void | GetTPCInt (const Double_t *xyz, Double_t *b) const |
void | GetTPCRatInt (const Double_t *xyz, Double_t *b) const |
void | GetTPCIntCyl (const Double_t *rphiz, Double_t *b) const |
void | GetTPCRatIntCyl (const Double_t *rphiz, Double_t *b) const |
Double_t | GetBz (const Double_t *xyz) const |
void | AllowFastField (Bool_t v=kTRUE) |
AliMagFast * | GetFastField () const |
AliMagWrapCheb * | GetMeasuredMap () const |
void | SetFactorSol (Float_t fc=1.) |
void | SetFactorDip (Float_t fc=1.) |
Double_t | GetFactorSol () const |
Double_t | GetFactorDip () const |
Double_t | Factor () const |
Double_t | GetCurrentSol () const |
Double_t | GetCurrentDip () const |
Bool_t | IsUniform () const |
void | MachineField (const Double_t *x, Double_t *b) const |
BMap_t | GetMapType () const |
BeamType_t | GetBeamType () const |
const char * | GetBeamTypeText () const |
Double_t | GetBeamEnergy () const |
Double_t | Max () const |
Int_t | Integ () const |
Int_t | PrecInteg () const |
Double_t | SolenoidField () const |
Char_t * | GetDataFileName () const |
Char_t * | GetParamName () const |
void | SetDataFileName (const Char_t *nm) |
void | SetParamName (const Char_t *nm) |
virtual void | Print (Option_t *opt) const |
Bool_t | LoadParameterization () |
Static Public Member Functions | |
static Int_t | GetPolarityConvention () |
static AliMagF * | CreateFieldMap (Float_t l3Current=-30000., Float_t diCurrent=-6000., Int_t convention=0, Bool_t uniform=kFALSE, Float_t beamenergy=7000, const Char_t *btype="pp", int az0=0, int az1=0, const Char_t *path="$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root", Bool_t returnNullOnInvalidCurrent=kFALSE) |
static void | SetFastFieldDefault (Bool_t v) |
static Bool_t | GetFastFieldDefault () |
Protected Member Functions | |
void | InitMachineField (BeamType_t btype, Double_t benergy, float a2z=1.0) |
void | SetBeamType (BeamType_t type) |
void | SetBeamEnergy (Float_t energy) |
Protected Attributes | |
AliMagWrapCheb * | fMeasuredMap |
AliMagFast * | fFastField |
Measured part of the field map. More... | |
BMap_t | fMapType |
optional fast param More... | |
Double_t | fSolenoid |
BeamType_t | fBeamType |
Double_t | fBeamEnergy |
Int_t | fInteg |
Int_t | fPrecInteg |
Double_t | fFactorSol |
Double_t | fFactorDip |
Double_t | fMax |
Bool_t | fDipoleOFF |
Double_t | fQuadGradient |
Double_t | fDipoleField |
Double_t | fCCorrField |
Double_t | fACorr1Field |
Double_t | fACorr2Field |
TNamed | fParNames |
Static Protected Attributes | |
static const Double_t | fgkSol2DipZ = -700. |
static const UShort_t | fgkPolarityConvention = AliMagF::kConvLHC |
static Bool_t | fgAllowFastField = kFALSE |
enum AliMagF::BeamType_t |
enum AliMagF::BMap_t |
AliMagF::AliMagF | ( | ) |
Definition at line 69 of file AliMagF.cxx.
Referenced by CreateFieldMap().
AliMagF::AliMagF | ( | const char * | name, |
const char * | title, | ||
Double_t | factorSol = 1. , |
||
Double_t | factorDip = 1. , |
||
BMap_t | maptype = k5kG , |
||
BeamType_t | btype = kBeamTypepp , |
||
Double_t | benergy = -1 , |
||
float | a2z = 1.0 , |
||
Int_t | integ = 2 , |
||
Double_t | fmax = 15 , |
||
const char * | path = "$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root" |
||
) |
Definition at line 97 of file AliMagF.cxx.
AliMagF::AliMagF | ( | const char * | name, |
const char * | title, | ||
Double_t | factorSol, | ||
Double_t | factorDip, | ||
BMap_t | maptype, | ||
BeamType_t | btype, | ||
Double_t | benergy, | ||
Int_t | integ, | ||
Double_t | fmax, | ||
const char * | path = "$(ALICE_ROOT)/data/maps/mfchebKGI_sym.root" |
||
) |
Definition at line 160 of file AliMagF.cxx.
AliMagF::AliMagF | ( | const AliMagF & | src | ) |
Definition at line 223 of file AliMagF.cxx.
|
virtual |
Definition at line 249 of file AliMagF.cxx.
void AliMagF::AllowFastField | ( | Bool_t | v = kTRUE | ) |
Definition at line 690 of file AliMagF.cxx.
Referenced by AliMagF().
|
static |
Definition at line 550 of file AliMagF.cxx.
Referenced by GetPolarityConvention(), AliMuonForwardTrackFinder::InitGRP(), AliReconstruction::InitGRP(), AliESDRun::InitMagneticField(), and AliGRPManager::SetMagField().
|
virtual |
Definition at line 280 of file AliMagF.cxx.
Referenced by AliTPCCorrection::CreateDistortionTree(), AliTPCExBBShape::GetBFieldXYZ(), AliTPCExB::GetBr(), AliMagFDraw::GetBr(), AliTPCExB::GetBrfi(), AliMagFDraw::GetBrfi(), AliTPCExB::GetBx(), AliMagFDraw::GetBx(), AliTrackerBase::GetBxByBz(), AliVTrack::GetBxByBz(), AliTPCExB::GetBy(), AliMagFDraw::GetBy(), AliTPCExB::GetBz(), and AliMagFDraw::GetBz().
|
inline |
const char * AliMagF::GetBeamTypeText | ( | ) | const |
Definition at line 654 of file AliMagF.cxx.
Referenced by GetBeamType(), and Print().
Double_t AliMagF::GetBz | ( | const Double_t * | xyz | ) | const |
Definition at line 296 of file AliMagF.cxx.
Referenced by AliMagF(), AliTrackerBase::GetBz(), and AliVTrack::GetBz().
|
inline |
Definition at line 56 of file AliMagF.h.
Referenced by AliReconstruction::ProcessEvent().
|
inline |
Definition at line 55 of file AliMagF.h.
Referenced by AliReconstruction::ProcessEvent().
|
inline |
Definition at line 69 of file AliMagF.h.
Referenced by LoadParameterization(), and Print().
Double_t AliMagF::GetFactorDip | ( | ) | const |
Definition at line 539 of file AliMagF.cxx.
Referenced by AllowFastField(), GetCurrentDip(), GetMeasuredMap(), AliMUONAlignmentTask::NotifyRun(), Print(), and AliSimulation::WriteGRPEntry().
Double_t AliMagF::GetFactorSol | ( | ) | const |
Definition at line 528 of file AliMagF.cxx.
Referenced by AliMagF(), AllowFastField(), Factor(), GetCurrentSol(), GetMeasuredMap(), Print(), SetFactorSol(), and AliSimulation::WriteGRPEntry().
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Definition at line 70 of file AliMagF.h.
Referenced by LoadParameterization(), and Print().
|
inlinestatic |
Definition at line 76 of file AliMagF.h.
Referenced by CreateFieldMap().
void AliMagF::GetTPCInt | ( | const Double_t * | xyz, |
Double_t * | b | ||
) | const |
Definition at line 459 of file AliMagF.cxx.
void AliMagF::GetTPCIntCyl | ( | const Double_t * | rphiz, |
Double_t * | b | ||
) | const |
Definition at line 481 of file AliMagF.cxx.
void AliMagF::GetTPCRatInt | ( | const Double_t * | xyz, |
Double_t * | b | ||
) | const |
Definition at line 470 of file AliMagF.cxx.
Referenced by AliTPCExBBShape::GetBxAndByOverBz(), and AliTPCExBBShape::GetCorrection().
void AliMagF::GetTPCRatIntCyl | ( | const Double_t * | rphiz, |
Double_t * | b | ||
) | const |
Definition at line 493 of file AliMagF.cxx.
|
protected |
Definition at line 339 of file AliMagF.cxx.
Referenced by AliMagF(), and GetFastFieldDefault().
|
inline |
Definition at line 57 of file AliMagF.h.
Referenced by AliTrackerBase::GetBxByBz(), AliVTrack::GetBxByBz(), AliVTrack::GetBz(), AliReconstruction::ProcessEvent(), AliTrackerBase::UniformField(), and AliSimulation::WriteGRPEntry().
Bool_t AliMagF::LoadParameterization | ( | ) |
Definition at line 256 of file AliMagF.cxx.
Referenced by AliMagF(), SetParamName(), and AliReconstruction::SlaveBegin().
void AliMagF::MachineField | ( | const Double_t * | x, |
Double_t * | b | ||
) | const |
Definition at line 367 of file AliMagF.cxx.
Referenced by Field(), and IsUniform().
Definition at line 312 of file AliMagF.cxx.
|
virtual |
Definition at line 673 of file AliMagF.cxx.
Referenced by AliMagF(), AliTPCExBBShape::Print(), and SetParamName().
|
inlineprotected |
|
inlineprotected |
|
inline |
void AliMagF::SetFactorDip | ( | Float_t | fc = 1. | ) |
Definition at line 517 of file AliMagF.cxx.
Referenced by AliMagF(), and GetMeasuredMap().
void AliMagF::SetFactorSol | ( | Float_t | fc = 1. | ) |
Definition at line 505 of file AliMagF.cxx.
Referenced by AliMagF(), and GetMeasuredMap().
|
inlinestatic |
|
inline |
|
inline |
Definition at line 67 of file AliMagF.h.
Referenced by AliBarrelRec_TPCparam(), AliL1Delay(), AliTPCCorrection::FastSimDistortedVertex(), AliTrackerBase::GetBxByBz(), AliVTrack::GetBxByBz(), AliTrackerBase::GetBz(), AliVTrack::GetBz(), AliTPCExBEffective::Init(), AliTPCSpaceCharge2D2D::Init(), AliTPCROCVoltError3D::Init(), AliTPCExBConical::Init(), AliTPCFCVoltError3D::Init(), AliTPCSpaceCharge::Init(), AliTPCSpaceCharge3D::Init(), AliTPCExBEffectiveSector::Init(), AliTPCBoundaryVoltError::Init(), AliTPCExBBShape::Init(), AliTPCExBTwist::Init(), AliTPCGGVoltError::Init(), AliTPCSpaceCharge3DDriftLine::Init(), AliTPCTransform::LoadFieldDependendStaticCorrectionMap(), TPCParamTracks(), AliTPCTransform::Transform(), AliTPCSpaceCharge2D2D::Update(), AliTPCExBEffective::Update(), AliTPCROCVoltError3D::Update(), AliTPCFCVoltError3D::Update(), AliTPCExBConical::Update(), AliTPCSpaceCharge::Update(), AliTPCSpaceCharge3D::Update(), AliTPCExBEffectiveSector::Update(), AliTPCBoundaryVoltError::Update(), AliTPCExBBShape::Update(), AliTPCExBTwist::Update(), AliTPCGGVoltError::Update(), and AliSimulation::WriteGRPEntry().
|
protected |
Definition at line 110 of file AliMagF.h.
Referenced by InitMachineField(), and MachineField().
|
protected |
Definition at line 111 of file AliMagF.h.
Referenced by InitMachineField(), and MachineField().
|
protected |
Definition at line 98 of file AliMagF.h.
Referenced by AliMagF(), GetBeamEnergy(), operator=(), Print(), and SetBeamEnergy().
|
protected |
Definition at line 97 of file AliMagF.h.
Referenced by AliMagF(), GetBeamType(), GetBeamTypeText(), operator=(), and SetBeamType().
|
protected |
Definition at line 109 of file AliMagF.h.
Referenced by InitMachineField(), and MachineField().
|
protected |
Definition at line 108 of file AliMagF.h.
Referenced by InitMachineField(), MachineField(), and Print().
|
protected |
|
protected |
Definition at line 103 of file AliMagF.h.
Referenced by Field(), GetBz(), GetFactorDip(), MachineField(), operator=(), and SetFactorDip().
|
protected |
Definition at line 102 of file AliMagF.h.
Referenced by Field(), GetBz(), GetFactorSol(), GetTPCInt(), GetTPCIntCyl(), operator=(), SetFactorSol(), and SolenoidField().
|
protected |
Measured part of the field map.
Definition at line 94 of file AliMagF.h.
Referenced by AliMagF(), AllowFastField(), Field(), GetBz(), GetFastField(), operator=(), SetFactorSol(), and ~AliMagF().
|
staticprotected |
Definition at line 117 of file AliMagF.h.
Referenced by GetFastFieldDefault(), and SetFastFieldDefault().
|
staticprotected |
Definition at line 116 of file AliMagF.h.
Referenced by GetFactorDip(), GetFactorSol(), GetPolarityConvention(), SetFactorDip(), and SetFactorSol().
|
staticprotected |
|
protected |
Definition at line 100 of file AliMagF.h.
Referenced by AliMagF(), Integ(), and operator=().
|
protected |
optional fast param
Definition at line 95 of file AliMagF.h.
Referenced by AliMagF(), AllowFastField(), GetCurrentSol(), GetMapType(), IsUniform(), and Print().
|
protected |
Definition at line 104 of file AliMagF.h.
Referenced by Max(), and operator=().
|
protected |
Definition at line 93 of file AliMagF.h.
Referenced by AliMagF(), Field(), GetBz(), GetMeasuredMap(), GetTPCInt(), GetTPCIntCyl(), GetTPCRatInt(), GetTPCRatIntCyl(), LoadParameterization(), operator=(), and ~AliMagF().
|
protected |
Definition at line 113 of file AliMagF.h.
Referenced by GetDataFileName(), GetParamName(), operator=(), SetDataFileName(), and SetParamName().
|
protected |
Definition at line 101 of file AliMagF.h.
Referenced by AliMagF(), operator=(), and PrecInteg().
|
protected |
Definition at line 107 of file AliMagF.h.
Referenced by InitMachineField(), MachineField(), and Print().
|
protected |
Definition at line 96 of file AliMagF.h.
Referenced by AliMagF(), operator=(), and SolenoidField().