#include <DTGeometryParsFromDD.h>
Public Types | |
enum | DTDetTag { DTChamberTag, DTSuperLayerTag, DTLayerTag } |
Public Member Functions | |
void | build (const DDCompactView *cview, const MuonGeometryConstants &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 MuonGeometryConstants &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 MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the chamber More... | |
void | insertLayer (DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the layer More... | |
void | insertSuperLayer (DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &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 59 of file DTGeometryParsFromDD.h.
Enumerator | |
---|---|
DTChamberTag | |
DTSuperLayerTag | |
DTLayerTag |
Definition at line 35 of file DTGeometryParsFromDD.h.
DTGeometryParsFromDD::DTGeometryParsFromDD | ( | ) |
|
virtual |
void DTGeometryParsFromDD::build | ( | const DDCompactView * | cview, |
const MuonGeometryConstants & | muonConstants, | ||
RecoIdealGeometry & | rig | ||
) |
Definition at line 33 of file DTGeometryParsFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DTRecoIdealDBLoader::beginRun().
|
private |
Definition at line 50 of file DTGeometryParsFromDD.cc.
References DDfetch(), DDFilteredView::firstChild(), DDFilteredView::mergedSpecifics(), DDFilteredView::nextSibling(), CalibrationSummaryClient_cfi::params, DDFilteredView::parent(), and heppy_batch::val.
|
private |
get parameter also for boolean solid.
Definition at line 186 of file DTGeometryParsFromDD.cc.
References cms::cuda::bs, ddbox, DDFilteredView::logicalPart(), DDSolid::parameters(), DDSolid::shape(), and DDLogicalPart::solid().
|
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 std::size().
|
private |
create the layer
Definition at line 149 of file DTGeometryParsFromDD.cc.
References DDFilteredView::copyno(), DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), DDFilteredView::nextSibling(), DDFilteredView::parent(), and std::size().
|
private |
create the SL
Definition at line 127 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonDDDNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), and std::size().
|
private |
Definition at line 202 of file DTGeometryParsFromDD.cc.
References geant_units::operators::convertMmToCm(), idealTransformation::rotation, DDFilteredView::rotation(), and DDFilteredView::translation().