Class stores a grid of magnetic field values in XY slice at Z position.
Absorber in muon detector layout.
const LitFieldGrid & GetFieldGridFront() const
Return magnetic field grid in front of the absorber.
void SetZ(const T &z)
Set Z position of absorber.
LitFieldGrid fFieldGridBack
void SetMaterial(const LitMaterialInfo< T > &material)
Set absorber material.
void SetFieldGridBack(const LitFieldGrid &fieldGrid)
Set magnetic field grid in the back of the absorber.
const LitFieldGrid & GetFieldGridMiddle() const
Return magnetic field grid in the middle of the absorber.
virtual ~LitAbsorber()
Destructor.
std::string ToString() const
Return std::string representation of the class.
const T & GetZ() const
Return Z position of absorber.
LitFieldGrid fFieldGridFront
const LitMaterialInfo< T > & GetMaterial() const
Return absorber material.
LitFieldGrid fFieldGridMiddle
LitAbsorber()
Constructor.
friend std::ostream & operator<<(std::ostream &strm, const LitAbsorber &absorber)
Operator << for convenient output to std::ostream.
void SetFieldGridMiddle(const LitFieldGrid &fieldGrid)
Set magnetic field grid in the middle of the absorber.
LitMaterialInfo< T > fMaterial
const LitFieldGrid & GetFieldGridBack() const
Return magnetic field grid in the back of the absorber.
void SetFieldGridFront(const LitFieldGrid &fieldGrid)
Set magnetic field grid in front of the absorber.
Class stores a grid of magnetic field values in XY slice at Z position.
LitAbsorber< fscal > LitAbsorberScal
class lit::parallel::LitDetectorLayout _fvecalignment
std::string ToString(const T &value)
Function converts object into a std::string.
LitAbsorber< fvec > LitAbsorberVec