16#include "TGeoMatrix.h"
18#include <fairlogger/Logger.h>
45 SetUniqueID(mSegmentation->GetUniqueID());
47 SetName(Form(
"MFT_H_%d", mftGeom->
getHalfID(GetUniqueID())));
49 LOG(
debug) << Form(
"Creating : %s ", GetName());
64void HalfDetector::createHalfDisks()
69 for (Int_t iDisk = 0; iDisk < mSegmentation->
getNHalfDisks(); iDisk++) {
71 auto* halfDisk =
new HalfDisk(halfDiskSeg);
o2::mch::mapping::CathodeSegmentation seg
ClassImp(o2::mft::HalfDetector)
Class describing geometry of one half of the ALICE Muon Forward Tracker.
Class for the description of the structure of a half-disk.
Class building geometry of one half of an MFT disk.
Segmentation class for each half of the ALICE Muon Forward Tracker.
Class handling both virtual segmentation and real volumes.
static const MFTBaseParam & Instance()
Int_t getDiskID(UInt_t uniqueID) const
Returns Half-Disk ID based on Unique ID provided.
Int_t getHalfID(UInt_t uniqueID) const
Returns Half-MFT ID based on Unique ID provided.
static Geometry * instance()
Singleton access.
HalfDetector()
Default constructor.
TGeoVolumeAssembly * mHalfVolume
HalfDiskSegmentation * getHalfDisk(Int_t iDisk) const
Int_t getNHalfDisks() const
TGeoCombiTrans * getTransformation() const
Returns the Transformation Combining a Rotation followed by a Translation.
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"