#include <DTGeometryBuilderFromDDD.h>
Public Member Functions | |
void | build (boost::shared_ptr< 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 (boost::shared_ptr< 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 27 of file DTGeometryBuilderFromDDD.h.
|
private |
Definition at line 61 of file DTGeometryBuilderFromDDD.h.
DTGeometryBuilderFromDDD::DTGeometryBuilderFromDDD | ( | ) |
|
virtual |
void DTGeometryBuilderFromDDD::build | ( | boost::shared_ptr< DTGeometry > | theGeometry, |
const DDCompactView * | cview, | ||
const MuonDDDConstants & | muonConstants | ||
) |
Definition at line 38 of file DTGeometryBuilderFromDDD.cc.
References DDFilteredView::addFilter(), DDSpecificsFilter::AND, alcazmumu_cfi::filter, DDSpecificsFilter::matches, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by AlignmentMonitorAsAnalyzer::analyze(), AlignmentProducer::createGeometries_(), DTGeometryESModule::geometryCallback_(), MuonAlignmentInputMethod::idealDTGeometry(), MisalignedMuonESProducer::produce(), 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 117 of file DTGeometryBuilderFromDDD.cc.
References evf::soaputils::extractParameters(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), and create_public_lumi_plots::width.
|
private |
Definition at line 63 of file DTGeometryBuilderFromDDD.cc.
References DDfetch(), DDFilteredView::firstChild(), DDFilteredView::mergedSpecifics(), DDFilteredView::nextSibling(), DDFilteredView::parent(), and DDValue::strings().
|
private |
create the layer
Definition at line 175 of file DTGeometryBuilderFromDDD.cc.
References DTSuperLayer::add(), DDFilteredView::copyno(), evf::soaputils::extractParameters(), DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), DDFilteredView::nextSibling(), and create_public_lumi_plots::width.
|
private |
create the SL
Definition at line 144 of file DTGeometryBuilderFromDDD.cc.
References DTChamber::add(), evf::soaputils::extractParameters(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), and create_public_lumi_plots::width.
|
private |
get parameter also for boolean solid.
Definition at line 215 of file DTGeometryBuilderFromDDD.cc.
References funct::A, ddbox, DDFilteredView::logicalPart(), DDSolid::parameters(), DDSolid::shape(), DDLogicalPart::solid(), and DDBooleanSolid::solidA().
|
private |
Definition at line 232 of file DTGeometryBuilderFromDDD.cc.
References idealTransformation::rotation, DDFilteredView::rotation(), DDFilteredView::translation(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.