ATLAS Offline Software
Loading...
Searching...
No Matches
TBElement Class Reference

#include <TBElement.h>

Collaboration diagram for TBElement:

Public Member Functions

 TBElement ()
 TBElement (TBElementID::TBElementID id, const std::string &name, const Amg::Vector3D &position, const Amg::RotationMatrix3D &rotation)
virtual ~TBElement ()
TBElementID::TBElementID id () const
const std::string & name () const
Amg::Vector3D position () const
Amg::RotationMatrix3D rotation () const
virtual operator std::string () const

Private Attributes

TBElementID::TBElementID m_id
std::string m_name
Amg::Vector3D m_position
Amg::RotationMatrix3D m_rotation

Friends

class TBDetDescrManager

Detailed Description

Definition at line 19 of file TBElement.h.

Constructor & Destructor Documentation

◆ TBElement() [1/2]

TBElement::TBElement ( )

Definition at line 18 of file TBElement.cxx.

20{
21}
TBElementID::TBElementID m_id
Definition TBElement.h:44

◆ TBElement() [2/2]

TBElement::TBElement ( TBElementID::TBElementID id,
const std::string & name,
const Amg::Vector3D & position,
const Amg::RotationMatrix3D & rotation )

Definition at line 23 of file TBElement.cxx.

26 : m_id(id)
27 , m_name(name)
30{
31}
Amg::Vector3D position() const
Definition TBElement.h:35
Amg::RotationMatrix3D m_rotation
Definition TBElement.h:47
const std::string & name() const
Definition TBElement.h:34
Amg::Vector3D m_position
Definition TBElement.h:46
Amg::RotationMatrix3D rotation() const
Definition TBElement.h:36
std::string m_name
Definition TBElement.h:45

◆ ~TBElement()

virtual TBElement::~TBElement ( )
inlinevirtual

Definition at line 30 of file TBElement.h.

30{}

Member Function Documentation

◆ id()

TBElementID::TBElementID TBElement::id ( ) const
inline

Definition at line 33 of file TBElement.h.

33{ return m_id; }

◆ name()

const std::string & TBElement::name ( ) const
inline

Definition at line 34 of file TBElement.h.

34{ return m_name; }

◆ operator std::string()

TBElement::operator std::string ( ) const
virtual

Definition at line 33 of file TBElement.cxx.

34{
35 std::ostringstream buf;
36
37 buf << "TBElement"
38 << " id = " << m_id
39 << " name = " << m_name
40 << " position = " << m_position
41 << " Rotation = " << m_rotation ;
42
43 return buf.str();
44}

◆ position()

Amg::Vector3D TBElement::position ( ) const
inline

Definition at line 35 of file TBElement.h.

35{ return m_position; }

◆ rotation()

Amg::RotationMatrix3D TBElement::rotation ( ) const
inline

Definition at line 36 of file TBElement.h.

36{ return m_rotation; }

◆ TBDetDescrManager

friend class TBDetDescrManager
friend

Definition at line 21 of file TBElement.h.

Member Data Documentation

◆ m_id

TBElementID::TBElementID TBElement::m_id
private

Definition at line 44 of file TBElement.h.

◆ m_name

std::string TBElement::m_name
private

Definition at line 45 of file TBElement.h.

◆ m_position

Amg::Vector3D TBElement::m_position
private

Definition at line 46 of file TBElement.h.

◆ m_rotation

Amg::RotationMatrix3D TBElement::m_rotation
private

Definition at line 47 of file TBElement.h.


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