#include <GEMGeometryBuilder.h>
Public Member Functions | |
void | build (GEMGeometry &theGeometry, const DDCompactView *cview, const MuonGeometryConstants &muonConstants) |
void | build (GEMGeometry &theGeometry, const cms::DDCompactView *cview, const MuonGeometryConstants &muonConstants) |
GEMGeometryBuilder () | |
~GEMGeometryBuilder () | |
Private Types | |
typedef ReferenceCountingPointer < BoundPlane > | RCPBoundPlane |
Private Member Functions | |
RCPBoundPlane | boundPlane (const DDFilteredView &fv, Bounds *bounds, bool isOddChamber) const |
RCPBoundPlane | boundPlane (const cms::DDFilteredView &fv, Bounds *bounds, bool isOddChamber) const |
GEMChamber * | buildChamber (DDFilteredView &fv, GEMDetId detId) const |
GEMChamber * | buildChamber (cms::DDFilteredView &fv, GEMDetId detId) const |
GEMEtaPartition * | buildEtaPartition (DDFilteredView &fv, GEMDetId detId) const |
GEMEtaPartition * | buildEtaPartition (cms::DDFilteredView &fv, GEMDetId detId) const |
void | buildRegions (GEMGeometry &, const std::vector< GEMSuperChamber * > &, bool demonstratorGeometry) |
GEMSuperChamber * | buildSuperChamber (DDFilteredView &fv, GEMDetId detId) const |
GEMSuperChamber * | buildSuperChamber (cms::DDFilteredView &fv, GEMDetId detId) const |
Private Attributes | |
std::map< GEMDetId, std::vector< GEMDetId > > | chids |
Static Private Attributes | |
static constexpr double | k_ScaleFromDD4hep = (1.0 / dd4hep::cm) |
Definition at line 33 of file GEMGeometryBuilder.h.
|
private |
Definition at line 48 of file GEMGeometryBuilder.h.
GEMGeometryBuilder::GEMGeometryBuilder | ( | ) |
Definition at line 42 of file GEMGeometryBuilder.cc.
GEMGeometryBuilder::~GEMGeometryBuilder | ( | ) |
Definition at line 44 of file GEMGeometryBuilder.cc.
|
private |
Definition at line 307 of file GEMGeometryBuilder.cc.
References geant_units::operators::convertMmToCm(), TkRotation< T >::rotateAxes(), idealTransformation::rotation, DDFilteredView::rotation(), and DDFilteredView::translation().
|
private |
Definition at line 525 of file GEMGeometryBuilder.cc.
References cms::DDFilteredView::rot(), TkRotation< T >::rotateAxes(), and cms::DDFilteredView::trans().
void GEMGeometryBuilder::build | ( | GEMGeometry & | theGeometry, |
const DDCompactView * | cview, | ||
const MuonGeometryConstants & | muonConstants | ||
) |
Definition at line 47 of file GEMGeometryBuilder.cc.
References GEMChamber::add(), GEMGeometry::add(), GEMNumberingScheme::baseNumberToUnitNumber(), alcazmumu_cfi::filter, DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonGeometryNumbering::geoHistoryToBaseNumber(), GEMDetId::layer(), DDFilteredView::logicalPart(), GEMDetId::minStationId0, DDName::name(), DDBase< N, C >::name(), DDFilteredView::nextSibling(), DDFilteredView::parent(), GEMDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
Referenced by GEMGeometryESModule::produce().
void GEMGeometryBuilder::build | ( | GEMGeometry & | theGeometry, |
const cms::DDCompactView * | cview, | ||
const MuonGeometryConstants & | muonConstants | ||
) |
Definition at line 341 of file GEMGeometryBuilder.cc.
References GEMGeometry::add(), GEMNumberingScheme::baseNumberToUnitNumber(), GEMDetId::chamberIdMask, chambers, TauDecayModes::dec, GEMGeometry::etaPartitions(), alcazmumu_cfi::filter, cms::DDFilteredView::firstChild(), MuonGeometryNumbering::geoHistoryToBaseNumber(), MuonGeometryConstants::getValue(), cms::DDFilteredView::history(), isotrackTrainRegressor::history, isotrackApplyRegressor::k, cms::DDFilteredView::level(), GEMDetId::minStationId0, cms::DDFilteredView::name(), pileupDistInMC::num, HLT_FULL_cff::region, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
private |
Definition at line 226 of file GEMGeometryBuilder.cc.
References GEMDetId::chamber(), GEMDetId::chamberId(), geant_units::operators::convertMmToCm(), PVValHelper::dy, PVValHelper::dz, DDFilteredView::logicalPart(), GEMDetId::minStationId0, DDName::name(), DDBase< N, C >::name(), DDSolid::parameters(), DDLogicalPart::solid(), DDBooleanSolid::solidA(), DDBooleanSolid::solidB(), and GEMDetId::station().
|
private |
Definition at line 469 of file GEMGeometryBuilder.cc.
References GEMDetId::chamber(), GEMDetId::chamberId(), PVValHelper::dy, PVValHelper::dz, cms::DDFilteredView::solid(), and cms::DDSolid::solidA().
|
private |
Definition at line 255 of file GEMGeometryBuilder.cc.
References cms::cuda::be, GEMDetId::chamber(), geant_units::operators::convertMmToCm(), DDfetch(), delPhi(), DDValue::doubles(), GeomDetEnumerators::GEM, DDFilteredView::logicalPart(), DDName::name(), DDBase< N, C >::name(), mergeVDriftHistosByStation::name, me0TriggerPseudoDigis_cff::nStrips, DDSolid::parameters(), DDLogicalPart::solid(), DDFilteredView::specifics(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 491 of file GEMGeometryBuilder.cc.
References GEMDetId::chamber(), GeomDetEnumerators::GEM, cms::DDFilteredView::get(), mergeVDriftHistosByStation::name, cms::DDFilteredView::name(), me0TriggerPseudoDigis_cff::nStrips, cms::DDFilteredView::parameters(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 558 of file GEMGeometryBuilder.cc.
References GEMRing::add(), GEMStation::add(), GEMRegion::add(), GEMGeometry::add(), GEMGeometry::chamber(), GEMDetId::maxLayerId, GEMDetId::maxLayerId0, GEMDetId::maxStationId, GEMDetId::minLayerId, GEMDetId::minStationId0, mergeVDriftHistosByStation::name, nlayers, or, HLT_FULL_cff::region, relativeConstraints::ring, GEMStation::setName(), jetcorrextractor::sign(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::suffix.
|
private |
Definition at line 192 of file GEMGeometryBuilder.cc.
References GEMDetId::chamber(), geant_units::operators::convertMmToCm(), PVValHelper::dy, PVValHelper::dz, DDFilteredView::logicalPart(), GEMDetId::minStationId0, DDName::name(), DDBase< N, C >::name(), DDSolid::parameters(), DDLogicalPart::solid(), DDBooleanSolid::solidA(), DDBooleanSolid::solidB(), GEMDetId::station(), and GEMDetId::superChamberId().
|
private |
Definition at line 443 of file GEMGeometryBuilder.cc.
References GEMDetId::chamber(), PVValHelper::dy, PVValHelper::dz, cms::DDFilteredView::solid(), cms::DDSolid::solidA(), and GEMDetId::superChamberId().
Definition at line 45 of file GEMGeometryBuilder.h.
|
staticprivate |
Definition at line 71 of file GEMGeometryBuilder.h.