1 namespace std { }
using namespace std;
20 typedef set<string>::iterator s_iter;
25 if (getenv(
"DDNOTRANS")) dotrans=
false;
28 if ((count % 5000)==0)
cout << count <<
' ' << flush;
29 if (sto > 0)
if ((count % sto)==0)
break;
31 if((count % skip) ==0){
38 << ex.
geoHistory().back().posdata()->rot_.name() <<
"\n";
41 double v[9]; rm.GetComponents(v,v+9);
43 s << v[0] <<
' ' << v[1] <<
' ' << v[2] << endl;
44 s << v[3] <<
' ' << v[4] <<
' ' << v[5] << endl;
45 s << v[6] <<
' ' << v[7] <<
' ' << v[7] << endl;
47 rm = ex.
geoHistory().back().posdata()->rotation();
49 double v[9]; rm.GetComponents(v,v+9);
51 s << v[0] <<
' ' << v[1] <<
' ' << v[2] << endl;
52 s << v[3] <<
' ' << v[4] <<
' ' << v[5] << endl;
53 s << v[6] <<
' ' << v[7] <<
' ' << v[7] << endl;
62 pair<s_iter,bool>
ins = result.insert(s.str());
64 cout <<
"DDExpandedViewDump:ERROR: duplicated=" << s.str() << endl;
69 s_iter it(result.begin()), ed(result.end());
void DDExpandedViewDump(ostream &os, DDExpandedView &ex, size_t skip, size_t sto)
bool next()
set current node to the next node in the expanded tree
const DDRotationMatrix & rotation() const
The absolute rotation of the current node.
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
const DDTranslation & translation() const
The absolute translation of the current node.
int copyno() const
Copy number associated with the current node.
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the expanded-view.
Provides an exploded view of the detector (tree-view)
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.