16#include <fairlogger/Logger.h>
28Segmentation::Segmentation() : mHalves(nullptr) {}
31Segmentation::Segmentation(
const Char_t* nameGeomFile) : mHalves(nullptr)
36 mHalves =
new TClonesArray(
"o2::mft::HalfSegmentation",
NumberOfHalves);
37 mHalves->SetOwner(kTRUE);
48 LOG(debug1) <<
"MFT segmentation set!";
52Segmentation::~Segmentation()
76void Segmentation::Clear(
const Option_t* )
95Int_t Segmentation::getDetElemLocalID(Int_t half, Int_t disk, Int_t ladder, Int_t sensor)
const
109 if (iSens == sensor) {
Class for the description of the structure of a half-disk.
Segmentation class for each half of the ALICE Muon Forward Tracker.
Class for the virtual segmentation of the ALICE Muon Forward Tracker.
ClassImp(o2::mft::Segmentation)
Description of the virtual segmentation of a ladder.
Int_t getNLadders() const
Get the number of Ladder on the Half-Disk.
LadderSegmentation * getLadder(Int_t iLadder)
Returns pointer to the ladder segmentation object.
Int_t getNChips()
Returns the number of sensors on the Half-Disk.
HalfDiskSegmentation * getHalfDisk(Int_t iDisk) const
Int_t getNSensors() const
Returns number of Sensor on the ladder.
HalfSegmentation * getHalf(Int_t iHalf) const
Returns pointer to the segmentation of the half-MFT.
static constexpr Int_t NumberOfHalves
Number of detector halves.
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"