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