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

#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
 
ChipSegmentationgetSensor (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.
 
ChipSegmentationgetChip (Int_t chipNumber) 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 31 of file LadderSegmentation.h.

Constructor & Destructor Documentation

◆ LadderSegmentation() [1/3]

LadderSegmentation::LadderSegmentation ( )

Default constructor.

Definition at line 30 of file LadderSegmentation.cxx.

◆ LadderSegmentation() [2/3]

LadderSegmentation::LadderSegmentation ( UInt_t  uniqueID)

Constructor

Parameters
[in]uniqueIDUInt_t: Unique ID of the Ladder to build

Definition at line 36 of file LadderSegmentation.cxx.

◆ LadderSegmentation() [3/3]

LadderSegmentation::LadderSegmentation ( const LadderSegmentation ladder)

Copy Constructor.

Definition at line 52 of file LadderSegmentation.cxx.

◆ ~LadderSegmentation()

o2::mft::LadderSegmentation::~LadderSegmentation ( )
inlineoverride

Definition at line 39 of file LadderSegmentation.h.

Member Function Documentation

◆ Clear()

void o2::mft::LadderSegmentation::Clear ( const Option_t *  )
inlineoverride

Definition at line 48 of file LadderSegmentation.h.

◆ createSensors()

void LadderSegmentation::createSensors ( TXMLEngine *  xml,
XMLNodePointer_t  node 
)

Creates the Sensors Segmentation array on the Ladder.

Definition at line 69 of file LadderSegmentation.cxx.

◆ getChip()

ChipSegmentation * o2::mft::LadderSegmentation::getChip ( Int_t  chipNumber) const
inline

Definition at line 64 of file LadderSegmentation.h.

◆ getNSensors()

Int_t o2::mft::LadderSegmentation::getNSensors ( ) const
inline

Returns number of Sensor on the ladder.

Definition at line 60 of file LadderSegmentation.h.

◆ getSensor()

ChipSegmentation * LadderSegmentation::getSensor ( Int_t  sensorID) const

Returns pointer to a sensor segmentation

Parameters
[in]sensorIDInt_t: ID of the sensor on the ladder

Definition at line 144 of file LadderSegmentation.cxx.

◆ print()

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

Print out Ladder information (position, orientation, # of sensors)

Parameters
[in]opt"s" or "sensor" -> The individual sensor information will be printed out as well

Definition at line 160 of file LadderSegmentation.cxx.

◆ setNSensors()

void o2::mft::LadderSegmentation::setNSensors ( Int_t  val)
inline

Set number of Sensor on the ladder.

Definition at line 62 of file LadderSegmentation.h.


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