Go to the documentation of this file.
10 #include "FairModule.h"
61 Double_t density = -1.);
77 Double_t density = -1.);
Double_t fThickness
Thickness [cm].
virtual void ConstructGeometry()
Built the ROOT geometry.
Double_t GetThickness() const
Get target thickness @value Full target thickness in z [cm].
Double_t fRotY
Target rotation angle around the y axis [rad].
TVector3 GetSurfaceCentreDown() const
Downstream surface centre.
virtual void SetGeometryFileName(TString name, TString geoVer="0")
Output to stdout.
Double_t GetDiameter() const
Get target diameter.
Double_t fPosY
Target centre position in y [cm].
Class for constructing the geometry of the CBM target.
TVector3 GetSurfaceCentreUp() const
Upstream surface centre.
Double_t GetZ() const
Get z coordinate of target centre.
Double_t fPosZ
Target centre position in z [cm].
void SetPosition(Double_t x, Double_t y, Double_t z)
Set the position of the target w.r.t. the global coordinate system.
TVector3 GetNormal() const
Normal vector.
Bool_t fBuildFromFile
Flag for building from geometry file.
Double_t GetRotation() const
Get target rotation angle.
Int_t fZ
Atomic charge of target material.
Double_t fPosX
Target centre position in x [cm].
Double_t GetY() const
Get y coordinate of target centre.
CbmTarget()
Default constructor.
void SetRotation(Double_t angle)
Set the rotation of the target w.r.t. the global coordinate system.
std::string ToString() const
Info.
virtual ~CbmTarget()
Destructor.
Double_t GetX() const
Get x coordinate of target centre.
TVector3 GetPosition() const
Double_t GetStandardDensity(Int_t charge) const
Double_t fDensity
Density of target material [g/cm^3].
Double_t fDiameter
Diameter [cm].
TString fMaterial
Material name.