![]() |
Project
|
#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. | |
LadderSegmentation * | getLadder (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. | |
![]() | |
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. | |
Definition at line 32 of file HalfDiskSegmentation.h.
HalfDiskSegmentation::HalfDiskSegmentation | ( | ) |
Default constructor.
Definition at line 33 of file HalfDiskSegmentation.cxx.
HalfDiskSegmentation::HalfDiskSegmentation | ( | UInt_t | uniqueID | ) |
Constructor
[in] | uniqueID | UInt_t: Unique ID of the Half-Disk to build |
Definition at line 39 of file HalfDiskSegmentation.cxx.
HalfDiskSegmentation::HalfDiskSegmentation | ( | const HalfDiskSegmentation & | pt | ) |
Copy Constructor.
Definition at line 59 of file HalfDiskSegmentation.cxx.
|
override |
Definition at line 73 of file HalfDiskSegmentation.cxx.
|
override |
Clear the TClonesArray holding the ladder segmentations.
Definition at line 78 of file HalfDiskSegmentation.cxx.
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.
|
inline |
Returns pointer to the ladder segmentation object.
iLadder | Int_t : ladder number on the Half-Disk |
Definition at line 59 of file HalfDiskSegmentation.h.
Int_t HalfDiskSegmentation::getNChips | ( | ) |
Returns the number of sensors on the Half-Disk.
Definition at line 167 of file HalfDiskSegmentation.cxx.
|
inline |
Get the number of Ladder on the Half-Disk.
Definition at line 52 of file HalfDiskSegmentation.h.
|
inline |
Get the number of Ladder on the Half-Disk really constructed.
Definition at line 49 of file HalfDiskSegmentation.h.
|
inline |
Returns the Z position of the half-disk.
Definition at line 65 of file HalfDiskSegmentation.h.
void HalfDiskSegmentation::print | ( | Option_t * | opt = "" | ) |
Print out Half-Disk information
[in] | opt | "l" or "ladder" -> The ladder information will be printed out as well |
Definition at line 185 of file HalfDiskSegmentation.cxx.
|
inline |
Set the number of Ladder on the Half-Disk.
Definition at line 55 of file HalfDiskSegmentation.h.