ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtConstField Class Reference

#include <AtConstField.h>

Inheritance diagram for AtConstField:
Inheritance graph
[legend]
Collaboration diagram for AtConstField:
Collaboration graph
[legend]

Public Member Functions

 AtConstField ()
 
 AtConstField (const char *name, Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax, Double_t bX, Double_t bY, Double_t bZ)
 
 AtConstField (AtFieldPar *fieldPar)
 
virtual ~AtConstField ()
 
void SetFieldRegion (Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax)
 
void SetField (Double_t bX, Double_t bY, Double_t bZ)
 
virtual Double_t GetBx (Double_t x, Double_t y, Double_t z)
 
virtual Double_t GetBy (Double_t x, Double_t y, Double_t z)
 
virtual Double_t GetBz (Double_t x, Double_t y, Double_t z)
 
Double_t GetXmin () const
 
Double_t GetXmax () const
 
Double_t GetYmin () const
 
Double_t GetYmax () const
 
Double_t GetZmin () const
 
Double_t GetZmax () const
 
Double_t GetBx () const
 
Double_t GetBy () const
 
Double_t GetBz () const
 
virtual void Print ()
 

Detailed Description

Definition at line 34 of file AtConstField.h.

Constructor & Destructor Documentation

◆ AtConstField() [1/3]

AtConstField::AtConstField ( )

Default constructor

Definition at line 31 of file AtConstField.cxx.

◆ AtConstField() [2/3]

AtConstField::AtConstField ( const char *  name,
Double_t  xMin,
Double_t  xMax,
Double_t  yMin,
Double_t  yMax,
Double_t  zMin,
Double_t  zMax,
Double_t  bX,
Double_t  bY,
Double_t  bZ 
)

Standard constructor

Parameters
nameObject name
xMin,xMaxx region of field (global coordinates)
yMin,yMaxy region of field (global coordinates)
zMin,zMaxz region of field (global coordinates)
bX,bY,bZField values [kG]

Definition at line 39 of file AtConstField.cxx.

◆ AtConstField() [3/3]

AtConstField::AtConstField ( AtFieldPar fieldPar)

Constructor from AtFieldPar

Definition at line 49 of file AtConstField.cxx.

◆ ~AtConstField()

AtConstField::~AtConstField ( )
virtualdefault

Destructor

Member Function Documentation

◆ GetBx() [1/2]

Double_t AtConstField::GetBx ( ) const
inline

Accessors to field values

Definition at line 84 of file AtConstField.h.

◆ GetBx() [2/2]

Double_t AtConstField::GetBx ( Double_t  x,
Double_t  y,
Double_t  z 
)
virtual

Get components of field at a given point

Parameters
x,y,zPoint coordinates [cm]

Definition at line 97 of file AtConstField.cxx.

◆ GetBy() [1/2]

Double_t AtConstField::GetBy ( ) const
inline

Definition at line 85 of file AtConstField.h.

◆ GetBy() [2/2]

Double_t AtConstField::GetBy ( Double_t  x,
Double_t  y,
Double_t  z 
)
virtual

Definition at line 106 of file AtConstField.cxx.

◆ GetBz() [1/2]

Double_t AtConstField::GetBz ( ) const
inline

Definition at line 86 of file AtConstField.h.

◆ GetBz() [2/2]

Double_t AtConstField::GetBz ( Double_t  x,
Double_t  y,
Double_t  z 
)
virtual

Definition at line 115 of file AtConstField.cxx.

◆ GetXmax()

Double_t AtConstField::GetXmax ( ) const
inline

Definition at line 77 of file AtConstField.h.

◆ GetXmin()

Double_t AtConstField::GetXmin ( ) const
inline

Accessors to field region

Definition at line 76 of file AtConstField.h.

◆ GetYmax()

Double_t AtConstField::GetYmax ( ) const
inline

Definition at line 79 of file AtConstField.h.

◆ GetYmin()

Double_t AtConstField::GetYmin ( ) const
inline

Definition at line 78 of file AtConstField.h.

◆ GetZmax()

Double_t AtConstField::GetZmax ( ) const
inline

Definition at line 81 of file AtConstField.h.

◆ GetZmin()

Double_t AtConstField::GetZmin ( ) const
inline

Definition at line 80 of file AtConstField.h.

◆ Print()

void AtConstField::Print ( )
virtual

Screen output

Definition at line 124 of file AtConstField.cxx.

◆ SetField()

void AtConstField::SetField ( Double_t  bX,
Double_t  bY,
Double_t  bZ 
)

Set the field values

Parameters
bX,bY,bZField values [kG]

Definition at line 88 of file AtConstField.cxx.

◆ SetFieldRegion()

void AtConstField::SetFieldRegion ( Double_t  xMin,
Double_t  xMax,
Double_t  yMin,
Double_t  yMax,
Double_t  zMin,
Double_t  zMax 
)

Set the field region

Parameters
xMin,xMaxx region of field (global coordinates)
yMin,yMaxy region of field (global coordinates)
zMin,zMaxz region of field (global coordinates)

Definition at line 75 of file AtConstField.cxx.


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