#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 24 of file DTGeometryParsFromDD.h.
|
private |
Definition at line 60 of file DTGeometryParsFromDD.h.
Enumerator | |
---|---|
DTChamberTag | |
DTSuperLayerTag | |
DTLayerTag |
Definition at line 37 of file DTGeometryParsFromDD.h.
DTGeometryParsFromDD::DTGeometryParsFromDD | ( | ) |
|
virtual |
void DTGeometryParsFromDD::build | ( | const DDCompactView * | cview, |
const MuonDDDConstants & | muonConstants, | ||
RecoIdealGeometry & | rig | ||
) |
Definition at line 34 of file DTGeometryParsFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DTRecoIdealDBLoader::beginRun().
|
private |
Definition at line 52 of file DTGeometryParsFromDD.cc.
References DDfetch(), DDFilteredView::firstChild(), DDFilteredView::mergedSpecifics(), DDFilteredView::nextSibling(), DDFilteredView::parent(), DDValue::strings(), and heppy_batch::val.
|
private |
get parameter also for boolean solid.
Definition at line 190 of file DTGeometryParsFromDD.cc.
References patCaloMETCorrections_cff::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 101 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), and findQualityFiles::size.
|
private |
create the layer
Definition at line 150 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 127 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), and findQualityFiles::size.
|
private |
Definition at line 207 of file DTGeometryParsFromDD.cc.
References geant_units::operators::convertMmToCm(), idealTransformation::rotation, DDFilteredView::rotation(), and DDFilteredView::translation().