CbmRoot
|
Field map approximation QA. More...
#include <CbmLitFieldApproximationQa.h>
Public Member Functions | |
CbmLitFieldApproximationQa () | |
Constructor. | |
virtual | ~CbmLitFieldApproximationQa () |
Destructor. | |
virtual InitStatus | Init () |
Inherited from FairTask. | |
virtual void | Exec (Option_t *opt) |
Inherited from FairTask. | |
virtual void | Finish () |
Inherited from FairTask. | |
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. | |
void | CreateFieldHistos () |
Create field histograms. | |
void | CreateFitterHistos () |
Create histograms for field approximation. | |
void | CreateGridHistos () |
Create histograms for grid creator. | |
void | FillBHistos () |
Fill graphs and histos for field map for each field component (Bx, By, Bz, |B|). | |
void | FillFieldApproximationHistos () |
Fill histograms for polynomial field approximation. | |
void | FillGridCreatorHistos () |
fill histograms for grid creator tool. | |
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 39 of file CbmLitFieldApproximationQa.h.
CbmLitFieldApproximationQa::CbmLitFieldApproximationQa | ( | ) |
Constructor.
Definition at line 53 of file CbmLitFieldApproximationQa.cxx.
|
virtual |
Destructor.
Definition at line 75 of file CbmLitFieldApproximationQa.cxx.
|
private |
|
private |
|
private |
Create field histograms.
Definition at line 143 of file CbmLitFieldApproximationQa.cxx.
References CbmHistManager::Add(), fHM, fNofSlices, fZSlicePosition, ToString(), and v.
Referenced by CreateHistos().
|
private |
Create histograms for field approximation.
Definition at line 158 of file CbmLitFieldApproximationQa.cxx.
References CbmHistManager::Add(), fFixedBounds, fHM, fNofPolynoms, fNofSlices, fPolynomDegrees, fXSlicePosition, fYSlicePosition, fZSlicePosition, ToString(), and v.
Referenced by CreateHistos().
|
private |
Create histograms for grid creator.
Definition at line 221 of file CbmLitFieldApproximationQa.cxx.
References CbmHistManager::Add(), fFixedBounds, fHM, fNofSlices, fXSlicePosition, fYSlicePosition, fZSlicePosition, ToString(), and v.
Referenced by CreateHistos().
|
private |
Create histograms.
Definition at line 135 of file CbmLitFieldApproximationQa.cxx.
References CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), fHM, and CbmHistManager::ToString().
Referenced by Init().
|
virtual |
Inherited from FairTask.
Definition at line 131 of file CbmLitFieldApproximationQa.cxx.
|
private |
Fill graphs and histos for field map for each field component (Bx, By, Bz, |B|).
Definition at line 277 of file CbmLitFieldApproximationQa.cxx.
References fField, fHM, fNofBinsX, fNofBinsY, fNofSlices, fUseEllipseAcc, fXSlicePosition, fYSlicePosition, fZSlicePosition, CbmHistManager::G2(), pos, sqrt(), and ToString().
Referenced by Init().
|
private |
Fill histograms for polynomial field approximation.
Definition at line 316 of file CbmLitFieldApproximationQa.cxx.
References fField, fFitter, fHM, fNofBinsX, fNofBinsY, fNofPolynoms, fNofSlices, fPolynomDegrees, fUseEllipseAcc, fXSlicePosition, fYSlicePosition, fZSlicePosition, CbmHistManager::G2(), CbmHistManager::H1(), CbmHistManager::H2(), pos, sqrt(), ToString(), and v.
Referenced by Init().
|
private |
fill histograms for grid creator tool.
Definition at line 430 of file CbmLitFieldApproximationQa.cxx.
References CbmLitFieldGridCreator::CreateGrid(), fField, fGridCreator, fHM, fNofBinsX, fNofBinsY, fNofSlices, fXSlicePosition, fYSlicePosition, fZSlicePosition, CbmHistManager::G2(), CbmHistManager::H1(), CbmHistManager::H2(), pos, sqrt(), ToString(), and v.
Referenced by Init().
|
virtual |
Inherited from FairTask.
Definition at line 133 of file CbmLitFieldApproximationQa.cxx.
|
virtual |
Inherited from FairTask.
Definition at line 77 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, and CbmHistManager::WriteToFile().
|
inline |
Definition at line 69 of file CbmLitFieldApproximationQa.h.
References fFixedBounds.
|
private |
|
inline |
Definition at line 70 of file CbmLitFieldApproximationQa.h.
References fAcceptanceAngleX.
|
inline |
Definition at line 71 of file CbmLitFieldApproximationQa.h.
References fAcceptanceAngleY.
|
inline |
Definition at line 72 of file CbmLitFieldApproximationQa.h.
References fNofBinsX.
|
inline |
Definition at line 73 of file CbmLitFieldApproximationQa.h.
References fNofBinsY.
|
inline |
Definition at line 75 of file CbmLitFieldApproximationQa.h.
References fOutputDir.
|
inline |
Definition at line 76 of file CbmLitFieldApproximationQa.h.
References fPolynomDegreeIndex.
|
inline |
Definition at line 68 of file CbmLitFieldApproximationQa.h.
References fPolynomDegrees.
|
inline |
Definition at line 67 of file CbmLitFieldApproximationQa.h.
References fZSlicePosition.
|
inline |
Definition at line 74 of file CbmLitFieldApproximationQa.h.
References fUseEllipseAcc.
|
private |
Definition at line 135 of file CbmLitFieldApproximationQa.h.
Referenced by Init(), and SetAcceptanceAngleX().
|
private |
Definition at line 137 of file CbmLitFieldApproximationQa.h.
Referenced by Init(), and SetAcceptanceAngleY().
|
private |
Definition at line 115 of file CbmLitFieldApproximationQa.h.
Referenced by FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 151 of file CbmLitFieldApproximationQa.h.
Referenced by FillFieldApproximationHistos(), and Init().
|
private |
Definition at line 161 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), and IsFixedBounds().
|
private |
Definition at line 157 of file CbmLitFieldApproximationQa.h.
Referenced by FillGridCreatorHistos(), and Init().
|
private |
Definition at line 159 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), CreateHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 139 of file CbmLitFieldApproximationQa.h.
Referenced by FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and SetNofBinsX().
|
private |
Definition at line 141 of file CbmLitFieldApproximationQa.h.
Referenced by FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and SetNofBinsY().
|
private |
Definition at line 147 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), FillFieldApproximationHistos(), and Init().
|
private |
Definition at line 118 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 129 of file CbmLitFieldApproximationQa.h.
Referenced by Init(), and SetOutputDir().
|
private |
Definition at line 145 of file CbmLitFieldApproximationQa.h.
Referenced by SetPolynomDegreeIndex().
|
private |
Definition at line 149 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), FillFieldApproximationHistos(), Init(), and SetPolynomDegrees().
|
private |
Definition at line 143 of file CbmLitFieldApproximationQa.h.
Referenced by FillBHistos(), FillFieldApproximationHistos(), Init(), and SetUseEllipseAcc().
|
private |
Definition at line 125 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 126 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), and Init().
|
private |
Definition at line 124 of file CbmLitFieldApproximationQa.h.
Referenced by CreateFieldHistos(), CreateFitterHistos(), CreateGridHistos(), FillBHistos(), FillFieldApproximationHistos(), FillGridCreatorHistos(), Init(), and SetSliceZPosition().