#include <DTGeometryBuilderFromDDD.h>
Public Member Functions | |
void | build (DTGeometry &theGeometry, const DDCompactView *cview, const MuonDDDConstants &muonConstants) |
DTGeometryBuilderFromDDD () | |
Constructor. More... | |
virtual | ~DTGeometryBuilderFromDDD () |
Destructor. More... | |
Private Types | |
typedef ReferenceCountingPointer< Plane > | RCPPlane |
Private Member Functions | |
DTChamber * | buildChamber (DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants) const |
create the chamber More... | |
void | buildGeometry (DTGeometry &theGeometry, DDFilteredView &fv, const MuonDDDConstants &muonConstants) const |
DTLayer * | buildLayer (DDFilteredView &fv, DTSuperLayer *sl, const std::string &type, const MuonDDDConstants &muonConstants) const |
create the layer More... | |
DTSuperLayer * | buildSuperLayer (DDFilteredView &fv, DTChamber *chamber, const std::string &type, const MuonDDDConstants &muonConstants) const |
create the SL More... | |
std::vector< double > | extractParameters (DDFilteredView &fv) const |
get parameter also for boolean solid. More... | |
RCPPlane | plane (const DDFilteredView &fv, Bounds *bounds) const |
Build the DTGeometry from the DDD description.
Definition at line 31 of file DTGeometryBuilderFromDDD.h.
|
private |
Definition at line 65 of file DTGeometryBuilderFromDDD.h.
DTGeometryBuilderFromDDD::DTGeometryBuilderFromDDD | ( | ) |
|
virtual |
void DTGeometryBuilderFromDDD::build | ( | DTGeometry & | theGeometry, |
const DDCompactView * | cview, | ||
const MuonDDDConstants & | muonConstants | ||
) |
Definition at line 39 of file DTGeometryBuilderFromDDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by AlignmentMonitorAsAnalyzer::analyze(), AlignmentProducerBase::createGeometries(), MuonAlignmentInputMethod::idealDTGeometry(), MisalignedMuonESProducer::produce(), DTGeometryESModule::setupGeometry(), and MuonAlignmentOutputXML::write().
|
private |
create the chamber
SL the definition of length, width, thickness depends on the local reference frame of the Det
Definition at line 106 of file DTGeometryBuilderFromDDD.cc.
References relativeConstraints::chamber, DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), and dtGeometryBuilder::getRecPlaneBounds().
|
private |
Definition at line 57 of file DTGeometryBuilderFromDDD.cc.
References DTGeometry::add(), relativeConstraints::chamber, DDfetch(), DDFilteredView::firstChild(), DDFilteredView::mergedSpecifics(), DDFilteredView::nextSibling(), DDFilteredView::parent(), DDValue::strings(), and heppy_batch::val.
|
private |
create the layer
Definition at line 161 of file DTGeometryBuilderFromDDD.cc.
References DTSuperLayer::add(), geant_units::operators::convertMmToCm(), DDFilteredView::copyno(), DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), dtGeometryBuilder::getRecPlaneBounds(), DDFilteredView::nextSibling(), and ecaldqm::topology().
|
private |
create the SL
Definition at line 130 of file DTGeometryBuilderFromDDD.cc.
References DTChamber::add(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), and dtGeometryBuilder::getRecPlaneBounds().
|
private |
get parameter also for boolean solid.
Definition at line 201 of file DTGeometryBuilderFromDDD.cc.
References patCaloMETCorrections_cff::A, ddbox, DDFilteredView::logicalPart(), DDSolid::parameters(), DDSolid::shape(), DDLogicalPart::solid(), and DDBooleanSolid::solidA().
|
private |
Definition at line 218 of file DTGeometryBuilderFromDDD.cc.
References geant_units::operators::convertMmToCm(), objects.autophobj::float, LogTrace, idealTransformation::rotation, DDFilteredView::rotation(), and DDFilteredView::translation().