30 : m_label(iConfig.getUntrackedParameter<
string>(
"fromDataLabel",
"")),
37 LogVerbatim(
"DTGeometryTest") <<
" Geometry node for DTGeom is " << (pDD.
isValid() ?
"valid" :
"not valid");
40 LogVerbatim(
"DTGeometryTest") <<
" I have " << pDD->
dets().size() <<
" dets";
51 log <<
"Chamber " << det->id() <<
" Position " << surf.position() <<
" normVect " << surf.normalVector()
52 <<
" bounds W/H/L: " << surf.bounds().width() <<
"/" << surf.bounds().thickness() <<
"/" 53 << surf.bounds().length() <<
"\n";
63 log <<
"SuperLayer " << det->id() <<
" chamber " << det->chamber()->id() <<
" Position " << surf.position()
64 <<
" normVect " << surf.normalVector() <<
" bounds W/H/L: " << surf.bounds().width() <<
"/" 65 << surf.bounds().thickness() <<
"/" << surf.bounds().length() <<
"\n";
74 for (
auto det : pDD->
layers()) {
75 const DTTopology& topo = det->specificTopology();
77 log <<
"Layer " << det->id() <<
" SL " << det->superLayer()->id() <<
" chamber " << det->chamber()->id()
80 <<
" Position " << surf.position() <<
" normVect " << surf.normalVector()
81 <<
" bounds W/H/L: " << surf.bounds().width() <<
"/" << surf.bounds().thickness() <<
"/" 82 << surf.bounds().length() <<
"\n";
const std::vector< const DTChamber * > & chambers() const
Return a vector of all Chamber.
float cellWidth() const
Returns the cell width.
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
int firstChannel() const
Returns the wire number of the first wire.
int lastChannel() const
Returns the wire number of the last wire.
#define DEFINE_FWK_MODULE(type)
void analyze(Event const &iEvent, EventSetup const &) override
LogVerbatim & log(F &&iF)
float cellHeight() const
Returns the cell height.
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
Namespace of DDCMS conversion namespace.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
int channels() const
Returns the number of wires in the layer.
const std::vector< const DTLayer * > & layers() const
Return a vector of all SuperLayer.
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > m_token
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const std::vector< const DTSuperLayer * > & superLayers() const
Return a vector of all SuperLayer.
DTGeometryTest(const ParameterSet &)