39 LogVerbatim(
"DTGeometryTest") <<
" Geometry node for DTGeom is " << (pDD.
isValid() ?
"valid" :
"not valid");
42 LogVerbatim(
"DTGeometryTest") <<
" I have " << pDD->
dets().size() <<
" dets";
53 log <<
"Chamber " << det->id() <<
" Position " << surf.position() <<
" normVect " 54 <<
roundVecIfNear0(surf.normalVector()) <<
" bounds W/H/L: " << surf.bounds().width() <<
"/" 55 << surf.bounds().thickness() <<
"/" << surf.bounds().length() <<
"\n";
65 log <<
"SuperLayer " << det->id() <<
" chamber " << det->chamber()->id() <<
" Position " << surf.position()
66 <<
" normVect " <<
roundVecIfNear0(surf.normalVector()) <<
" bounds W/H/L: " << surf.bounds().width() <<
"/" 67 << surf.bounds().thickness() <<
"/" << surf.bounds().length() <<
"\n";
76 for (
auto det : pDD->
layers()) {
77 const DTTopology& topo = det->specificTopology();
79 log <<
"Layer " << det->id() <<
" SL " << det->superLayer()->id() <<
" chamber " << det->chamber()->id()
82 <<
" Position " << surf.position() <<
" normVect " <<
roundVecIfNear0(surf.normalVector())
83 <<
" bounds W/H/L: " << surf.bounds().width() <<
"/" << surf.bounds().thickness() <<
"/" 84 << surf.bounds().length() <<
"\n";
Log< level::Info, true > LogVerbatim
constexpr valType roundVecIfNear0(valType value, double tolerance=1.e-7)
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
int firstChannel() const
Returns the wire number of the first wire.
float cellWidth() const
Returns the cell width.
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
int lastChannel() const
Returns the wire number of the last wire.
const std::vector< const DTLayer * > & layers() const
Return a vector of all SuperLayer.
const std::vector< const DTChamber * > & chambers() const
Return a vector of all Chamber.
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > m_token
int channels() const
Returns the number of wires in the layer.
const std::vector< const DTSuperLayer * > & superLayers() const
Return a vector of all SuperLayer.
float cellHeight() const
Returns the cell height.