#include <GeometricDet.h>
Private Attributes | |
ConstGeometricDetContainer | _container |
nav_type | _ddd |
std::string | _ddname |
DetId | _geographicalID |
std::vector< double > | _params |
double | _phi |
double | _pixROCCols |
double | _pixROCRows |
double | _pixROCx |
double | _pixROCy |
double | _radLength |
double | _rho |
RotationMatrix | _rot |
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 30 of file GeometricDet.h.
using GeometricDet::ConstGeometricDetContainer = std::vector<GeometricDet const*> |
Definition at line 33 of file GeometricDet.h.
using GeometricDet::GeoHistory = std::vector<DDExpandedNode> |
Definition at line 42 of file GeometricDet.h.
using GeometricDet::GeometricDetContainer = std::vector<GeometricDet*> |
Definition at line 34 of file GeometricDet.h.
typedef enum GeometricDet::GDEnumType GeometricDet::GeometricEnumType |
Definition at line 43 of file GeometricDet.h.
Definition at line 32 of file GeometricDet.h.
Definition at line 46 of file GeometricDet.h.
Definition at line 47 of file GeometricDet.h.
using GeometricDet::RotationMatrix = ROOT::Math::Rotation3D |
Definition at line 35 of file GeometricDet.h.
using GeometricDet::Translation = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > |
Definition at line 36 of file GeometricDet.h.
Definition at line 52 of file GeometricDet.h.
GeometricDet::GeometricDet | ( | DDFilteredView * | fv, |
GeometricEnumType | dd | ||
) |
Constructors to be used when looping over DDD
Definition at line 68 of file GeometricDet.cc.
References _ddd, DDFilteredView::navPos(), and nt.
GeometricDet::GeometricDet | ( | cms::DDFilteredView * | fv, |
GeometricEnumType | dd | ||
) |
Definition at line 93 of file GeometricDet.cc.
GeometricDet::GeometricDet | ( | const PGeometricDet::Item & | onePGD, |
GeometricEnumType | dd | ||
) |
Definition at line 114 of file GeometricDet.cc.
References _ddd, 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, _params, 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, and PGeometricDet::Item::_shape.
GeometricDet::~GeometricDet | ( | ) |
What to do in the destructor? destroy all the daughters!
Definition at line 66 of file GeometricDet.cc.
References deleteComponents().
void GeometricDet::addComponent | ( | GeometricDet * | det | ) |
Definition at line 210 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 205 of file GeometricDet.cc.
References _container, generateEDF::cont, and filterCSVwithJSON::copy.
void GeometricDet::addComponents | ( | GeometricDetContainer const & | cont | ) |
Definition at line 200 of file GeometricDet.cc.
References _container, generateEDF::cont, 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 243 of file GeometricDet.cc.
References _params, _shape, and TrackerShapeToBounds::buildBounds().
Referenced by TrackerGeometry::fillTestMap(), and PlaneBuilderFromGeometricDet::plane().
|
inline |
clearComponents() only empties the container, the components are not deleted!
Definition at line 104 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 114 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 |
components() returns explicit components; please note that in case of a leaf GeometricDet it returns nothing (an empty vector)
Definition at line 139 of file GeometricDet.h.
References _container.
Referenced by Phase2EndcapLayerBuilder::build(), PixelRodBuilder::build(), TOBLayerBuilder::build(), TECLayerBuilder::build(), TECPetalBuilder::build(), TECWedgeBuilder::build(), TIBLayerBuilder::build(), TIDLayerBuilder::build(), TIDRingBuilder::build(), TOBRodBuilder::build(), Phase2EndcapRingBuilder::build(), Phase2OTBarrelLayerBuilder::build(), Phase2OTBarrelRodBuilder::build(), PixelBarrelLayerBuilder::build(), TrackerGeomBuilderFromGeometricDet::build(), GeometricSearchTrackerBuilder::build(), PixelForwardLayerBuilder< T1, T2 >::build(), PixelBladeBuilder< T >::build(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), CmsTrackerStringBuilder< FilteredView >::sortNS(), CmsTrackerOTDiscBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2RingBuilder< FilteredView >::sortNS(), CmsTrackerOTLayerBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2DiskBuilder< FilteredView >::sortNS(), CmsTrackerRingBuilder< FilteredView >::sortNS(), CmsTrackerLayerBuilder< FilteredView >::sortNS(), CmsTrackerRodBuilder< FilteredView >::sortNS(), CmsTrackerPhase1DiskBuilder< FilteredView >::sortNS(), CmsTrackerDiskBuilder< FilteredView >::sortNS(), CmsTrackerOTRingBuilder< FilteredView >::sortNS(), CmsTrackerPanelBuilder< FilteredView >::sortNS(), CmsTrackerLadderBuilder< FilteredView >::sortNS(), CmsTrackerPetalBuilder< FilteredView >::sortNS(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase2EndcapBuilder< FilteredView >::sortNS(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::sortNS(), CmsTrackerSubStrctBuilder< FilteredView >::sortNS(), CmsTrackerBuilder< FilteredView >::sortNS(), and TrackerGeometry::TrackerGeometry().
|
inline |
GeometricDet::ConstGeometricDetContainer GeometricDet::deepComponents | ( | ) | const |
deepComponents() returns all the components below; please note that if the current GeometricDet is a leaf, it returns it!
Definition at line 184 of file GeometricDet.cc.
Referenced by TrackerGeomBuilderFromGeometricDet::build(), TrackerG4SimHitNumberingScheme::buildAll(), TrackerGeometryUtils::getSiStripDetIds(), and TrackerGeometry::TrackerGeometry().
void GeometricDet::deepComponents | ( | ConstGeometricDetContainer & | cont | ) | const |
Definition at line 193 of file GeometricDet.cc.
References _container, generateEDF::cont, and isLeaf().
void GeometricDet::deleteComponents | ( | ) |
deleteComponents() explicitly deletes the daughters
Definition at line 218 of file GeometricDet.cc.
References _container.
Referenced by ~GeometricDet().
|
inline |
geometricalID() returns the ID associated to the GeometricDet.
Definition at line 153 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::iterate(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 154 of file GeometricDet.h.
References _geographicalID.
Referenced by TrackerGeometry::fillTestMap(), and TrackerGeometricDetExtraESModule::putOne().
|
inline |
Definition at line 112 of file GeometricDet.h.
References _container.
Referenced by deepComponents().
|
inline |
Definition at line 126 of file GeometricDet.h.
References _ddname.
Referenced by config.CFG::__str__(), CmsTrackerPixelPhase1EndcapBuilder< FilteredView >::buildComponent(), validation.Sample::digest(), TrackerGeometry::fillTestMap(), VIDSelectorBase.VIDSelectorBase::initialize(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
|
inline |
Definition at line 129 of file GeometricDet.h.
References _ddd.
Referenced by PGeometricDetBuilder::putOne().
|
inline |
Definition at line 131 of file GeometricDet.h.
References _params.
Referenced by GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and CmsTrackerLayerBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 121 of file GeometricDet.h.
References _phi.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), CmsTrackerPhase2TPDiskBuilder< FilteredView >::PhiSort(), CmsTrackerPhase1DiskBuilder< FilteredView >::PhiSort(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 177 of file GeometricDet.h.
References _pixROCCols.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
The following four pix* methods only return meaningful results for pixels.
Definition at line 176 of file GeometricDet.h.
References _pixROCRows.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 178 of file GeometricDet.h.
References _pixROCx.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 179 of file GeometricDet.h.
References _pixROCy.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
GeometricDet::Position GeometricDet::positionBounds | ( | ) | const |
positionBounds() returns the position in cm.
Definition at line 223 of file GeometricDet.cc.
References _trans.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 171 of file GeometricDet.h.
References _radLength.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 122 of file GeometricDet.h.
References _rho.
Referenced by Lepton.Lepton::absIsoFromEA(), Muon.Muon::absIsoWithFSR(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Access methods
Definition at line 119 of file GeometricDet.h.
References _rot.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
GeometricDet::Rotation GeometricDet::rotationBounds | ( | ) | const |
rotationBounds() returns the rotation matrix.
Definition at line 228 of file GeometricDet.cc.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
set or add or clear components
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 124 of file GeometricDet.h.
References _shape.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 185 of file GeometricDet.h.
References _siliconAPVNum.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
The following two are only meaningful for the silicon tracker.
Definition at line 184 of file GeometricDet.h.
References _stereo.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 120 of file GeometricDet.h.
References _trans.
Referenced by CmsTrackerDetIdBuilder::iterate(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), CmsTrackerWheelBuilder< FilteredView >::sortNS(), and CmsTrackerRingBuilder< FilteredView >::sortNS().
|
inline |
Definition at line 125 of file GeometricDet.h.
References _type.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 172 of file GeometricDet.h.
References _xi.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
private |
Definition at line 188 of file GeometricDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), and isLeaf().
|
private |
Definition at line 194 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), and navType().
|
private |
Definition at line 195 of file GeometricDet.h.
Referenced by name().
|
private |
Definition at line 199 of file GeometricDet.h.
Referenced by geographicalID(), geographicalId(), and setGeographicalID().
|
private |
Definition at line 197 of file GeometricDet.h.
Referenced by bounds(), GeometricDet(), and params().
|
private |
Definition at line 190 of file GeometricDet.h.
Referenced by phi().
|
private |
Definition at line 203 of file GeometricDet.h.
Referenced by pixROCCols().
|
private |
Definition at line 202 of file GeometricDet.h.
Referenced by pixROCRows().
|
private |
Definition at line 204 of file GeometricDet.h.
Referenced by pixROCx().
|
private |
Definition at line 205 of file GeometricDet.h.
Referenced by pixROCy().
|
private |
Definition at line 200 of file GeometricDet.h.
Referenced by radLength().
|
private |
Definition at line 191 of file GeometricDet.h.
Referenced by rho().
|
private |
Definition at line 192 of file GeometricDet.h.
Referenced by rotation(), and rotationBounds().
|
private |
Definition at line 193 of file GeometricDet.h.
|
private |
Definition at line 207 of file GeometricDet.h.
Referenced by siliconAPVNum().
|
private |
Definition at line 206 of file GeometricDet.h.
Referenced by stereo().
|
private |
Definition at line 189 of file GeometricDet.h.
Referenced by positionBounds(), and translation().
|
private |
Definition at line 196 of file GeometricDet.h.
Referenced by type().
|
private |
Definition at line 201 of file GeometricDet.h.
Referenced by xi().