#include <GeometricDet.h>
Private Member Functions | |
std::vector< double > | computeLegacyShapeParameters (const cms::DDSolidShape &mySolidShape, const dd4hep::Solid &mySolid) const |
Private Attributes | |
ConstGeometricDetContainer | container_ |
nav_type | ddd_ |
std::string | ddname_ |
DetId | geographicalID_ |
bool | isFromDD4hep_ |
bool | isLowerSensor_ |
bool | isUpperSensor_ |
std::vector< double > | params_ |
double | phi_ |
double | pixROCCols_ |
double | pixROCRows_ |
double | pixROCx_ |
double | pixROCy_ |
double | radLength_ |
double | rho_ |
RotationMatrix | rot_ |
cms::DDSolidShape | shape_ |
double | siliconAPVNum_ |
bool | stereo_ |
Translation | trans_ |
GeometricEnumType | type_ |
double | xi_ |
Composite class GeometricDet. A composite can contain other composites, and so on; You can understand what you are looking at via enum.
Definition at line 31 of file GeometricDet.h.
using GeometricDet::ConstGeometricDetContainer = std::vector<GeometricDet const*> |
Definition at line 34 of file GeometricDet.h.
using GeometricDet::GeometricDetContainer = std::vector<GeometricDet*> |
Definition at line 35 of file GeometricDet.h.
typedef enum GeometricDet::GDEnumType GeometricDet::GeometricEnumType |
using GeometricDet::nav_type = std::vector<int> |
Definition at line 42 of file GeometricDet.h.
using GeometricDet::NavRange = std::pair<int const*, size_t> |
Definition at line 33 of file GeometricDet.h.
Definition at line 45 of file GeometricDet.h.
Definition at line 46 of file GeometricDet.h.
using GeometricDet::RotationMatrix = ROOT::Math::Rotation3D |
Definition at line 36 of file GeometricDet.h.
using GeometricDet::Translation = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > |
Definition at line 37 of file GeometricDet.h.
Definition at line 48 of file GeometricDet.h.
GeometricDet::GeometricDet | ( | DDFilteredView * | fv, |
GeometricEnumType | dd | ||
) |
GeometricDet::GeometricDet | ( | cms::DDFilteredView * | fv, |
GeometricEnumType | dd | ||
) |
Definition at line 98 of file GeometricDet.cc.
References cms::DDFilteredView::findSpecPar(), cms::DDFilteredView::getNextValue(), radLength_, and xi_.
GeometricDet::GeometricDet | ( | const PGeometricDet::Item & | onePGD, |
GeometricEnumType | dd | ||
) |
Definition at line 125 of file GeometricDet.cc.
References PGeometricDet::Item::_nt0, PGeometricDet::Item::_nt1, PGeometricDet::Item::_nt10, PGeometricDet::Item::_nt2, PGeometricDet::Item::_nt3, PGeometricDet::Item::_nt4, PGeometricDet::Item::_nt5, PGeometricDet::Item::_nt6, PGeometricDet::Item::_nt7, PGeometricDet::Item::_nt8, PGeometricDet::Item::_nt9, PGeometricDet::Item::_numnt, PGeometricDet::Item::_params0, PGeometricDet::Item::_params1, PGeometricDet::Item::_params10, PGeometricDet::Item::_params2, PGeometricDet::Item::_params3, PGeometricDet::Item::_params4, PGeometricDet::Item::_params5, PGeometricDet::Item::_params6, PGeometricDet::Item::_params7, PGeometricDet::Item::_params8, PGeometricDet::Item::_params9, PGeometricDet::Item::_shape, ddd_, and params_.
GeometricDet::~GeometricDet | ( | ) |
What to do in the destructor? destroy all the daughters!
Definition at line 64 of file GeometricDet.cc.
References deleteComponents().
void GeometricDet::addComponent | ( | GeometricDet * | det | ) |
Definition at line 250 of file GeometricDet.cc.
References container_.
Referenced by CmsDetConstruction< FilteredView >::buildComponent(), CmsDetConstruction< FilteredView >::buildSmallDetsforGlued(), and CmsDetConstruction< FilteredView >::buildSmallDetsforStack().
void GeometricDet::addComponents | ( | ConstGeometricDetContainer const & | cont | ) |
Definition at line 245 of file GeometricDet.cc.
References generateEDF::cont, container_, and filterCSVwithJSON::copy.
void GeometricDet::addComponents | ( | GeometricDetContainer const & | cont | ) |
Definition at line 240 of file GeometricDet.cc.
References generateEDF::cont, container_, and filterCSVwithJSON::copy.
Referenced by CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), and CmsTrackerLayerBuilder< FilteredView >::sortNS().
std::unique_ptr< Bounds > GeometricDet::bounds | ( | ) | const |
Definition at line 199 of file GeometricDet.cc.
References TrackerShapeToBounds::buildBounds(), params_, and shape_.
Referenced by TrackerGeometry::fillTestMap(), and PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 160 of file GeometricDet.h.
References container_.
Referenced by CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), and CmsTrackerLayerBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 145 of file GeometricDet.h.
References container_.
Referenced by CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerLayerBuilder< FilteredView >::sortNS(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2RingBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerPetalBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerLadderBuilder< FilteredView >::sortNS(), CmsTrackerOTRingBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::sortNS(), CmsTrackerSubStrctBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2EndcapBuilder< FilteredView >::sortNS(), and CmsTrackerBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 149 of file GeometricDet.h.
References container_.
Referenced by Phase2EndcapLayerBuilder::build(), PixelRodBuilder::build(), TECLayerBuilder::build(), TIDRingBuilder::build(), TECPetalBuilder::build(), TECWedgeBuilder::build(), TIBLayerBuilder::build(), TIDLayerBuilder::build(), TOBLayerBuilder::build(), TOBRodBuilder::build(), Phase2EndcapRingBuilder::build(), Phase2OTBarrelLayerBuilder::build(), Phase2OTBarrelRodBuilder::build(), PixelBarrelLayerBuilder::build(), TrackerGeomBuilderFromGeometricDet::build(), GeometricSearchTrackerBuilder::build(), PixelForwardLayerBuilder< T1, T2 >::build(), PixelBladeBuilder< T >::build(), CmsTrackerDetIdBuilder::iterate(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2RingBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerOTRingBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerLadderBuilder< FilteredView >::sortNS(), CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerPetalBuilder< FilteredView >::sortNS(), CmsTrackerLayerBuilder< FilteredView >::sortNS(), CmsTrackerSubStrctBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2EndcapBuilder< FilteredView >::sortNS(), CmsTrackerBuilder< FilteredView >::sortNS(), and TrackerGeometry::TrackerGeometry().
|
inline |
|
private |
Definition at line 274 of file GeometricDet.cc.
References geant_units::operators::convertCmToMm(), angle_units::operators::convertDegToRad(), cms::ddbox, cms::ddtrap, cms::ddtubs, and M_PI.
GeometricDet::ConstGeometricDetContainer GeometricDet::deepComponents | ( | ) | const |
Definition at line 226 of file GeometricDet.cc.
Referenced by TrackerGeomBuilderFromGeometricDet::build(), TrackerG4SimHitNumberingScheme::buildAll(), TrackerGeometryUtils::getOuterTrackerDetIds(), TrackerGeometryUtils::getSiStripDetIds(), and TrackerGeometry::TrackerGeometry().
void GeometricDet::deepComponents | ( | ConstGeometricDetContainer & | cont | ) | const |
Definition at line 233 of file GeometricDet.cc.
References generateEDF::cont, container_, and isLeaf().
void GeometricDet::deleteComponents | ( | ) |
Definition at line 258 of file GeometricDet.cc.
References container_.
Referenced by ~GeometricDet().
|
inline |
Definition at line 96 of file GeometricDet.h.
References geographicalID_.
Referenced by TrackerGeometry::fillTestMap(), CmsTrackerDetIdBuilder::iterate(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
|
inline |
Definition at line 146 of file GeometricDet.h.
References container_.
Referenced by deepComponents().
|
inline |
Definition at line 137 of file GeometricDet.h.
References isLowerSensor_.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforStack(), and DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding().
|
inline |
Definition at line 138 of file GeometricDet.h.
References isUpperSensor_.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforStack(), and DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding().
|
inline |
Definition at line 90 of file GeometricDet.h.
References ddname_.
Referenced by config.CFG::__str__(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::buildComponent(), validation.Sample::digest(), TrackerGeometry::fillTestMap(), VIDSelectorBase.VIDSelectorBase::initialize(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
|
inline |
Definition at line 94 of file GeometricDet.h.
References ddd_.
Referenced by PGeometricDetBuilder::putOne().
|
inline |
Definition at line 116 of file GeometricDet.h.
References cms::ddbox, cms::ddtrap, cms::ddtubs, params_, and shape_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), PGeometricDetBuilder::putOne(), and CmsTrackerLayerBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 102 of file GeometricDet.h.
References phi_.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), CmsTrackerPhase1DiskBuilder< FilteredView >::PhiSort(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::PhiSort(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 132 of file GeometricDet.h.
References pixROCCols_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 131 of file GeometricDet.h.
References pixROCRows_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 133 of file GeometricDet.h.
References pixROCx_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 134 of file GeometricDet.h.
References pixROCy_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
GeometricDet::Position GeometricDet::positionBounds | ( | ) | const |
Definition at line 204 of file GeometricDet.cc.
References geant_units::operators::convertMmToCm(), and trans_.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 126 of file GeometricDet.h.
References radLength_.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 101 of file GeometricDet.h.
References rho_.
Referenced by Lepton.Lepton::absIsoFromEA(), Muon.Muon::absIsoWithFSR(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 103 of file GeometricDet.h.
References rot_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
GeometricDet::Rotation GeometricDet::rotationBounds | ( | ) | const |
Definition at line 211 of file GeometricDet.cc.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 97 of file GeometricDet.h.
References geographicalID_, and triggerObjects_cff::id.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforGlued(), CmsDetConstruction< FilteredView >::buildSmallDetsforStack(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerPetalBuilder< FilteredView >::sortNS(), CmsTrackerLadderBuilder< FilteredView >::sortNS(), CmsTrackerLayerBuilder< FilteredView >::sortNS(), CmsTrackerOTRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2RingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::sortNS(), CmsTrackerSubStrctBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2EndcapBuilder< FilteredView >::sortNS(), and CmsTrackerBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 112 of file GeometricDet.h.
References cms::LegacySolidShapeMap, shape_, and cms::dd::value().
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding().
|
inline |
Definition at line 114 of file GeometricDet.h.
References shape_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 139 of file GeometricDet.h.
References siliconAPVNum_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 136 of file GeometricDet.h.
References stereo_.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforGlued(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 100 of file GeometricDet.h.
References trans_.
Referenced by CmsTrackerDetIdBuilder::iterate(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), PGeometricDetBuilder::putOne(), CmsTrackerRingBuilder< FilteredView >::sortNS(), and CmsTrackerWheelBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 91 of file GeometricDet.h.
References type_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 127 of file GeometricDet.h.
References xi_.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), DDDCmsTrackerContruction::printAllTrackerGeometricDetsBeforeDetIDBuilding(), and PGeometricDetBuilder::putOne().
|
private |
Definition at line 197 of file GeometricDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), and isLeaf().
|
private |
Definition at line 173 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), and navType().
|
private |
Definition at line 170 of file GeometricDet.h.
Referenced by name().
|
private |
Definition at line 174 of file GeometricDet.h.
Referenced by geographicalId(), and setGeographicalID().
|
private |
Definition at line 195 of file GeometricDet.h.
Referenced by isFromDD4hep().
|
private |
Definition at line 191 of file GeometricDet.h.
Referenced by isLowerSensor().
|
private |
Definition at line 192 of file GeometricDet.h.
Referenced by isUpperSensor().
|
private |
Definition at line 182 of file GeometricDet.h.
Referenced by bounds(), GeometricDet(), and params().
|
private |
Definition at line 178 of file GeometricDet.h.
Referenced by phi().
|
private |
Definition at line 187 of file GeometricDet.h.
Referenced by pixROCCols().
|
private |
Definition at line 186 of file GeometricDet.h.
Referenced by pixROCRows().
|
private |
Definition at line 188 of file GeometricDet.h.
Referenced by pixROCx().
|
private |
Definition at line 189 of file GeometricDet.h.
Referenced by pixROCy().
|
private |
Definition at line 184 of file GeometricDet.h.
Referenced by GeometricDet(), and radLength().
|
private |
Definition at line 177 of file GeometricDet.h.
Referenced by rho().
|
private |
Definition at line 179 of file GeometricDet.h.
Referenced by rotation(), and rotationBounds().
|
private |
Definition at line 181 of file GeometricDet.h.
Referenced by bounds(), params(), shape(), and shape_dd4hep().
|
private |
Definition at line 193 of file GeometricDet.h.
Referenced by siliconAPVNum().
|
private |
Definition at line 190 of file GeometricDet.h.
Referenced by stereo().
|
private |
Definition at line 176 of file GeometricDet.h.
Referenced by positionBounds(), and translation().
|
private |
Definition at line 171 of file GeometricDet.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().
|
private |
Definition at line 185 of file GeometricDet.h.
Referenced by GeometricDet(), and xi().