#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_ = 0 |
bool | isBricked_ = false |
bool | isFromDD4hep_ = false |
bool | isLowerSensor_ = false |
bool | isUpperSensor_ = false |
std::vector< double > | params_ |
double | phi_ = 0. |
double | pixROCCols_ = 0. |
double | pixROCRows_ = 0. |
double | pixROCx_ = 0. |
double | pixROCy_ = 0. |
double | radLength_ = 0. |
double | rho_ = 0. |
RotationMatrix | rot_ |
cms::DDSolidShape | shape_ |
double | siliconAPVNum_ = 0. |
bool | stereo_ = false |
Translation | trans_ |
GeometricEnumType | type_ |
double | xi_ = 0. |
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 | ||
) |
Definition at line 73 of file GeometricDet.cc.
References ddd_, DetUnit, isBricked_, isLowerSensor_, isUpperSensor_, DDFilteredView::navPos(), nt, pixROCCols_, pixROCRows_, pixROCx_, pixROCy_, radLength_, siliconAPVNum_, stereo_, type_, and xi_.
GeometricDet::GeometricDet | ( | cms::DDFilteredView * | fv, |
GeometricEnumType | dd | ||
) |
Definition at line 107 of file GeometricDet.cc.
References angle_units::operators::almostEqual(), DetUnit, cms::DDFilteredView::findSpecPar(), cms::DDFilteredView::get(), cms::DDFilteredView::getNextValue(), isBricked_, isLowerSensor_, isUpperSensor_, phi_, pixROCCols_, pixROCRows_, pixROCx_, pixROCy_, radLength_, siliconAPVNum_, stereo_, type_, and xi_.
GeometricDet::GeometricDet | ( | const PGeometricDet::Item & | onePGD, |
GeometricEnumType | dd | ||
) |
Definition at line 151 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 68 of file GeometricDet.cc.
References deleteComponents().
void GeometricDet::addComponent | ( | GeometricDet * | det | ) |
Definition at line 276 of file GeometricDet.cc.
References container_.
Referenced by CmsDetConstruction< FilteredView >::buildComponent(), CmsDetConstruction< FilteredView >::buildSmallDetsforGlued(), and CmsDetConstruction< FilteredView >::buildSmallDetsforStack().
void GeometricDet::addComponents | ( | GeometricDetContainer const & | cont | ) |
Definition at line 266 of file GeometricDet.cc.
References generateEDF::cont, container_, and filterCSVwithJSON::copy.
Referenced by CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2SubDiskBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), and CmsTrackerLayerBuilder< FilteredView >::sortNS().
void GeometricDet::addComponents | ( | ConstGeometricDetContainer const & | cont | ) |
Definition at line 271 of file GeometricDet.cc.
References generateEDF::cont, container_, and filterCSVwithJSON::copy.
std::unique_ptr< Bounds > GeometricDet::bounds | ( | ) | const |
Definition at line 225 of file GeometricDet.cc.
References TrackerShapeToBounds::buildBounds(), params_, and shape_.
Referenced by TrackerGeometry::fillTestMap(), and PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 163 of file GeometricDet.h.
References container_.
Referenced by CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2SubDiskBuilder< 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 148 of file GeometricDet.h.
References container_.
Referenced by CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerLayerBuilder< FilteredView >::sortNS(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2RingBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2SubDiskBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DoubleDiskBuilder< 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 152 of file GeometricDet.h.
References container_.
Referenced by Phase2EndcapLayerBuilder::build(), Phase2EndcapSubDiskBuilder::build(), Phase2OTBarrelLayerBuilder::build(), Phase2OTBarrelRodBuilder::build(), TIDLayerBuilder::build(), PixelBarrelLayerBuilder::build(), PixelRodBuilder::build(), TECLayerBuilder::build(), TECPetalBuilder::build(), TECWedgeBuilder::build(), TIBLayerBuilder::build(), TIDRingBuilder::build(), TOBLayerBuilder::build(), TOBRodBuilder::build(), Phase2EndcapLayerDoubleDiskBuilder::build(), Phase2EndcapRingBuilder::build(), Phase2EndcapSingleRingBuilder::build(), GeometricSearchTrackerBuilder::build(), TrackerGeomBuilderFromGeometricDet::build(), PixelForwardLayerBuilder< T1, T2 >::build(), PixelBladeBuilder< T >::build(), CmsTrackerDetIdBuilder::iterate(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerPetalBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2SubDiskBuilder< FilteredView >::sortNS(), CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerOTRingBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerLayerBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DoubleDiskBuilder< FilteredView >::sortNS(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2RingBuilder< FilteredView >::sortNS(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerLadderBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerSubStrctBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2EndcapBuilder< FilteredView >::sortNS(), CmsTrackerBuilder< FilteredView >::sortNS(), and TrackerGeometry::TrackerGeometry().
|
inline |
|
private |
Definition at line 300 of file GeometricDet.cc.
References angle_units::operators::convertDegToRad(), cms::ddbox, cms::ddtrap, cms::ddtubs, angle0to2pi::make0To2pi(), and cms_rounding::roundIfNear0().
GeometricDet::ConstGeometricDetContainer GeometricDet::deepComponents | ( | ) | const |
Definition at line 252 of file GeometricDet.cc.
Referenced by PTrackerAdditionalParametersPerDetDBBuilder::beginRun(), TrackerGeomBuilderFromGeometricDet::build(), TrackerG4SimHitNumberingScheme::buildAll(), TrackerGeometryUtils::getOuterTrackerDetIds(), TrackerGeometryUtils::getSiStripDetIds(), and TrackerGeometry::TrackerGeometry().
void GeometricDet::deepComponents | ( | ConstGeometricDetContainer & | cont | ) | const |
Definition at line 259 of file GeometricDet.cc.
References generateEDF::cont, container_, and isLeaf().
void GeometricDet::deleteComponents | ( | ) |
Definition at line 284 of file GeometricDet.cc.
References container_.
Referenced by ~GeometricDet().
|
inline |
Definition at line 98 of file GeometricDet.h.
References geographicalID_.
Referenced by TrackerGeometry::fillTestMap(), CmsTrackerDetIdBuilder::iterate(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
|
inline |
|
inline |
Definition at line 149 of file GeometricDet.h.
References container_.
Referenced by deepComponents().
|
inline |
Definition at line 140 of file GeometricDet.h.
References isLowerSensor_.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforStack(), and DDDCmsTrackerContruction::printAllTrackerGeometricDets().
|
inline |
Definition at line 141 of file GeometricDet.h.
References isUpperSensor_.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforStack(), and DDDCmsTrackerContruction::printAllTrackerGeometricDets().
|
inline |
Definition at line 92 of file GeometricDet.h.
References ddname_.
Referenced by config.CFG::__str__(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::buildComponent(), validation.Sample::digest(), TrackerGeometry::fillTestMap(), VIDSelectorBase.VIDSelectorBase::initialize(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
|
inline |
Definition at line 96 of file GeometricDet.h.
References ddd_.
Referenced by PGeometricDetBuilder::putOne().
|
inline |
Definition at line 118 of file GeometricDet.h.
References cms::ddbox, cms::ddtrap, cms::ddtubs, params_, and shape_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), PGeometricDetBuilder::putOne(), and CmsTrackerLayerBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 104 of file GeometricDet.h.
References phi_.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), CmsTrackerPhase1DiskBuilder< FilteredView >::PhiSort(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::PhiSort(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 135 of file GeometricDet.h.
References pixROCCols_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 134 of file GeometricDet.h.
References pixROCRows_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 136 of file GeometricDet.h.
References pixROCx_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 137 of file GeometricDet.h.
References pixROCy_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
GeometricDet::Position GeometricDet::positionBounds | ( | ) | const |
Definition at line 230 of file GeometricDet.cc.
References angle_units::operators::convertMmToCm(), and trans_.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 128 of file GeometricDet.h.
References radLength_.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 103 of file GeometricDet.h.
References rho_.
Referenced by Lepton.Lepton::absIsoFromEA(), Muon.Muon::absIsoWithFSR(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 105 of file GeometricDet.h.
References rot_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
GeometricDet::Rotation GeometricDet::rotationBounds | ( | ) | const |
Definition at line 237 of file GeometricDet.cc.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 99 of file GeometricDet.h.
References geographicalID_, and triggerObjects_cff::id.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforGlued(), CmsDetConstruction< FilteredView >::buildSmallDetsforStack(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DoubleDiskBuilder< 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 114 of file GeometricDet.h.
References cms::LegacySolidShapeMap, shape_, and cms::dd::value().
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets().
|
inline |
Definition at line 116 of file GeometricDet.h.
References shape_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 142 of file GeometricDet.h.
References siliconAPVNum_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 139 of file GeometricDet.h.
References stereo_.
Referenced by CmsDetConstruction< FilteredView >::buildSmallDetsforGlued(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 102 of file GeometricDet.h.
References trans_.
Referenced by CmsTrackerDetIdBuilder::iterate(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), PGeometricDetBuilder::putOne(), CmsTrackerRingBuilder< FilteredView >::sortNS(), and CmsTrackerWheelBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 93 of file GeometricDet.h.
References type_.
Referenced by DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 129 of file GeometricDet.h.
References xi_.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), DDDCmsTrackerContruction::printAllTrackerGeometricDets(), and PGeometricDetBuilder::putOne().
|
private |
Definition at line 201 of file GeometricDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), and isLeaf().
|
private |
Definition at line 176 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), and navType().
|
private |
Definition at line 173 of file GeometricDet.h.
Referenced by name().
|
private |
Definition at line 177 of file GeometricDet.h.
Referenced by geographicalId(), and setGeographicalID().
|
private |
Definition at line 189 of file GeometricDet.h.
Referenced by GeometricDet(), and isBricked().
|
private |
Definition at line 199 of file GeometricDet.h.
Referenced by isFromDD4hep().
|
private |
Definition at line 195 of file GeometricDet.h.
Referenced by GeometricDet(), and isLowerSensor().
|
private |
Definition at line 196 of file GeometricDet.h.
Referenced by GeometricDet(), and isUpperSensor().
|
private |
Definition at line 185 of file GeometricDet.h.
Referenced by bounds(), GeometricDet(), and params().
|
private |
Definition at line 181 of file GeometricDet.h.
Referenced by GeometricDet(), and phi().
|
private |
Definition at line 191 of file GeometricDet.h.
Referenced by GeometricDet(), and pixROCCols().
|
private |
Definition at line 190 of file GeometricDet.h.
Referenced by GeometricDet(), and pixROCRows().
|
private |
Definition at line 192 of file GeometricDet.h.
Referenced by GeometricDet(), and pixROCx().
|
private |
Definition at line 193 of file GeometricDet.h.
Referenced by GeometricDet(), and pixROCy().
|
private |
Definition at line 187 of file GeometricDet.h.
Referenced by GeometricDet(), and radLength().
|
private |
Definition at line 180 of file GeometricDet.h.
Referenced by rho().
|
private |
Definition at line 182 of file GeometricDet.h.
Referenced by rotation(), and rotationBounds().
|
private |
Definition at line 184 of file GeometricDet.h.
Referenced by bounds(), params(), shape(), and shape_dd4hep().
|
private |
Definition at line 197 of file GeometricDet.h.
Referenced by GeometricDet(), and siliconAPVNum().
|
private |
Definition at line 194 of file GeometricDet.h.
Referenced by GeometricDet(), and stereo().
|
private |
Definition at line 179 of file GeometricDet.h.
Referenced by positionBounds(), and translation().
|
private |
Definition at line 174 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(), GeometricDet(), 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 188 of file GeometricDet.h.
Referenced by GeometricDet(), and xi().