#include <DTGeometryParsFromDD.h>
Public Types | |
enum | DTDetTag { DTChamberTag, DTSuperLayerTag, DTLayerTag } |
Public Member Functions | |
void | build (const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) |
void | build (const cms::DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo) |
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 |
void | buildGeometry (cms::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 | insertChamber (cms::DDFilteredView &fv, 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 | insertLayer (cms::DDFilteredView &fv, 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... | |
void | insertSuperLayer (cms::DDFilteredView &fv, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rig) const |
create the SL More... | |
PosRotPair | plane (const DDFilteredView &fv) const |
PosRotPair | plane (const cms::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 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().
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.
|
private |
Definition at line 72 of file DTGeometryParsFromDD.cc.
References DDfetch(), DDFilteredView::firstChild(), DDFilteredView::mergedSpecifics(), DDFilteredView::nextSibling(), submitPVValidationJobs::params, DDFilteredView::parent(), and heppy_batch::val.
|
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 |
get parameter also for boolean solid.
Definition at line 213 of file DTGeometryParsFromDD.cc.
References A, cms::cuda::bs, ddbox, DDFilteredView::logicalPart(), DDSolid::parameters(), DDSolid::shape(), and DDLogicalPart::solid().
|
private |
create the chamber
|
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 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 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 SL
Definition at line 151 of file DTGeometryParsFromDD.cc.
References DDFilteredView::geoHistory(), MuonGeometryNumbering::geoHistoryToBaseNumber(), DTNumberingScheme::getDetId(), RecoIdealGeometry::insert(), 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 |
Definition at line 229 of file DTGeometryParsFromDD.cc.
References angle_units::operators::convertMmToCm(), idealTransformation::rotation, DDFilteredView::rotation(), DDFilteredView::translation(), and x.
|
private |
Definition at line 294 of file DTGeometryParsFromDD.cc.
References idealTransformation::rotation, cms::DDFilteredView::rotation(), cms::DDFilteredView::trans(), and x.