#include <DTGeometryParsFromDD.h>
Public Types | |
enum | DTDetTag { DTChamberTag, DTSuperLayerTag, DTLayerTag } |
Public Member Functions | |
void | build (const cms::DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo) |
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 (cms::DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
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 (cms::DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the chamber More... | |
void | insertChamber (DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the chamber More... | |
void | insertLayer (cms::DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the layer More... | |
void | insertLayer (DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the layer More... | |
void | insertSuperLayer (cms::DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the SL More... | |
void | insertSuperLayer (DDFilteredView &fv, const std::string &type, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the SL More... | |
PosRotPair | plane (const cms::DDFilteredView &fv) const |
PosRotPair | plane (const DDFilteredView &fv) const |
Build the RPCGeometry from the DDD and DD4Hep description
DD4hep part added to the original old file (DD version) made by Stefano Lacaprara (INFN LNL)
Definition at line 29 of file DTGeometryParsFromDD.h.
|
private |
Definition at line 68 of file DTGeometryParsFromDD.h.
Enumerator | |
---|---|
DTChamberTag | |
DTSuperLayerTag | |
DTLayerTag |
Definition at line 43 of file DTGeometryParsFromDD.h.
DTGeometryParsFromDD::DTGeometryParsFromDD | ( | ) |
|
virtual |
void DTGeometryParsFromDD::build | ( | const cms::DDCompactView * | cview, |
const MuonGeometryConstants & | muonConstants, | ||
RecoIdealGeometry & | rgeo | ||
) |
Definition at line 61 of file DTGeometryParsFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and AlCaHLTBitMon_QueryRunRegistry::string.
void DTGeometryParsFromDD::build | ( | const DDCompactView * | cview, |
const MuonGeometryConstants & | muonConstants, | ||
RecoIdealGeometry & | rig | ||
) |
Definition at line 42 of file DTGeometryParsFromDD.cc.
References ALCARECOTkAlBeamHalo_cff::filter, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DTRecoIdealDBLoader::beginRun().
|
private |
Definition at line 264 of file DTGeometryParsFromDD.cc.
References cms::DDFilteredView::down(), cms::DDFilteredView::firstChild(), cms::DDFilteredView::nextSibling(), cms::DDFilteredView::parent(), and cms::DDFilteredView::sibling().
|
private |
Definition at line 72 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 213 of file DTGeometryParsFromDD.cc.
References cms::cuda::bs, ddbox, DDFilteredView::logicalPart(), DDSolid::parameters(), DDSolid::shape(), and DDLogicalPart::solid().
|
private |
create the chamber
Definition at line 327 of file DTGeometryParsFromDD.cc.
References DTNumberingScheme::baseNumberToUnitNumber(), MuonGeometryNumbering::geoHistoryToBaseNumber(), cms::DDFilteredView::history(), RecoIdealGeometry::insert(), and cms::DDFilteredView::parameters().
|
private |
create the chamber
|
private |
create the layer
Definition at line 369 of file DTGeometryParsFromDD.cc.
References DTNumberingScheme::baseNumberToUnitNumber(), cms::DDFilteredView::checkChild(), cms::DDFilteredView::down(), MuonGeometryNumbering::geoHistoryToBaseNumber(), cms::DDFilteredView::history(), RecoIdealGeometry::insert(), cms::DDFilteredView::parameters(), cms::DDFilteredView::sibling(), cms::DDFilteredView::up(), and cms::DDFilteredView::volume().
|
private |
create the layer
Definition at line 173 of file DTGeometryParsFromDD.cc.
References DDFilteredView::copyno(), DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonGeometryNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), DDFilteredView::nextSibling(), DDFilteredView::parent(), and findQualityFiles::size.
|
private |
create the SL
Definition at line 348 of file DTGeometryParsFromDD.cc.
References DTNumberingScheme::baseNumberToUnitNumber(), MuonGeometryNumbering::geoHistoryToBaseNumber(), cms::DDFilteredView::history(), RecoIdealGeometry::insert(), and cms::DDFilteredView::parameters().
|
private |
create the SL
Definition at line 151 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonGeometryNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), and findQualityFiles::size.
|
private |
Definition at line 294 of file DTGeometryParsFromDD.cc.
References idealTransformation::rotation, cms::DDFilteredView::rotation(), and cms::DDFilteredView::trans().
|
private |
Definition at line 229 of file DTGeometryParsFromDD.cc.
References geant_units::operators::convertMmToCm(), idealTransformation::rotation, DDFilteredView::rotation(), and DDFilteredView::translation().