#include <DTGeometryParsFromDD.h>
Public Types | |
enum | DTDetTag { DTChamberTag, DTSuperLayerTag, DTLayerTag } |
Public Member Functions | |
void | build (const DDCompactView *cview, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) |
DTGeometryParsFromDD () | |
Constructor. More... | |
virtual | ~DTGeometryParsFromDD () |
Destructor. More... | |
Private Types | |
typedef std::pair< std::vector < double >, std::vector < double > > | PosRotPair |
Private Member Functions | |
void | buildGeometry (DDFilteredView &fv, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const |
std::vector< double > | extractParameters (DDFilteredView &fv) const |
get parameter also for boolean solid. More... | |
void | insertChamber (DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const |
create the chamber More... | |
void | insertLayer (DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const |
create the layer More... | |
void | insertSuperLayer (DDFilteredView &fv, const std::string &type, const MuonDDDConstants &muonConstants, RecoIdealGeometry &rig) const |
create the SL More... | |
PosRotPair | plane (const DDFilteredView &fv) const |
Build the DTGeometry from the DDD description.
Definition at line 25 of file DTGeometryParsFromDD.h.
|
private |
Definition at line 61 of file DTGeometryParsFromDD.h.
Enumerator | |
---|---|
DTChamberTag | |
DTSuperLayerTag | |
DTLayerTag |
Definition at line 38 of file DTGeometryParsFromDD.h.
DTGeometryParsFromDD::DTGeometryParsFromDD | ( | ) |
|
virtual |
void DTGeometryParsFromDD::build | ( | const DDCompactView * | cview, |
const MuonDDDConstants & | muonConstants, | ||
RecoIdealGeometry & | rig | ||
) |
Definition at line 37 of file DTGeometryParsFromDD.cc.
References DDFilteredView::addFilter(), DDSpecificsFilter::AND, alcazmumu_cfi::filter, DDSpecificsFilter::matches, DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by DTRecoIdealDBLoader::beginRun().
|
private |
Definition at line 63 of file DTGeometryParsFromDD.cc.
References DDfetch(), DDFilteredView::firstChild(), DDFilteredView::mergedSpecifics(), DDFilteredView::nextSibling(), DDFilteredView::parent(), and DDValue::strings().
|
private |
get parameter also for boolean solid.
Definition at line 201 of file DTGeometryParsFromDD.cc.
References funct::A, ddbox, DDFilteredView::logicalPart(), DDSolid::parameters(), DDSolid::shape(), DDLogicalPart::solid(), and DDBooleanSolid::solidA().
|
private |
create the chamber
SL the definition of length, width, thickness depends on the local reference frame of the Det
Definition at line 112 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), and findQualityFiles::size.
|
private |
create the layer
Definition at line 161 of file DTGeometryParsFromDD.cc.
References DDFilteredView::copyno(), DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), DDFilteredView::nextSibling(), DDFilteredView::parent(), and findQualityFiles::size.
|
private |
create the SL
Definition at line 138 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), and findQualityFiles::size.
|
private |
Definition at line 218 of file DTGeometryParsFromDD.cc.
References idealTransformation::rotation, DDFilteredView::rotation(), DDFilteredView::translation(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.