#include <GeometricDet.h>
Public Types | |
typedef std::vector < GeometricDet const * > | ConstGeometricDetContainer |
typedef DDExpandedView::nav_type | DDnav_type |
enum | GDEnumType { unknown =100, Tracker =0, PixelBarrel =1, PixelEndCap =2, TIB =3, TID =4, TOB =5, TEC =6, layer =8, wheel =9, strng =10, rod =11, petal =12, ring =13, ladder =14, mergedDet =15, DetUnit =16, disk =17, panel =18, PixelPhase1Barrel =101, PixelPhase1EndCap =102, PixelPhase1Disk =117, OTPhase2EndCap =204, OTPhase2Barrel =205, OTPhase2Layer =208, PixelPhase2EndCap =202, OTPhase2Wheel =209, PixelPhase2FullDisk =217, PixelPhase2ReducedDisk =227 } |
typedef std::vector < DDExpandedNode > | GeoHistory |
typedef std::vector < GeometricDet * > | GeometricDetContainer |
typedef enum GeometricDet::GDEnumType | GeometricEnumType |
typedef DDExpandedView::nav_type | nav_type |
typedef DDExpandedView::NavRange | NavRange |
typedef Surface::PositionType | Position |
typedef Surface::RotationType | Rotation |
Private Attributes | |
ConstGeometricDetContainer | _container |
nav_type | _ddd |
DDName | _ddname |
DetId | _geographicalID |
std::vector< double > | _params |
double | _phi |
double | _pixROCCols |
double | _pixROCRows |
double | _pixROCx |
double | _pixROCy |
double | _radLength |
double | _rho |
DDRotationMatrix | _rot |
DDSolidShape | _shape |
double | _siliconAPVNum |
bool | _stereo |
DDTranslation | _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.
typedef std::vector< GeometricDet const *> GeometricDet::ConstGeometricDetContainer |
Definition at line 36 of file GeometricDet.h.
Definition at line 33 of file GeometricDet.h.
typedef std::vector<DDExpandedNode> GeometricDet::GeoHistory |
Definition at line 43 of file GeometricDet.h.
typedef std::vector< GeometricDet *> GeometricDet::GeometricDetContainer |
Definition at line 37 of file GeometricDet.h.
typedef enum GeometricDet::GDEnumType GeometricDet::GeometricEnumType |
Definition at line 44 of file GeometricDet.h.
Definition at line 34 of file GeometricDet.h.
Definition at line 46 of file GeometricDet.h.
Definition at line 47 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 150 of file GeometricDet.cc.
References _ddd, DDFilteredView::navPos(), and nt.
GeometricDet::GeometricDet | ( | const PGeometricDet::Item & | onePGD, |
GeometricEnumType | dd | ||
) |
Definition at line 193 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, 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 76 of file GeometricDet.cc.
References deleteComponents().
void GeometricDet::addComponent | ( | GeometricDet * | det | ) |
Definition at line 302 of file GeometricDet.cc.
References _container.
Referenced by CmsDetConstruction::buildComponent(), CmsTrackerLayerBuilder::buildComponent(), CmsTrackerPetalBuilder::buildComponent(), CmsTrackerWheelBuilder::buildComponent(), CmsTrackerPhase1DiskBuilder::buildComponent(), CmsTrackerDiskBuilder::buildComponent(), CmsTrackerOTDiscBuilder::buildComponent(), CmsTrackerSubStrctBuilder::buildComponent(), CmsTrackerPixelPhase1EndcapBuilder::buildComponent(), CmsTrackerPixelPhase2EndcapBuilder::buildComponent(), CmsTrackerBuilder::buildComponent(), and CmsDetConstruction::buildSmallDets().
void GeometricDet::addComponents | ( | GeometricDetContainer const & | cont | ) |
Definition at line 290 of file GeometricDet.cc.
References _container, and filterCSVwithJSON::copy.
Referenced by CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), and CmsTrackerOTDiscBuilder::sortNS().
void GeometricDet::addComponents | ( | ConstGeometricDetContainer const & | cont | ) |
std::unique_ptr< Bounds > GeometricDet::bounds | ( | ) | const |
Definition at line 338 of file GeometricDet.cc.
References _params, _shape, and TrackerShapeToBounds::buildBounds().
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
clearComponents() only empties the container, the components are not deleted!
Definition at line 96 of file GeometricDet.h.
References _container.
Referenced by CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), and CmsTrackerOTDiscBuilder::sortNS().
|
inline |
Definition at line 112 of file GeometricDet.h.
References _container, and cmsHarvester::index.
Referenced by CmsTrackerDetIdBuilder::iterate(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerOTRingBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerOTDiscBuilder::sortNS(), CmsTrackerPixelPhase2EndcapBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerPixelPhase1EndcapBuilder::sortNS(), and CmsTrackerBuilder::sortNS().
|
inline |
components() returns explicit components; please note that in case of a leaf GeometricDet it returns nothing (an empty vector)
Definition at line 174 of file GeometricDet.h.
References _container.
Referenced by GeometricDetLoader::beginRun(), PGeometricDetBuilder::beginRun(), PixelRodBuilder::build(), TIDRingBuilder::build(), TECLayerBuilder::build(), TECPetalBuilder::build(), TECWedgeBuilder::build(), TIBLayerBuilder::build(), TIDLayerBuilder::build(), TOBLayerBuilder::build(), TOBRodBuilder::build(), Phase2OTBarrelLayerBuilder::build(), Phase2OTBarrelRodBuilder::build(), Phase2OTECRingBuilder::build(), Phase2OTECRingedLayerBuilder::build(), PixelBarrelLayerBuilder::build(), TrackerGeomBuilderFromGeometricDet::build(), GeometricSearchTrackerBuilder::build(), PixelForwardLayerBuilder< T1, T2 >::build(), PixelBladeBuilder< T >::build(), CmsTrackerDebugNavigator::iterate(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerLevelBuilder::ExtractPhiModule::operator()(), TrackerGeometricDetExtraESModule::produce(), CmsTrackerRodBuilder::sortNS(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerOTRingBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerOTDiscBuilder::sortNS(), CmsTrackerPixelPhase1EndcapBuilder::sortNS(), CmsTrackerPixelPhase2EndcapBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerBuilder::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 268 of file GeometricDet.cc.
Referenced by GeometricDetLoader::beginRun(), PGeometricDetBuilder::beginRun(), TrackerGeomBuilderFromGeometricDet::build(), TouchableToHistory::buildAll(), TrackerMapDDDtoID::buildAllStep2(), CmsTrackerLevelBuilder::ExtractPhiGluedModule::operator()(), CmsTrackerLevelBuilder::LessR_module::operator()(), and TrackerGeometricDetExtraESModule::produce().
void GeometricDet::deepComponents | ( | ConstGeometricDetContainer & | cont | ) | const |
Definition at line 278 of file GeometricDet.cc.
References _container, and isLeaf().
void GeometricDet::deleteComponents | ( | ) |
deleteComponents() explicitly deletes the daughters
Definition at line 313 of file GeometricDet.cc.
References _container.
Referenced by ~GeometricDet().
|
inline |
geometricalID() returns the ID associated to the GeometricDet.
Definition at line 206 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), CmsTrackerDetIdBuilder::iterate(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 210 of file GeometricDet.h.
References _geographicalID.
Referenced by TrackerGeometricDetExtraESModule::putOne().
|
inline |
Definition at line 107 of file GeometricDet.h.
References _container.
Referenced by deepComponents().
|
inline |
Definition at line 144 of file GeometricDet.h.
References _ddname.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), CmsTrackerLevelBuilder::build(), CmsTrackerPixelPhase1EndcapBuilder::buildComponent(), CmsTrackerPixelPhase2EndcapBuilder::buildComponent(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), CmsTrackerDebugNavigator::iterate(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
|
inline |
|
inline |
Definition at line 149 of file GeometricDet.h.
References _ddd.
Referenced by TrackerGeometricDetExtraESModule::produce(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 163 of file GeometricDet.h.
References _params.
Referenced by GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and CmsTrackerLayerBuilder::sortNS().
|
inline |
Definition at line 127 of file GeometricDet.h.
References _phi.
Referenced by Particle.Particle::__str__(), CmsTrackerLevelBuilder::ExtractPhi::operator()(), CmsTrackerLevelBuilder::ExtractPhiMirror::operator()(), CmsTrackerPhase1DiskBuilder::PhiSort(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 266 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 262 of file GeometricDet.h.
References _pixROCRows.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 270 of file GeometricDet.h.
References _pixROCx.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 274 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 320 of file GeometricDet.cc.
References _trans.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 251 of file GeometricDet.h.
References _radLength.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 131 of file GeometricDet.h.
References _rho.
Referenced by Lepton.Lepton::absIsoFromEA(), CmsTrackerLevelBuilder::LessR::operator()(), 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 328 of file GeometricDet.cc.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
set or add or clear components
Definition at line 80 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), CmsDetConstruction::buildSmallDets(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerStringBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerOTRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerPixelPhase2EndcapBuilder::sortNS(), CmsTrackerPixelPhase1EndcapBuilder::sortNS(), and CmsTrackerBuilder::sortNS().
|
inline |
Definition at line 136 of file GeometricDet.h.
References _shape.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 286 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 282 of file GeometricDet.h.
References _stereo.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 123 of file GeometricDet.h.
References _trans.
Referenced by CmsTrackerDetIdBuilder::iterate(), CmsTrackerLevelBuilder::PhiSortNP::operator()(), CmsTrackerLevelBuilder::LessZ::operator()(), CmsTrackerLevelBuilder::LessModZ::operator()(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), and CmsTrackerWheelBuilder::sortNS().
|
inline |
Definition at line 140 of file GeometricDet.h.
References _type.
Referenced by cuy.ValElement::__init__(), CmsTrackerLevelBuilder::build(), CmsTrackerLevelBuilder::subDetByType::operator()(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 255 of file GeometricDet.h.
References _xi.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
private |
what it says... used the DD in memory model to build the geometry... or not.
Definition at line 303 of file GeometricDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), and isLeaf().
|
private |
Definition at line 309 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), navRange(), and navType().
|
private |
Definition at line 310 of file GeometricDet.h.
Referenced by name().
|
private |
Definition at line 314 of file GeometricDet.h.
Referenced by geographicalID(), geographicalId(), and setGeographicalID().
|
private |
Definition at line 312 of file GeometricDet.h.
|
private |
Definition at line 305 of file GeometricDet.h.
Referenced by phi().
|
private |
Definition at line 326 of file GeometricDet.h.
Referenced by pixROCCols().
|
private |
Definition at line 325 of file GeometricDet.h.
Referenced by pixROCRows().
|
private |
Definition at line 327 of file GeometricDet.h.
Referenced by pixROCx().
|
private |
Definition at line 328 of file GeometricDet.h.
Referenced by pixROCy().
|
private |
Definition at line 323 of file GeometricDet.h.
Referenced by radLength().
|
private |
Definition at line 306 of file GeometricDet.h.
Referenced by rho().
|
private |
Definition at line 307 of file GeometricDet.h.
Referenced by rotation(), and rotationBounds().
|
private |
Definition at line 308 of file GeometricDet.h.
|
private |
Definition at line 330 of file GeometricDet.h.
Referenced by siliconAPVNum().
|
private |
Definition at line 329 of file GeometricDet.h.
Referenced by stereo().
|
private |
Definition at line 304 of file GeometricDet.h.
Referenced by positionBounds(), and translation().
|
private |
Definition at line 311 of file GeometricDet.h.
Referenced by type().
|
private |
Definition at line 324 of file GeometricDet.h.
Referenced by xi().