![]() |
Project
|
#include <LadderSegmentation.h>
Inherits o2::mft::VSegmentation.
Public Member Functions | |
LadderSegmentation () | |
Default constructor. | |
LadderSegmentation (UInt_t uniqueID) | |
LadderSegmentation (const LadderSegmentation &ladder) | |
Copy Constructor. | |
~LadderSegmentation () override | |
void | print (Option_t *opt="") |
void | Clear (const Option_t *) override |
ChipSegmentation * | getSensor (Int_t sensor) const |
void | createSensors (TXMLEngine *xml, XMLNodePointer_t node) |
Creates the Sensors Segmentation array on the Ladder. | |
Int_t | getNSensors () const |
Returns number of Sensor on the ladder. | |
void | setNSensors (Int_t val) |
Set number of Sensor on the ladder. | |
ChipSegmentation * | getChip (Int_t chipNumber) const |
![]() | |
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 31 of file LadderSegmentation.h.
LadderSegmentation::LadderSegmentation | ( | ) |
Default constructor.
Definition at line 30 of file LadderSegmentation.cxx.
LadderSegmentation::LadderSegmentation | ( | UInt_t | uniqueID | ) |
Constructor
[in] | uniqueID | UInt_t: Unique ID of the Ladder to build |
Definition at line 36 of file LadderSegmentation.cxx.
LadderSegmentation::LadderSegmentation | ( | const LadderSegmentation & | ladder | ) |
Copy Constructor.
Definition at line 52 of file LadderSegmentation.cxx.
|
inlineoverride |
Definition at line 39 of file LadderSegmentation.h.
|
inlineoverride |
Definition at line 48 of file LadderSegmentation.h.
void LadderSegmentation::createSensors | ( | TXMLEngine * | xml, |
XMLNodePointer_t | node | ||
) |
Creates the Sensors Segmentation array on the Ladder.
Definition at line 69 of file LadderSegmentation.cxx.
|
inline |
Definition at line 64 of file LadderSegmentation.h.
|
inline |
Returns number of Sensor on the ladder.
Definition at line 60 of file LadderSegmentation.h.
ChipSegmentation * LadderSegmentation::getSensor | ( | Int_t | sensorID | ) | const |
Returns pointer to a sensor segmentation
[in] | sensorID | Int_t: ID of the sensor on the ladder |
Definition at line 144 of file LadderSegmentation.cxx.
void LadderSegmentation::print | ( | Option_t * | opt = "" | ) |
Print out Ladder information (position, orientation, # of sensors)
[in] | opt | "s" or "sensor" -> The individual sensor information will be printed out as well |
Definition at line 160 of file LadderSegmentation.cxx.
|
inline |
Set number of Sensor on the ladder.
Definition at line 62 of file LadderSegmentation.h.