#include <PndRichCalDb.h>
|
| PndRichCalDb () |
|
| PndRichCalDb (const char *mapName, const char *fileType="R") |
|
| PndRichCalDb (PndRichCalDbPar *CaldbPar) |
|
virtual | ~PndRichCalDb () |
|
virtual void | Init () |
|
virtual Double_t | GetBetaMean (dbpoint pnt) |
|
virtual Double_t | GetBetaSig (dbpoint pnt) |
|
virtual Double_t | GetBetaEff (dbpoint pnt) |
|
virtual Bool_t | IsInside (Double_t p, Double_t x, Double_t y, Double_t t, Double_t f, Int_t &ip, Int_t &ix, Int_t &iy, Int_t &it, Int_t &iq, Double_t &dp, Double_t &dx, Double_t &dy, Double_t &dt, Double_t &df) |
|
void | WriteAsciiFile (const char *fileName) |
|
void | WriteRootFile (const char *fileName, const char *mapName) |
|
Double_t | GetPmin () const |
|
Double_t | GetXmin () const |
|
Double_t | GetYmin () const |
|
Double_t | GetTmin () const |
|
Double_t | GetFmin () const |
|
Double_t | GetPmax () const |
|
Double_t | GetXmax () const |
|
Double_t | GetYmax () const |
|
Double_t | GetTmax () const |
|
Double_t | GetFmax () const |
|
Double_t | GetPstep () const |
|
Double_t | GetXstep () const |
|
Double_t | GetYstep () const |
|
Double_t | GetTstep () const |
|
Double_t | GetFstep () const |
|
Int_t | GetNp () const |
|
Int_t | GetNx () const |
|
Int_t | GetNy () const |
|
Int_t | GetNt () const |
|
Int_t | GetNf () const |
|
TArrayF * | GetBetaMean () const |
|
TArrayF * | GetBetaSig () const |
|
TArrayF * | GetBetaEff () const |
|
const char * | GetFileName () |
|
virtual void | Print () |
|
Definition at line 30 of file PndRichCalDb.h.
◆ PndRichCalDb() [1/3]
PndRichCalDb::PndRichCalDb |
( |
| ) |
|
◆ PndRichCalDb() [2/3]
PndRichCalDb::PndRichCalDb |
( |
const char * |
mapName, |
|
|
const char * |
fileType = "R" |
|
) |
| |
Standard constructor
- Parameters
-
name | Name of field map |
fileType | R = ROOT file, A = ASCII |
◆ PndRichCalDb() [3/3]
◆ ~PndRichCalDb()
virtual PndRichCalDb::~PndRichCalDb |
( |
| ) |
|
|
virtual |
◆ GetBetaEff() [1/2]
virtual Double_t PndRichCalDb::GetBetaEff |
( |
dbpoint |
pnt | ) |
|
|
virtual |
◆ GetBetaEff() [2/2]
TArrayF* PndRichCalDb::GetBetaEff |
( |
| ) |
const |
|
inline |
◆ GetBetaMean() [1/2]
virtual Double_t PndRichCalDb::GetBetaMean |
( |
dbpoint |
pnt | ) |
|
|
virtual |
Get the field components at a certain point
- Parameters
-
x,y,z | Point coordinates (global) [cm] Bx,By,Bz Field components [kG] |
◆ GetBetaMean() [2/2]
TArrayF* PndRichCalDb::GetBetaMean |
( |
| ) |
const |
|
inline |
Accessors to the field value arrays
Definition at line 97 of file PndRichCalDb.h.
◆ GetBetaSig() [1/2]
virtual Double_t PndRichCalDb::GetBetaSig |
( |
dbpoint |
pnt | ) |
|
|
virtual |
◆ GetBetaSig() [2/2]
TArrayF* PndRichCalDb::GetBetaSig |
( |
| ) |
const |
|
inline |
◆ GetFileName()
const char* PndRichCalDb::GetFileName |
( |
| ) |
|
|
inline |
◆ GetFmax()
Double_t PndRichCalDb::GetFmax |
( |
| ) |
const |
|
inline |
◆ GetFmin()
Double_t PndRichCalDb::GetFmin |
( |
| ) |
const |
|
inline |
◆ GetFstep()
Double_t PndRichCalDb::GetFstep |
( |
| ) |
const |
|
inline |
◆ GetNf()
Int_t PndRichCalDb::GetNf |
( |
| ) |
const |
|
inline |
◆ GetNp()
Int_t PndRichCalDb::GetNp |
( |
| ) |
const |
|
inline |
◆ GetNt()
Int_t PndRichCalDb::GetNt |
( |
| ) |
const |
|
inline |
◆ GetNx()
Int_t PndRichCalDb::GetNx |
( |
| ) |
const |
|
inline |
◆ GetNy()
Int_t PndRichCalDb::GetNy |
( |
| ) |
const |
|
inline |
◆ GetPmax()
Double_t PndRichCalDb::GetPmax |
( |
| ) |
const |
|
inline |
◆ GetPmin()
Double_t PndRichCalDb::GetPmin |
( |
| ) |
const |
|
inline |
Accessors to field parameters in local coordinate system
Definition at line 75 of file PndRichCalDb.h.
◆ GetPstep()
Double_t PndRichCalDb::GetPstep |
( |
| ) |
const |
|
inline |
◆ GetTmax()
Double_t PndRichCalDb::GetTmax |
( |
| ) |
const |
|
inline |
◆ GetTmin()
Double_t PndRichCalDb::GetTmin |
( |
| ) |
const |
|
inline |
◆ GetTstep()
Double_t PndRichCalDb::GetTstep |
( |
| ) |
const |
|
inline |
◆ GetXmax()
Double_t PndRichCalDb::GetXmax |
( |
| ) |
const |
|
inline |
◆ GetXmin()
Double_t PndRichCalDb::GetXmin |
( |
| ) |
const |
|
inline |
◆ GetXstep()
Double_t PndRichCalDb::GetXstep |
( |
| ) |
const |
|
inline |
◆ GetYmax()
Double_t PndRichCalDb::GetYmax |
( |
| ) |
const |
|
inline |
◆ GetYmin()
Double_t PndRichCalDb::GetYmin |
( |
| ) |
const |
|
inline |
◆ GetYstep()
Double_t PndRichCalDb::GetYstep |
( |
| ) |
const |
|
inline |
◆ Init()
virtual void PndRichCalDb::Init |
( |
| ) |
|
|
virtual |
Initialisation (read map from file)
◆ IsInside()
virtual Bool_t PndRichCalDb::IsInside |
( |
Double_t |
p, |
|
|
Double_t |
x, |
|
|
Double_t |
y, |
|
|
Double_t |
t, |
|
|
Double_t |
f, |
|
|
Int_t & |
ip, |
|
|
Int_t & |
ix, |
|
|
Int_t & |
iy, |
|
|
Int_t & |
it, |
|
|
Int_t & |
iq, |
|
|
Double_t & |
dp, |
|
|
Double_t & |
dx, |
|
|
Double_t & |
dy, |
|
|
Double_t & |
dt, |
|
|
Double_t & |
df |
|
) |
| |
|
virtual |
Determine whether a point is inside the field map
- Parameters
-
x,y,z | Point coordinates (global) [cm] |
ix,iy,iz | (return) Grid cell |
dx,dy,dz | (return) Distance from grid point [cm] if inside kTRUE if inside map, else kFALSE |
◆ Print()
virtual void PndRichCalDb::Print |
( |
| ) |
|
|
virtual |
◆ ReadAsciiFile()
void PndRichCalDb::ReadAsciiFile |
( |
const char * |
fileName | ) |
|
|
protected |
Read the field map from an ASCII file
◆ ReadRootFile()
void PndRichCalDb::ReadRootFile |
( |
const char * |
fileName, |
|
|
const char * |
mapName |
|
) |
| |
|
protected |
Read field map from a ROOT file
◆ Reset()
void PndRichCalDb::Reset |
( |
| ) |
|
|
protected |
Reset the field parameters and data
◆ SetCalDb()
Set field parameters and data
◆ WriteAsciiFile()
void PndRichCalDb::WriteAsciiFile |
( |
const char * |
fileName | ) |
|
Write the field map to an ASCII file
◆ WriteRootFile()
void PndRichCalDb::WriteRootFile |
( |
const char * |
fileName, |
|
|
const char * |
mapName |
|
) |
| |
Write field map data to a ROOT file
◆ fBetaEff
TArrayF* PndRichCalDb::fBetaEff |
|
protected |
◆ fBetaMean
TArrayF* PndRichCalDb::fBetaMean |
|
protected |
◆ fBetaSig
TArrayF* PndRichCalDb::fBetaSig |
|
protected |
◆ fFileName
TString PndRichCalDb::fFileName |
|
protected |
◆ fFmax
Double_t PndRichCalDb::fFmax |
|
protected |
◆ fFmin
Double_t PndRichCalDb::fFmin |
|
protected |
◆ fFstep
Double_t PndRichCalDb::fFstep |
|
protected |
◆ fNf
◆ fNp
◆ fNt
◆ fNx
◆ fNy
◆ fPmax
Double_t PndRichCalDb::fPmax |
|
protected |
◆ fPmin
Double_t PndRichCalDb::fPmin |
|
protected |
Field limits in local coordinate system
Definition at line 128 of file PndRichCalDb.h.
◆ fPstep
Double_t PndRichCalDb::fPstep |
|
protected |
◆ fTmax
Double_t PndRichCalDb::fTmax |
|
protected |
◆ fTmin
Double_t PndRichCalDb::fTmin |
|
protected |
◆ fTstep
Double_t PndRichCalDb::fTstep |
|
protected |
◆ fXmax
Double_t PndRichCalDb::fXmax |
|
protected |
◆ fXmin
Double_t PndRichCalDb::fXmin |
|
protected |
◆ fXstep
Double_t PndRichCalDb::fXstep |
|
protected |
◆ fYmax
Double_t PndRichCalDb::fYmax |
|
protected |
◆ fYmin
Double_t PndRichCalDb::fYmin |
|
protected |
◆ fYstep
Double_t PndRichCalDb::fYstep |
|
protected |
The documentation for this class was generated from the following file: