#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(), 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(), 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, TauDecayModes::dec, 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, HLT_2023v12_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 226 of file GEMGeometryBuilder.cc.
References relativeConstraints::chamber, GEMDetId::chamber(), GEMDetId::chamberId(), angle_units::operators::convertMmToCm(), PVValHelper::dy, PVValHelper::dz, funct::false, 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 relativeConstraints::chamber, 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(), angle_units::operators::convertMmToCm(), DDfetch(), delPhi(), 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 GEMDetId::chamber(), dqmMemoryStats::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(), GEMDetId::maxLayerId, GEMDetId::maxLayerId0, GEMDetId::maxStationId, GEMDetId::minLayerId, GEMDetId::minStationId0, Skims_PA_cff::name, nlayers, or, HLT_2023v12_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 GEMDetId::chamber(), angle_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.