Project
Loading...
Searching...
No Matches
o2::itsmft::GeometryTGeo Class Referenceabstract

#include <GeometryTGeo.h>

Inherits o2::detectors::DetMatrixCache.

Inherited by o2::fct::GeometryTGeo, o2::its::GeometryTGeo, and o2::mft::GeometryTGeo.

Public Member Functions

 GeometryTGeo ()=default
 
 GeometryTGeo (const GeometryTGeo &src)=delete
 
GeometryTGeo & operator= (const GeometryTGeo &geom)=delete
 
 GeometryTGeo (const o2::detectors::DetID &detid)
 
 ~GeometryTGeo () override=default
 
Int_t getNumberOfChips () const
 
virtual Int_t getLayer (Int_t index) const
 
virtual void Build (int loadTrans)=0
 build detector layout data, must be overridden by detector
 
bool isOwner () const
 
void setOwner (bool v)
 
- Public Member Functions inherited from o2::detectors::DetMatrixCache
 DetMatrixCache ()=default
 
 DetMatrixCache (const o2::detectors::DetID &id)
 
virtual ~DetMatrixCache ()=default
 this may serve as a base class for detector interface to geometry, make it virtual
 
 DetMatrixCache (const DetMatrixCache &src)=delete
 
DetMatrixCache & operator= (const DetMatrixCache &geom)=delete
 
const o2::detectors::DetID & getDetID () const
 
const char * getName () const
 
const MatrixCache< Mat3D > & getCacheT2L () const
 
const MatrixCache< Mat3D > & getCacheT2G () const
 
const MatrixCache< Mat3D > & getCacheL2G () const
 
const MatrixCache< Rot2D > & getCacheT2GRot () const
 
const Mat3D & getMatrixT2L (int sensID) const
 
const Mat3D & getMatrixT2G (int sensID) const
 
const Mat3D & getMatrixL2G (int sensID) const
 
const Rot2D & getMatrixT2GRot (int sensID) const
 
bool isBuilt () const
 
int getSize () const
 
virtual void fillMatrixCache (int mask)=0
 
void setSize (int s)
 
MatrixCache< Mat3D > & getCacheT2L ()
 
MatrixCache< Mat3D > & getCacheT2G ()
 
MatrixCache< Mat3D > & getCacheL2G ()
 
MatrixCache< Rot2D > & getCacheT2GRot ()
 
 ClassDef (DetMatrixCache, 1)
 

Protected Member Functions

 ClassDefOverride (GeometryTGeo, 1)
 is it owned by the singleton?
 

Protected Attributes

bool mOwner = true
 

Additional Inherited Members

- Public Types inherited from o2::detectors::DetMatrixCache
typedef o2::math_utils::Transform3D Mat3D
 
typedef o2::math_utils::Rotation2Df_t Rot2D
 
- Public Attributes inherited from o2::detectors::DetMatrixCache
o2::detectors::DetID mDetID
 detector ID
 
int mSize = 0
 prebooked number of sensors
 
MatrixCache< Mat3D > mL2G
 Local to Global matrices.
 
MatrixCache< Mat3D > mT2L
 Tracking to Local matrices.
 
MatrixCache< Mat3D > mT2G
 Tracking to Global matrices (general case)
 
MatrixCache< Rot2D > mT2GRot
 Tracking to Global matrices in case of barrel (simple rotation)
 

Detailed Description

Definition at line 28 of file GeometryTGeo.h.

Constructor & Destructor Documentation

◆ GeometryTGeo() [1/3]

o2::itsmft::GeometryTGeo::GeometryTGeo ( )
default

◆ GeometryTGeo() [2/3]

o2::itsmft::GeometryTGeo::GeometryTGeo ( const GeometryTGeo &  src)
delete

◆ GeometryTGeo() [3/3]

o2::itsmft::GeometryTGeo::GeometryTGeo ( const o2::detectors::DetID &  detid)
inline

Definition at line 36 of file GeometryTGeo.h.

◆ ~GeometryTGeo()

o2::itsmft::GeometryTGeo::~GeometryTGeo ( )
overridedefault

Member Function Documentation

◆ Build()

virtual void o2::itsmft::GeometryTGeo::Build ( int  loadTrans)
pure virtual

build detector layout data, must be overridden by detector

Implemented in o2::its::GeometryTGeo, o2::mft::GeometryTGeo, and o2::fct::GeometryTGeo.

◆ ClassDefOverride()

o2::itsmft::GeometryTGeo::ClassDefOverride ( GeometryTGeo  ,
1   
)
protected

is it owned by the singleton?

◆ getLayer()

virtual Int_t o2::itsmft::GeometryTGeo::getLayer ( Int_t  index) const
inlinevirtual

Reimplemented in o2::mft::GeometryTGeo.

Definition at line 40 of file GeometryTGeo.h.

◆ getNumberOfChips()

Int_t o2::itsmft::GeometryTGeo::getNumberOfChips ( ) const
inline

Definition at line 39 of file GeometryTGeo.h.

◆ isOwner()

bool o2::itsmft::GeometryTGeo::isOwner ( ) const
inline

Definition at line 44 of file GeometryTGeo.h.

◆ operator=()

GeometryTGeo & o2::itsmft::GeometryTGeo::operator= ( const GeometryTGeo &  geom)
delete

◆ setOwner()

void o2::itsmft::GeometryTGeo::setOwner ( bool  v)
inline

Definition at line 45 of file GeometryTGeo.h.

Member Data Documentation

◆ mOwner

bool o2::itsmft::GeometryTGeo::mOwner = true
protected

Definition at line 48 of file GeometryTGeo.h.


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