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

#include <HalfDiskSegmentation.h>

Inherits o2::mft::VSegmentation.

Public Member Functions

 HalfDiskSegmentation ()
 Default constructor.
 
 HalfDiskSegmentation (UInt_t uniqueID)
 
 HalfDiskSegmentation (const HalfDiskSegmentation &pt)
 Copy Constructor.
 
 ~HalfDiskSegmentation () override
 
void Clear (const Option_t *) override
 Clear the TClonesArray holding the ladder segmentations.
 
void print (Option_t *opt="")
 
void createLadders (TXMLEngine *xml, XMLNodePointer_t node)
 Creates the Ladders on this half-Disk based on the information contained in the XML file.
 
Int_t getNLaddersBuild () const
 Get the number of Ladder on the Half-Disk really constructed.
 
Int_t getNLadders () const
 Get the number of Ladder on the Half-Disk.
 
void setNLadders (Int_t val)
 Set the number of Ladder on the Half-Disk.
 
LadderSegmentationgetLadder (Int_t iLadder)
 Returns pointer to the ladder segmentation object.
 
Double_t getZ () const
 Returns the Z position of the half-disk.
 
Int_t getNChips ()
 Returns the number of sensors on the Half-Disk.
 
- 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 32 of file HalfDiskSegmentation.h.

Constructor & Destructor Documentation

◆ HalfDiskSegmentation() [1/3]

HalfDiskSegmentation::HalfDiskSegmentation ( )

Default constructor.

Definition at line 33 of file HalfDiskSegmentation.cxx.

◆ HalfDiskSegmentation() [2/3]

HalfDiskSegmentation::HalfDiskSegmentation ( UInt_t  uniqueID)

Constructor

Parameters
[in]uniqueIDUInt_t: Unique ID of the Half-Disk to build

Definition at line 39 of file HalfDiskSegmentation.cxx.

◆ HalfDiskSegmentation() [3/3]

HalfDiskSegmentation::HalfDiskSegmentation ( const HalfDiskSegmentation pt)

Copy Constructor.

Definition at line 59 of file HalfDiskSegmentation.cxx.

◆ ~HalfDiskSegmentation()

HalfDiskSegmentation::~HalfDiskSegmentation ( )
override

Definition at line 73 of file HalfDiskSegmentation.cxx.

Member Function Documentation

◆ Clear()

void HalfDiskSegmentation::Clear ( const Option_t *  )
override

Clear the TClonesArray holding the ladder segmentations.

Definition at line 78 of file HalfDiskSegmentation.cxx.

◆ createLadders()

void HalfDiskSegmentation::createLadders ( TXMLEngine *  xml,
XMLNodePointer_t  node 
)

Creates the Ladders on this half-Disk based on the information contained in the XML file.

Definition at line 91 of file HalfDiskSegmentation.cxx.

◆ getLadder()

LadderSegmentation * o2::mft::HalfDiskSegmentation::getLadder ( Int_t  iLadder)
inline

Returns pointer to the ladder segmentation object.

Parameters
iLadderInt_t : ladder number on the Half-Disk

Definition at line 59 of file HalfDiskSegmentation.h.

◆ getNChips()

Int_t HalfDiskSegmentation::getNChips ( )

Returns the number of sensors on the Half-Disk.

Definition at line 167 of file HalfDiskSegmentation.cxx.

◆ getNLadders()

Int_t o2::mft::HalfDiskSegmentation::getNLadders ( ) const
inline

Get the number of Ladder on the Half-Disk.

Definition at line 52 of file HalfDiskSegmentation.h.

◆ getNLaddersBuild()

Int_t o2::mft::HalfDiskSegmentation::getNLaddersBuild ( ) const
inline

Get the number of Ladder on the Half-Disk really constructed.

Definition at line 49 of file HalfDiskSegmentation.h.

◆ getZ()

Double_t o2::mft::HalfDiskSegmentation::getZ ( ) const
inline

Returns the Z position of the half-disk.

Definition at line 65 of file HalfDiskSegmentation.h.

◆ print()

void HalfDiskSegmentation::print ( Option_t *  opt = "")

Print out Half-Disk information

Parameters
[in]opt"l" or "ladder" -> The ladder information will be printed out as well

Definition at line 185 of file HalfDiskSegmentation.cxx.

◆ setNLadders()

void o2::mft::HalfDiskSegmentation::setNLadders ( Int_t  val)
inline

Set the number of Ladder on the Half-Disk.

Definition at line 55 of file HalfDiskSegmentation.h.


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