|
|
Go to the documentation of this file.
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";
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > m_token
constexpr valType roundVecIfNear0(valType value, double tolerance=1.e-7)
int channels() const
Returns the number of wires in the layer.
float cellWidth() const
Returns the cell width.
#define DEFINE_FWK_MODULE(type)
int firstChannel() const
Returns the wire number of the first 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 DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
void analyze(Event const &iEvent, EventSetup const &) override
LogVerbatim & log(F &&iF)
const std::vector< const DTSuperLayer * > & superLayers() const
Return a vector of all SuperLayer.
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
int lastChannel() const
Returns the wire number of the last wire.
float cellHeight() const
Returns the cell height.
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
DTGeometryTest(const ParameterSet &)
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
Namespace of DDCMS conversion namespace.