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

#include <HalfSegmentation.h>

Inherits o2::mft::VSegmentation.

Public Member Functions

 HalfSegmentation ()
 Default constructor.
 
 HalfSegmentation (const Char_t *initFile, const Short_t id)
 
 HalfSegmentation (const HalfSegmentation &source)
 Copy constructor.
 
 ~HalfSegmentation () override
 
void Clear (const Option_t *) override
 Clear the TClonesArray holding the HalfDiskSegmentation objects.
 
Int_t getNHalfDisks () const
 
HalfDiskSegmentationgetHalfDisk (Int_t iDisk) const
 
- Public Member Functions inherited from o2::mft::VSegmentation
 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 39 of file HalfSegmentation.h.

Constructor & Destructor Documentation

◆ HalfSegmentation() [1/3]

HalfSegmentation::HalfSegmentation ( )

Default constructor.

Definition at line 33 of file HalfSegmentation.cxx.

◆ HalfSegmentation() [2/3]

HalfSegmentation::HalfSegmentation ( const Char_t *  nameGeomFile,
const Short_t  id 
)

Constructor

Parameters
nameGeomFileChar_t * : name of the XML geometry file. By default it is : /Detectors/Geometry/MFT/data/Geometry.xml
idShort_t : ID Of the Half-MFT to build (0=Bottom; 1=Top)

Definition at line 52 of file HalfSegmentation.cxx.

◆ HalfSegmentation() [3/3]

HalfSegmentation::HalfSegmentation ( const HalfSegmentation source)

Copy constructor.

Definition at line 38 of file HalfSegmentation.cxx.

◆ ~HalfSegmentation()

HalfSegmentation::~HalfSegmentation ( )
override

Definition at line 88 of file HalfSegmentation.cxx.

Member Function Documentation

◆ Clear()

void HalfSegmentation::Clear ( const Option_t *  )
override

Clear the TClonesArray holding the HalfDiskSegmentation objects.

Definition at line 100 of file HalfSegmentation.cxx.

◆ getHalfDisk()

HalfDiskSegmentation * o2::mft::HalfSegmentation::getHalfDisk ( Int_t  iDisk) const
inline

Definition at line 54 of file HalfSegmentation.h.

◆ getNHalfDisks()

Int_t o2::mft::HalfSegmentation::getNHalfDisks ( ) const
inline

Definition at line 52 of file HalfSegmentation.h.


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