32 : m_label(iConfig.getUntrackedParameter<
string>(
"fromDataLabel",
"")),
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)
#define DEFINE_FWK_MODULE(type)
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
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.
void analyze(Event const &iEvent, EventSetup const &) override
Namespace of DDCMS conversion namespace.
int lastChannel() const
Returns the wire number of the last wire.
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
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.
DTGeometryTest(const ParameterSet &)