ATLAS Offline Software
Loading...
Searching...
No Matches
TBElement.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5//========================================
6// file TBElement.cxx
7//
8//========================================
9
11
12#include <iostream>
13#include <sstream>
14#include <iomanip>
15
16#define MAKE_STRING( msg ) ( ((std::ostringstream&)(std::ostringstream() << msg)).str() )
17
22
32
33TBElement::operator std::string() const
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}
@ Unknown
Definition TruthClasses.h:9
TBElementID::TBElementID id() const
Definition TBElement.h:33
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
TBElementID::TBElementID m_id
Definition TBElement.h:44
Amg::Vector3D m_position
Definition TBElement.h:46
Amg::RotationMatrix3D rotation() const
Definition TBElement.h:36
std::string m_name
Definition TBElement.h:45
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Eigen::Matrix< double, 3, 1 > Vector3D