ATLAS Offline Software
|
#include <TrkDetElementBase.h>
Public Member Functions | |
TrkDetElementBase (const GeoVFullPhysVol *fullPhysVol) | |
Constructor from GeoVFullPhysVolume. More... | |
virtual | ~TrkDetElementBase ()=default |
virtual Destructor More... | |
virtual Identifier | identify () const =0 |
Identifier. More... | |
virtual IdentifierHash | identifyHash () const =0 |
Identifier hash. More... | |
virtual const Amg::Transform3D & | transform () const =0 |
Return local to global transform. More... | |
virtual const Amg::Transform3D & | transform (const Identifier &id) const =0 |
Return local to global transform associated with this identifier. More... | |
virtual const Surface & | surface () const =0 |
Return surface associated with this detector element. More... | |
virtual const Surface & | surface (const Identifier &id) const =0 |
Return surface associated with this identifier, which should come from the PrepRawData object (i.e. More... | |
virtual const SurfaceBounds & | bounds () const =0 |
Return the boundaries of the element. More... | |
virtual const SurfaceBounds & | bounds (const Identifier &id) const =0 |
Return the boundaries of the surface associated with this identifier. More... | |
virtual const Amg::Vector3D & | center () const =0 |
Return the center of the element. More... | |
virtual const Amg::Vector3D & | center (const Identifier &id) const =0 |
Return the center of the surface associated with this identifier In the case of silicon it returns the same as center() More... | |
virtual const Amg::Vector3D & | normal () const =0 |
Return the normal of the element. More... | |
virtual const Amg::Vector3D & | normal (const Identifier &id) const =0 |
Return the normal of the surface associated with this identifier In the case of silicon it returns the same as normal() More... | |
virtual DetectorElemType | detectorType () const =0 |
Return the Detector element type. More... | |
std::string | detectorTypeString () const |
Returns a string of the Detector element type. More... | |
This is the base class for all tracking detector elements with read-out relevant information.
It serves as the interface to GeoModel and hence incorporates the division between CLHEP (GeoModel) and Amg (Tracking) math libraries.
It is extended in the Inner Detector and Muon System realm.
Definition at line 51 of file TrkDetElementBase.h.
Trk::TrkDetElementBase::TrkDetElementBase | ( | const GeoVFullPhysVol * | fullPhysVol | ) |
Constructor from GeoVFullPhysVolume.
Definition at line 7 of file TrkDetElementBase.cxx.
|
virtualdefault |
virtual Destructor
|
pure virtual |
Return the boundaries of the element.
Implemented in InDetDD::SolidStateDetectorElementBase, MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, and MuonGM::MuonClusterReadoutElement.
|
pure virtual |
Return the boundaries of the surface associated with this identifier.
For TRT this will be a straw, while for silicon it returns the same as bounds()
Implemented in MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, MuonGM::MuonClusterReadoutElement, and InDetDD::SolidStateDetectorElementBase.
|
pure virtual |
Return the center of the element.
Implemented in InDetDD::SolidStateDetectorElementBase, MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, and MuonGM::MuonClusterReadoutElement.
|
pure virtual |
Return the center of the surface associated with this identifier In the case of silicon it returns the same as center()
Implemented in InDetDD::TRT_BaseElement, MuonGM::MuonClusterReadoutElement, InDetDD::SolidStateDetectorElementBase, and MuonGM::MdtReadoutElement.
|
pure virtual |
Return the Detector element type.
Implemented in InDetDD::SiDetectorElement, MuonGM::MuonReadoutElement, InDetDD::TRT_BaseElement, and InDetDD::SolidStateDetectorElementBase.
std::string Trk::TrkDetElementBase::detectorTypeString | ( | ) | const |
|
pure virtual |
Implemented in InDetDD::SolidStateDetectorElementBase, InDetDD::TRT_BaseElement, and MuonGM::MuonReadoutElement.
|
pure virtual |
Identifier hash.
Implemented in InDetDD::SolidStateDetectorElementBase, InDetDD::TRT_BaseElement, and MuonGM::MuonReadoutElement.
|
pure virtual |
Return the normal of the element.
Implemented in InDetDD::SolidStateDetectorElementBase, MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, and MuonGM::MuonClusterReadoutElement.
|
pure virtual |
Return the normal of the surface associated with this identifier In the case of silicon it returns the same as normal()
Implemented in InDetDD::TRT_BaseElement, MuonGM::MuonClusterReadoutElement, InDetDD::SolidStateDetectorElementBase, and MuonGM::MdtReadoutElement.
Return surface associated with this detector element.
Implemented in InDetDD::SolidStateDetectorElementBase, MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, and MuonGM::MuonClusterReadoutElement.
|
pure virtual |
Return surface associated with this identifier, which should come from the PrepRawData object (i.e.
Surface s = PRD.detElement().surface( PRD.identify() ). This is only really relevant for the TRT (where there are several surfaces per detector element). For other detector elements it will just return surface() ... the Identifier is ignored.
Implemented in MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, MuonGM::MuonClusterReadoutElement, and InDetDD::SolidStateDetectorElementBase.
|
pure virtual |
Return local to global transform.
Implemented in InDetDD::SolidStateDetectorElementBase, MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, and MuonGM::MuonClusterReadoutElement.
|
pure virtual |
Return local to global transform associated with this identifier.
Implemented in MuonGM::MdtReadoutElement, InDetDD::TRT_BaseElement, MuonGM::MuonClusterReadoutElement, and InDetDD::SolidStateDetectorElementBase.