Project
Loading...
Searching...
No Matches
o2::mft::VSegmentation Class Reference

#include <VSegmentation.h>

Inherits TNamed.

Inherited by o2::mft::ChipSegmentation, o2::mft::HalfDiskSegmentation, o2::mft::HalfSegmentation, and o2::mft::LadderSegmentation.

Public Member Functions

 VSegmentation ()
 
 VSegmentation (const VSegmentation &input)
 
 ~VSegmentation () override=default
 
void setPosition (const Double_t *pos)
 Set Position of the Element. Unit is [cm].
 
void setRotationAngles (const Double_t *ang)
 Set The rotation angles. Unit is [deg].
 
void rotateX (const Double_t ang)
 Rotate around X axis, ang in deg.
 
void rotateY (const Double_t ang)
 Rotate around Y axis, ang in deg.
 
void rotateZ (const Double_t ang)
 Rotate around Z axis, ang in deg.
 
TGeoCombiTrans * getTransformation () const
 Returns the Transformation Combining a Rotation followed by a Translation.
 

Detailed Description

Definition at line 31 of file VSegmentation.h.

Constructor & Destructor Documentation

◆ VSegmentation() [1/2]

VSegmentation::VSegmentation ( )

Default constructor

Definition at line 23 of file VSegmentation.cxx.

◆ VSegmentation() [2/2]

VSegmentation::VSegmentation ( const VSegmentation input)

Copy constructor

Definition at line 29 of file VSegmentation.cxx.

◆ ~VSegmentation()

o2::mft::VSegmentation::~VSegmentation ( )
overridedefault

Member Function Documentation

◆ getTransformation()

TGeoCombiTrans * o2::mft::VSegmentation::getTransformation ( ) const
inline

Returns the Transformation Combining a Rotation followed by a Translation.

The rotation is a composition of : first a rotation about Z axis with angle phi, then a rotation with theta about the rotated X axis, and finally a rotation with psi about the new Z axis. For more details see the ROOT TGeoCombiTrans documentation.

Definition at line 60 of file VSegmentation.h.

◆ rotateX()

void o2::mft::VSegmentation::rotateX ( const Double_t  ang)
inline

Rotate around X axis, ang in deg.

Definition at line 47 of file VSegmentation.h.

◆ rotateY()

void o2::mft::VSegmentation::rotateY ( const Double_t  ang)
inline

Rotate around Y axis, ang in deg.

Definition at line 49 of file VSegmentation.h.

◆ rotateZ()

void o2::mft::VSegmentation::rotateZ ( const Double_t  ang)
inline

Rotate around Z axis, ang in deg.

Definition at line 51 of file VSegmentation.h.

◆ setPosition()

void o2::mft::VSegmentation::setPosition ( const Double_t *  pos)
inline

Set Position of the Element. Unit is [cm].

Definition at line 41 of file VSegmentation.h.

◆ setRotationAngles()

void VSegmentation::setRotationAngles ( const Double_t *  ang)

Set The rotation angles. Unit is [deg].

Set Rotation Angles

Definition at line 38 of file VSegmentation.cxx.


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