#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 angle_units::operators::convertMmToCm(), TkRotation< T >::rotateAxes(), idealTransformation::rotation, DDFilteredView::rotation(), DDFilteredView::translation(), and x.
|
private |
Definition at line 525 of file GEMGeometryBuilder.cc.
References cms::DDFilteredView::rot(), TkRotation< T >::rotateAxes(), cms::DDFilteredView::trans(), and x.
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(), hcalRecHitTable_cff::detId, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), DDFilteredView::geoHistory(), MuonGeometryNumbering::geoHistoryToBaseNumber(), GEMDetId::layer(), DDFilteredView::logicalPart(), GEMDetId::minStationId0, DDName::name(), DDBase< N, C >::name(), DDFilteredView::nextSibling(), DDFilteredView::parent(), nano_mu_digi_cff::rawId, GEMDetId::station(), and AlCaHLTBitMon_QueryRunRegistry::string.
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, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), TauDecayModes::dec, hcalRecHitTable_cff::detId, GEMGeometry::etaPartitions(), ALCARECOTkAlBeamHalo_cff::filter, cms::DDFilteredView::firstChild(), MuonGeometryNumbering::geoHistoryToBaseNumber(), MuonGeometryConstants::getValue(), cms::DDFilteredView::history(), dqmdumpme::k, cms::DDFilteredView::level(), GEMDetId::minStationId0, cms::DDFilteredView::name(), EgammaValidation_cff::num, nano_mu_digi_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 226 of file GEMGeometryBuilder.cc.
References relativeConstraints::chamber, angle_units::operators::convertMmToCm(), hcalRecHitTable_cff::detId, PVValHelper::dy, PVValHelper::dz, funct::false, DDFilteredView::logicalPart(), GEMDetId::minStationId0, DDName::name(), DDBase< N, C >::name(), DDSolid::parameters(), DDLogicalPart::solid(), DDBooleanSolid::solidA(), and DDBooleanSolid::solidB().
|
private |
Definition at line 469 of file GEMGeometryBuilder.cc.
References relativeConstraints::chamber, hcalRecHitTable_cff::detId, PVValHelper::dy, PVValHelper::dz, cms::DDFilteredView::solid(), and cms::DDSolid::solidA().
|
private |
Definition at line 255 of file GEMGeometryBuilder.cc.
References cms::cuda::be, angle_units::operators::convertMmToCm(), DDfetch(), delPhi(), hcalRecHitTable_cff::detId, DDValue::doubles(), GeomDetEnumerators::GEM, DDFilteredView::logicalPart(), Skims_PA_cff::name, DDName::name(), DDBase< N, C >::name(), me0TriggerPseudoDigis_cff::nStrips, DDSolid::parameters(), DDLogicalPart::solid(), DDFilteredView::specifics(), HistogramManager_cfi::specs, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
|
private |
Definition at line 491 of file GEMGeometryBuilder.cc.
References hcalRecHitTable_cff::detId, nano_mu_digi_cff::float, GeomDetEnumerators::GEM, cms::DDFilteredView::get(), Skims_PA_cff::name, cms::DDFilteredView::name(), me0TriggerPseudoDigis_cff::nStrips, cms::DDFilteredView::parameters(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 558 of file GEMGeometryBuilder.cc.
References GEMGeometry::add(), relativeConstraints::chamber, GEMGeometry::chamber(), hcalRecHitTable_cff::detId, GEMDetId::maxLayerId, GEMDetId::maxLayerId0, GEMDetId::maxStationId, GEMDetId::minLayerId, GEMDetId::minStationId0, Skims_PA_cff::name, nlayers, or, nano_mu_digi_cff::region, relativeConstraints::ring, Validation_hcalonly_cfi::sign, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, makePlotsFromDump::suffix, and to_string().
|
private |
Definition at line 192 of file GEMGeometryBuilder.cc.
References angle_units::operators::convertMmToCm(), hcalRecHitTable_cff::detId, PVValHelper::dy, PVValHelper::dz, DDFilteredView::logicalPart(), GEMDetId::minStationId0, DDName::name(), DDBase< N, C >::name(), DDSolid::parameters(), DDLogicalPart::solid(), DDBooleanSolid::solidA(), and DDBooleanSolid::solidB().
|
private |
Definition at line 443 of file GEMGeometryBuilder.cc.
References hcalRecHitTable_cff::detId, PVValHelper::dy, PVValHelper::dz, cms::DDFilteredView::solid(), and cms::DDSolid::solidA().
Definition at line 45 of file GEMGeometryBuilder.h.
|
staticprivate |
Definition at line 71 of file GEMGeometryBuilder.h.