Go to the source code of this file.
- Date
- 2008/03/26 21:59:30
- Revision
- 1.1
- Author
- Andre Sznajder - UERJ(Brazil)
Definition in file AlignableDTSuperLayer.cc.
◆ operator<<()
Printout the DetUnits in the CSC chamber.
Definition at line 17 of file AlignableDTSuperLayer.cc.
18 const auto& theDets =
r.components();
20 os <<
" This DTSuperLayer contains " << theDets.size() <<
" units" << std::endl;
21 os <<
" position = " <<
r.globalPosition() << std::endl;
22 os <<
" (phi, r, z)= (" <<
r.globalPosition().phi() <<
"," <<
r.globalPosition().perp() <<
","
23 <<
r.globalPosition().z();
24 os <<
"), orientation:" << std::endl <<
r.globalRotation() << std::endl;
26 os <<
" total displacement and rotation: " <<
r.displacement() << std::endl;
27 os <<
r.rotation() << std::endl;
29 for (
const auto& idet : theDets) {
30 const auto&
comp = idet->components();
32 for (
unsigned int i = 0;
i <
comp.size(); ++
i) {
33 os <<
" Det position, phi, r: " <<
comp[
i]->globalPosition() <<
" , " <<
comp[
i]->globalPosition().phi()
34 <<
" , " <<
comp[
i]->globalPosition().perp() << std::endl;
35 os <<
" local position, phi, r: " <<
r.surface().toLocal(
comp[
i]->globalPosition()) <<
" , "
36 <<
r.surface().toLocal(
comp[
i]->globalPosition()).phi() <<
" , "
37 <<
r.surface().toLocal(
comp[
i]->globalPosition()).perp() << std::endl;
References AlCaHLTBitMon_QueryRunRegistry::comp, mps_fire::i, and alignCSCRings::r.