CbmRoot
Loading...
Searching...
No Matches
CbmLitFieldQa Class Reference

Field map QA. More...

#include <CbmLitFieldQa.h>

Inheritance diagram for CbmLitFieldQa:
[legend]
Collaboration diagram for CbmLitFieldQa:
[legend]

Public Member Functions

 CbmLitFieldQa ()
 Constructor.
 
virtual ~CbmLitFieldQa ()
 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 SetNofBinsX (Int_t nofBinsX)
 
void SetNofBinsY (Int_t nofBinsY)
 
void SetZMin (Double_t zMin)
 
void SetZMax (Double_t zMax)
 
void SetZStep (Double_t zStep)
 
void SetMinZFieldIntegral (Double_t minZ)
 
void SetMaxZFieldIntegral (Double_t maxZ)
 
void SetOutputDir (const string &dir)
 

Private Member Functions

void CreateHistos ()
 Create histograms.
 
void FillBHistos ()
 Fill graphs and histos for field map for each field component (Bx, By, Bz, |B|).
 
void FillRichPmtPlaneBHistos ()
 Fill B-field histograms for RICH PMT plane.
 
 CbmLitFieldQa (const CbmLitFieldQa &)
 
CbmLitFieldQaoperator= (const CbmLitFieldQa &)
 
 ClassDef (CbmLitFieldQa, 1)
 

Private Attributes

FairField * fField
 
vector< Double_t > fZSlicePosition
 
vector< Double_t > fXSlicePosition
 
vector< Double_t > fYSlicePosition
 
Int_t fNofSlices
 
Int_t fNofBinsX
 
Int_t fNofBinsY
 
Double_t fMinZFieldIntegral
 
Double_t fMaxZFieldIntegral
 
vector< Double_t > fAlongZAngles
 
vector< std::pair< Double_t, Double_t > > fAlongZXY
 
Double_t fZMin
 
Double_t fZMax
 
Double_t fZStep
 
CbmHistManagerfHM
 
string fOutputDir
 

Detailed Description

Field map QA.

Author
Andrey Lebedev andre.nosp@m.y.le.nosp@m.bedev.nosp@m.@gsi.nosp@m..de
Date
2009

Definition at line 34 of file CbmLitFieldQa.h.

Constructor & Destructor Documentation

◆ CbmLitFieldQa() [1/2]

CbmLitFieldQa::CbmLitFieldQa ( )

Constructor.

Definition at line 36 of file CbmLitFieldQa.cxx.

◆ ~CbmLitFieldQa()

CbmLitFieldQa::~CbmLitFieldQa ( )
virtual

Destructor.

Definition at line 58 of file CbmLitFieldQa.cxx.

◆ CbmLitFieldQa() [2/2]

CbmLitFieldQa::CbmLitFieldQa ( const CbmLitFieldQa & )
private

Member Function Documentation

◆ ClassDef()

CbmLitFieldQa::ClassDef ( CbmLitFieldQa ,
1  )
private

◆ CreateHistos()

void CbmLitFieldQa::CreateHistos ( )
private

Create histograms.

Definition at line 122 of file CbmLitFieldQa.cxx.

References CbmHistManager::Add(), fAlongZAngles, fAlongZXY, fHM, first, fNofSlices, fZSlicePosition, ToString(), and v.

Referenced by Init().

◆ Exec()

void CbmLitFieldQa::Exec ( Option_t * opt)
virtual

Inherited from FairTask.

Definition at line 118 of file CbmLitFieldQa.cxx.

◆ FillBHistos()

void CbmLitFieldQa::FillBHistos ( )
private

Fill graphs and histos for field map for each field component (Bx, By, Bz, |B|).

Definition at line 177 of file CbmLitFieldQa.cxx.

References fAlongZAngles, fAlongZXY, fField, fHM, first, fMaxZFieldIntegral, fMinZFieldIntegral, fNofBinsX, fNofBinsY, fNofSlices, fXSlicePosition, fYSlicePosition, fZMax, fZMin, fZSlicePosition, fZStep, CbmHistManager::G1(), CbmHistManager::G2(), pos, sqrt(), ToString(), and v.

Referenced by Init().

◆ FillRichPmtPlaneBHistos()

◆ Finish()

void CbmLitFieldQa::Finish ( )
virtual

Inherited from FairTask.

Definition at line 120 of file CbmLitFieldQa.cxx.

◆ Init()

◆ operator=()

CbmLitFieldQa & CbmLitFieldQa::operator= ( const CbmLitFieldQa & )
private

◆ SetMaxZFieldIntegral()

void CbmLitFieldQa::SetMaxZFieldIntegral ( Double_t maxZ)
inline

Definition at line 71 of file CbmLitFieldQa.h.

References fMaxZFieldIntegral.

◆ SetMinZFieldIntegral()

void CbmLitFieldQa::SetMinZFieldIntegral ( Double_t minZ)
inline

Definition at line 70 of file CbmLitFieldQa.h.

References fMinZFieldIntegral.

◆ SetNofBinsX()

void CbmLitFieldQa::SetNofBinsX ( Int_t nofBinsX)
inline

Definition at line 65 of file CbmLitFieldQa.h.

References fNofBinsX.

◆ SetNofBinsY()

void CbmLitFieldQa::SetNofBinsY ( Int_t nofBinsY)
inline

Definition at line 66 of file CbmLitFieldQa.h.

References fNofBinsY.

◆ SetOutputDir()

void CbmLitFieldQa::SetOutputDir ( const string & dir)
inline

Definition at line 72 of file CbmLitFieldQa.h.

References fOutputDir.

◆ SetSliceZPosition()

void CbmLitFieldQa::SetSliceZPosition ( const vector< Double_t > & zPos)
inline

Definition at line 62 of file CbmLitFieldQa.h.

References fZSlicePosition.

◆ SetZMax()

void CbmLitFieldQa::SetZMax ( Double_t zMax)
inline

Definition at line 68 of file CbmLitFieldQa.h.

References fZMax.

◆ SetZMin()

void CbmLitFieldQa::SetZMin ( Double_t zMin)
inline

Definition at line 67 of file CbmLitFieldQa.h.

References fZMin.

◆ SetZStep()

void CbmLitFieldQa::SetZStep ( Double_t zStep)
inline

Definition at line 69 of file CbmLitFieldQa.h.

References fZStep.

Member Data Documentation

◆ fAlongZAngles

vector<Double_t> CbmLitFieldQa::fAlongZAngles
private

Definition at line 110 of file CbmLitFieldQa.h.

Referenced by CreateHistos(), FillBHistos(), and Init().

◆ fAlongZXY

vector<std::pair<Double_t, Double_t> > CbmLitFieldQa::fAlongZXY
private

Definition at line 111 of file CbmLitFieldQa.h.

Referenced by CreateHistos(), FillBHistos(), and Init().

◆ fField

FairField* CbmLitFieldQa::fField
private

Definition at line 91 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), FillRichPmtPlaneBHistos(), and Init().

◆ fHM

CbmHistManager* CbmLitFieldQa::fHM
private

Definition at line 116 of file CbmLitFieldQa.h.

Referenced by CreateHistos(), FillBHistos(), FillRichPmtPlaneBHistos(), and Init().

◆ fMaxZFieldIntegral

Double_t CbmLitFieldQa::fMaxZFieldIntegral
private

Definition at line 108 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetMaxZFieldIntegral().

◆ fMinZFieldIntegral

Double_t CbmLitFieldQa::fMinZFieldIntegral
private

Definition at line 107 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetMinZFieldIntegral().

◆ fNofBinsX

Int_t CbmLitFieldQa::fNofBinsX
private

Definition at line 105 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetNofBinsX().

◆ fNofBinsY

Int_t CbmLitFieldQa::fNofBinsY
private

Definition at line 106 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetNofBinsY().

◆ fNofSlices

Int_t CbmLitFieldQa::fNofSlices
private

Definition at line 102 of file CbmLitFieldQa.h.

Referenced by CreateHistos(), FillBHistos(), and Init().

◆ fOutputDir

string CbmLitFieldQa::fOutputDir
private

Definition at line 119 of file CbmLitFieldQa.h.

Referenced by Init(), and SetOutputDir().

◆ fXSlicePosition

vector<Double_t> CbmLitFieldQa::fXSlicePosition
private

Definition at line 99 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and Init().

◆ fYSlicePosition

vector<Double_t> CbmLitFieldQa::fYSlicePosition
private

Definition at line 100 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and Init().

◆ fZMax

Double_t CbmLitFieldQa::fZMax
private

Definition at line 113 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetZMax().

◆ fZMin

Double_t CbmLitFieldQa::fZMin
private

Definition at line 112 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetZMin().

◆ fZSlicePosition

vector<Double_t> CbmLitFieldQa::fZSlicePosition
private

Definition at line 98 of file CbmLitFieldQa.h.

Referenced by CreateHistos(), FillBHistos(), Init(), and SetSliceZPosition().

◆ fZStep

Double_t CbmLitFieldQa::fZStep
private

Definition at line 114 of file CbmLitFieldQa.h.

Referenced by FillBHistos(), and SetZStep().


The documentation for this class was generated from the following files: