Go to the source code of this file.
void DDExpandedViewDump |
( |
ostream & |
, |
|
|
DDExpandedView & |
, |
|
|
size_t |
skip = 0 , |
|
|
size_t |
mx = 0 |
|
) |
| |
Definition at line 9 of file DDExpandedViewDump.cc.
References DDExpandedView::copyno(), prof2calltree::count, gather_cfg::cout, DDExpandedView::geoHistory(), cuy::ins, DDExpandedView::logicalPart(), DDBase< N, C >::name(), DDExpandedView::next(), query::result, submit::rm, DDExpandedView::rotation(), alignCSCRings::s, createPayload::skip, DDExpandedView::translation(), and findQualityFiles::v.
11 typedef set<string>::iterator s_iter;
16 if (getenv(
"DDNOTRANS")) dotrans=
false;
20 if (sto > 0)
if ((
count % sto)==0)
break;
24 s.setf(ios_base::fixed,ios_base::floatfield);
26 s << ex.logicalPart().name() <<
' '
28 << ex.geoHistory() <<
" r="
29 << ex.geoHistory().back().posdata()->rot_.name() <<
"\n";
32 double v[9]; rm.GetComponents(v,v+9);
34 s << v[0] <<
' ' << v[1] <<
' ' << v[2] << endl;
35 s << v[3] <<
' ' << v[4] <<
' ' << v[5] << endl;
36 s << v[6] <<
' ' << v[7] <<
' ' << v[7] << endl;
38 rm = ex.geoHistory().back().posdata()->rotation();
40 double v[9]; rm.GetComponents(v,v+9);
42 s << v[0] <<
' ' << v[1] <<
' ' << v[2] << endl;
43 s << v[3] <<
' ' << v[4] <<
' ' << v[5] << endl;
44 s << v[6] <<
' ' << v[7] <<
' ' << v[7] << endl;
48 << ex.translation().x() <<
','
49 << ex.translation().y() <<
','
50 << ex.translation().z() <<
") "
53 pair<s_iter,bool>
ins = result.insert(s.str());
55 cout <<
"DDExpandedViewDump:ERROR: duplicated=" << s.str() << endl;
60 s_iter it(result.begin()), ed(result.end());
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.