|
CbmRoot
|
A geometry layer in the target region. More...
#include <KfTarget.h>
Public Member Functions | |
| Target ()=default | |
| Default constructor. | |
| Target (double x, double y, double z, double dz, double r) | |
| Constructor from parameters. | |
| template<typename I> | |
| Target (const Target< I > &other) | |
| Copy constructor. | |
| ~Target ()=default | |
| Destructor. | |
| Target & | operator= (const Target &other)=default |
| Copy assignment operator. | |
| T | GetX () const |
| Gets x-coordinate of the nominal target center. | |
| T | GetY () const |
| Gets y-coordinate of the nominal target center. | |
| T | GetZ () const |
| Gets z-coordinate of the nominal target center. | |
| T | GetDz () const |
| Gets target half-thickness. | |
| T | GetR () const |
| Gets transverse size of target. | |
| const MaterialMap & | GetMaterial () const |
| Gets material map. | |
| void | SetMaterial (const MaterialMap &material) |
| Sets material map. | |
| void | SetMaterial (MaterialMap &&material) |
| Sets material map (move semantics) | |
| void | SetX (T x) |
| Sets x-coordinate of the nominal target center. | |
| void | SetY (T y) |
| Sets y-coordinate of the nominal target center. | |
| void | SetZ (T z) |
| Sets x-coordinate of the nominal target center. | |
| void | SetDz (T dz) |
| Sets target half-thickness. | |
| void | SetR (T r) |
| Sets target transverse size. | |
| std::string | ToString (int indentLevel=0, int vebose=1) const |
| String representation of the class. | |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
| MaterialMap | fMaterial {} |
| Material map in the target region. | |
| T | fX {defs::Undef<T>} |
| x-coordinate of the nominal target center [cm] | |
| T | fY {defs::Undef<T>} |
| y-coordinate of the nominal target center [cm] | |
| T | fZ {defs::Undef<T>} |
| z-coordinate of the nominal target center [cm] | |
| T | fDz {defs::Undef<T>} |
| Half-thickness of the target [cm]. | |
| T | fR {defs::Undef<T>} |
| Half-thickness of the target [cm]. | |
Friends | |
| template<typename I> | |
| class | Target |
| class | boost::serialization::access |
| Serialization method. | |
A geometry layer in the target region.
| T | Underlying floating-point type |
Definition at line 25 of file KfTarget.h.
|
default |
Default constructor.
| Target::Target | ( | double | x, |
| double | y, | ||
| double | z, | ||
| double | dz, | ||
| double | r ) |
Constructor from parameters.
| x | x-coordinate of the nominal target center [cm] |
| y | y-coordinate of the nominal target center [cm] |
| z | z-coordinate of the nominal target center [cm] |
| dz | half-thickness of the target [cm] |
| r | size of target |
Definition at line 20 of file KfTarget.cxx.
|
inline |
Copy constructor.
| I | Underlying floating-point type of the source |
Definition at line 44 of file KfTarget.h.
|
default |
Destructor.
|
inline |
Gets target half-thickness.
Definition at line 70 of file KfTarget.h.
|
inline |
Gets material map.
Definition at line 76 of file KfTarget.h.
|
inline |
Gets transverse size of target.
Definition at line 73 of file KfTarget.h.
|
inline |
Gets x-coordinate of the nominal target center.
Definition at line 61 of file KfTarget.h.
|
inline |
Gets y-coordinate of the nominal target center.
Definition at line 64 of file KfTarget.h.
|
inline |
Gets z-coordinate of the nominal target center.
Definition at line 67 of file KfTarget.h.
|
default |
Copy assignment operator.
|
inlineprivate |
Definition at line 115 of file KfTarget.h.
|
inline |
Sets target half-thickness.
| dz | half-thickness [cm] |
Definition at line 100 of file KfTarget.h.
| void Target::SetMaterial | ( | const MaterialMap & | material | ) |
| void Target::SetMaterial | ( | MaterialMap && | material | ) |
Sets material map (move semantics)
| material | Material map |
Definition at line 43 of file KfTarget.cxx.
|
inline |
Sets target transverse size.
Transverse size of target [cm]
Definition at line 104 of file KfTarget.h.
|
inline |
Sets x-coordinate of the nominal target center.
| x | x-coordinate [cm] |
Definition at line 88 of file KfTarget.h.
|
inline |
Sets y-coordinate of the nominal target center.
| y | y-coordinate [cm] |
Definition at line 92 of file KfTarget.h.
|
inline |
Sets x-coordinate of the nominal target center.
| z | x-coordinate [cm] |
Definition at line 96 of file KfTarget.h.
| std::string Target::ToString | ( | int | indentLevel = 0, |
| int | vebose = 1 ) const |
String representation of the class.
| indentLevel | Indent level of the string output |
| verbose | Verbosity level |
Definition at line 54 of file KfTarget.cxx.
|
friend |
Serialization method.
Definition at line 113 of file KfTarget.h.
Definition at line 27 of file KfTarget.h.
|
private |
Half-thickness of the target [cm].
Definition at line 129 of file KfTarget.h.
|
private |
Material map in the target region.
Definition at line 125 of file KfTarget.h.
|
private |
Half-thickness of the target [cm].
Definition at line 130 of file KfTarget.h.
|
private |
x-coordinate of the nominal target center [cm]
Definition at line 126 of file KfTarget.h.
|
private |
y-coordinate of the nominal target center [cm]
Definition at line 127 of file KfTarget.h.
|
private |
z-coordinate of the nominal target center [cm]
Definition at line 128 of file KfTarget.h.