CbmRoot
|
Field map approximation QA. More...
#include <CbmLitFieldApproximationQa.h>
Public Member Functions | |
CbmLitFieldApproximationQa () | |
Constructor. More... | |
virtual | ~CbmLitFieldApproximationQa () |
Destructor. More... | |
virtual InitStatus | Init () |
Inherited from FairTask. More... | |
virtual void | Exec (Option_t *opt) |
Inherited from FairTask. More... | |
virtual void | Finish () |
Inherited from FairTask. More... | |
void | SetSliceZPosition (const vector< Double_t > &zPos) |
void | SetPolynomDegrees (const vector< UInt_t > °rees) |
void | IsFixedBounds (Bool_t fixedBounds) |
void | SetAcceptanceAngleX (double xangle) |
void | SetAcceptanceAngleY (double yangle) |
void | SetNofBinsX (int nofBinsX) |
void | SetNofBinsY (int nofBinsY) |
void | SetUseEllipseAcc (bool useEllipseAcc) |
void | SetOutputDir (const string &dir) |
void | SetPolynomDegreeIndex (unsigned int degreeIndex) |
Private Member Functions | |
void | CreateHistos () |
Create histograms. More... | |
void | CreateFieldHistos () |
Create field histograms. More... | |
void | CreateFitterHistos () |
Create histograms for field approximation. More... | |
void | CreateGridHistos () |
Create histograms for grid creator. More... | |
void | FillBHistos () |
Fill graphs and histos for field map for each field component (Bx, By, Bz, |B|). More... | |
void | FillFieldApproximationHistos () |
Fill histograms for polynomial field approximation. More... | |
void | FillGridCreatorHistos () |
fill histograms for grid creator tool. More... | |
CbmLitFieldApproximationQa (const CbmLitFieldApproximationQa &) | |
CbmLitFieldApproximationQa & | operator= (const CbmLitFieldApproximationQa &) |
ClassDef (CbmLitFieldApproximationQa, 1) | |
Private Attributes | |
FairField * | fField |
Int_t | fNofSlices |
vector< Double_t > | fZSlicePosition |
vector< Double_t > | fXSlicePosition |
vector< Double_t > | fYSlicePosition |
string | fOutputDir |
Double_t | fAcceptanceAngleX |
Double_t | fAcceptanceAngleY |
Int_t | fNofBinsX |
Int_t | fNofBinsY |
Bool_t | fUseEllipseAcc |
UInt_t | fPolynomDegreeIndex |
UInt_t | fNofPolynoms |
vector< UInt_t > | fPolynomDegrees |
vector< CbmLitFieldFitter * > | fFitter |
CbmLitFieldGridCreator * | fGridCreator |
CbmHistManager * | fHM |
Bool_t | fFixedBounds |
Field map approximation QA.
Task checks magnetic field map. Compares field map with its polynomial approximation and with approximation based on grid.
Definition at line 34 of file CbmLitFieldApproximationQa.h.
CbmLitFieldApproximationQa::CbmLitFieldApproximationQa | ( | ) |
Constructor.
Definition at line 51 of file CbmLitFieldApproximationQa.cxx.
|
virtual |
Destructor.
Definition at line 71 of file CbmLitFieldApproximationQa.cxx.
|
private |
|
private |
|
private |
Create field histograms.
Definition at line 137 of file CbmLitFieldApproximationQa.cxx.
References CbmHistManager::Add(), fHM, fNofSlices, fZSlicePosition, i, and v.
Referenced by CreateHistos().
|
private |
Create histograms for field approximation.
Definition at line 153 of file CbmLitFieldApproximationQa.cxx.
References CbmHistManager::Add(), fFixedBounds, fHM, fNofBinsX, fNofBinsY, fNofPolynoms, fNofSlices, fPolynomDegrees, fXSlicePosition, fYSlicePosition, fZSlicePosition, i, and v.
Referenced by CreateHistos().
|
private |
Create histograms for grid creator.
Definition at line 247 of file CbmLitFieldApproximationQa.cxx.
References CbmHistManager::Add(), fFixedBounds, fHM, fNofBinsX, fNofBinsY, fNofSlices, fXSlicePosition, fYSlicePosition, fZSlicePosition, i, and v.
Referenced by CreateHistos().
|
private |
Create histograms.
Definition at line 130 of file CbmLitFieldApproximationQa.cxx.
References CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), fHM, and CbmHistManager::ToString().
Referenced by Init().
|
virtual |
Inherited from FairTask.
Definition at line 126 of file CbmLitFieldApproximationQa.cxx.
|
private |
Fill graphs and histos for field map for each field component (Bx, By, Bz, |B|).
Definition at line 332 of file CbmLitFieldApproximationQa.cxx.
References fField, fHM, fNofBinsX, fNofBinsY, fNofSlices, fUseEllipseAcc, fXSlicePosition, fYSlicePosition, fZSlicePosition, CbmHistManager::G2(), pos, and sqrt().
Referenced by Init().
|
private |
Fill histograms for polynomial field approximation.
Definition at line 371 of file CbmLitFieldApproximationQa.cxx.
References fField, fFitter, fHM, fNofBinsX, fNofBinsY, fNofPolynoms, fNofSlices, fPolynomDegrees, fUseEllipseAcc, fXSlicePosition, fYSlicePosition, fZSlicePosition, CbmHistManager::G2(), CbmHistManager::H1(), CbmHistManager::H2(), i, pos, sqrt(), and v.
Referenced by Init().
|
private |
fill histograms for grid creator tool.
Definition at line 489 of file CbmLitFieldApproximationQa.cxx.
References CbmLitFieldGridCreator::CreateGrid(), fField, fGridCreator, fHM, fNofBinsX, fNofBinsY, fNofSlices, fXSlicePosition, fYSlicePosition, fZSlicePosition, CbmHistManager::G2(), CbmHistManager::H1(), CbmHistManager::H2(), pos, sqrt(), and v.
Referenced by Init().
|
virtual |
Inherited from FairTask.
Definition at line 128 of file CbmLitFieldApproximationQa.cxx.
|
virtual |
Inherited from FairTask.
Definition at line 73 of file CbmLitFieldApproximationQa.cxx.
References CbmSimulationReport::Create(), CreateHistos(), fAcceptanceAngleX, fAcceptanceAngleY, fField, fFitter, fGridCreator, fHM, FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), fNofPolynoms, fNofSlices, fOutputDir, fPolynomDegrees, fUseEllipseAcc, fXSlicePosition, fYSlicePosition, fZSlicePosition, i, and CbmHistManager::WriteToFile().
|
inline |
Definition at line 68 of file CbmLitFieldApproximationQa.h.
References fFixedBounds.
|
private |
|
inline |
Definition at line 69 of file CbmLitFieldApproximationQa.h.
References fAcceptanceAngleX.
|
inline |
Definition at line 70 of file CbmLitFieldApproximationQa.h.
References fAcceptanceAngleY.
|
inline |
Definition at line 71 of file CbmLitFieldApproximationQa.h.
References fNofBinsX.
|
inline |
Definition at line 72 of file CbmLitFieldApproximationQa.h.
References fNofBinsY.
|
inline |
Definition at line 74 of file CbmLitFieldApproximationQa.h.
References fOutputDir.
|
inline |
Definition at line 75 of file CbmLitFieldApproximationQa.h.
References fPolynomDegreeIndex.
|
inline |
Definition at line 65 of file CbmLitFieldApproximationQa.h.
References fPolynomDegrees.
|
inline |
Definition at line 62 of file CbmLitFieldApproximationQa.h.
References fZSlicePosition.
|
inline |
Definition at line 73 of file CbmLitFieldApproximationQa.h.
References fUseEllipseAcc.
|
private |
Definition at line 136 of file CbmLitFieldApproximationQa.h.
Referenced by Init(), and SetAcceptanceAngleX().
|
private |
Definition at line 138 of file CbmLitFieldApproximationQa.h.
Referenced by Init(), and SetAcceptanceAngleY().
|
private |
Definition at line 116 of file CbmLitFieldApproximationQa.h.
Referenced by FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 152 of file CbmLitFieldApproximationQa.h.
Referenced by FillFieldApproximationHistos(), and Init().
|
private |
Definition at line 162 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), and IsFixedBounds().
|
private |
Definition at line 158 of file CbmLitFieldApproximationQa.h.
Referenced by FillGridCreatorHistos(), and Init().
|
private |
Definition at line 160 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), CreateHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 140 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and SetNofBinsX().
|
private |
Definition at line 142 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and SetNofBinsY().
|
private |
Definition at line 148 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), FillFieldApproximationHistos(), and Init().
|
private |
Definition at line 119 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 130 of file CbmLitFieldApproximationQa.h.
Referenced by Init(), and SetOutputDir().
|
private |
Definition at line 146 of file CbmLitFieldApproximationQa.h.
Referenced by SetPolynomDegreeIndex().
|
private |
Definition at line 150 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), FillFieldApproximationHistos(), Init(), and SetPolynomDegrees().
|
private |
Definition at line 144 of file CbmLitFieldApproximationQa.h.
Referenced by FillBHistos(), FillFieldApproximationHistos(), Init(), and SetUseEllipseAcc().
|
private |
Definition at line 126 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 127 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 125 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), Init(), and SetSliceZPosition().