#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, PixelEndCapPhase1 =20 } |
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.
Enumerator | |
---|---|
unknown | |
Tracker | |
PixelBarrel | |
PixelEndCap | |
TIB | |
TID | |
TOB | |
TEC | |
layer | |
wheel | |
strng | |
rod | |
petal | |
ring | |
ladder | |
mergedDet | |
DetUnit | |
disk | |
panel | |
PixelEndCapPhase1 |
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(), CmsTrackerDiskBuilder::buildComponent(), CmsTrackerSubStrctBuilder::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(), and CmsTrackerDiskBuilder::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 91 of file GeometricDet.h.
References _container.
Referenced by CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), and CmsTrackerDiskBuilder::sortNS().
|
inline |
Definition at line 107 of file GeometricDet.h.
References _container, and getHLTprescales::index.
Referenced by CmsTrackerDetIdBuilder::iterate(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerDiskBuilder::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 169 of file GeometricDet.h.
References _container.
Referenced by GeometricDetLoader::beginJob(), PGeometricDetBuilder::beginRun(), PixelBarrelLayerBuilder::build(), TIDRingBuilder::build(), PixelBladeBuilder::build(), PixelForwardLayerBuilder::build(), PixelRodBuilder::build(), TECLayerBuilder::build(), TECPetalBuilder::build(), TECWedgeBuilder::build(), TIBLayerBuilder::build(), TIDLayerBuilder::build(), TOBLayerBuilder::build(), TOBRodBuilder::build(), GeometricSearchTrackerBuilder::build(), CmsTrackerDebugNavigator::iterate(), CmsTrackerLevelBuilder::ExtractPhiModule::operator()(), TrackerGeometricDetExtraESModule::produce(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), and CmsTrackerBuilder::sortNS().
|
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::beginJob(), 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 201 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), CmsTrackerDetIdBuilder::iterate(), PixelGeomDetUnit::PixelGeomDetUnit(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and StripGeomDetUnit::StripGeomDetUnit().
|
inline |
Definition at line 205 of file GeometricDet.h.
References _geographicalID.
Referenced by TrackerGeometricDetExtraESModule::putOne().
|
inline |
Definition at line 102 of file GeometricDet.h.
References _container.
Referenced by deepComponents().
|
inline |
Definition at line 139 of file GeometricDet.h.
References _ddname.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), CmsTrackerDebugNavigator::iterate(), PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
|
inline |
|
inline |
Definition at line 144 of file GeometricDet.h.
References _ddd.
Referenced by TrackerGeometricDetExtraESModule::produce(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 158 of file GeometricDet.h.
References _params.
Referenced by PGeometricDetBuilder::putOne(), GeometricDetLoader::putOne(), and CmsTrackerLayerBuilder::sortNS().
|
inline |
Definition at line 122 of file GeometricDet.h.
References _phi.
Referenced by CmsTrackerLevelBuilder::ExtractPhi::operator()(), CmsTrackerLevelBuilder::ExtractPhiMirror::operator()(), PhiSort(), PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 261 of file GeometricDet.h.
References _pixROCCols.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
The following four pix* methods only return meaningful results for pixels.
Definition at line 257 of file GeometricDet.h.
References _pixROCRows.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 265 of file GeometricDet.h.
References _pixROCx.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 269 of file GeometricDet.h.
References _pixROCy.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::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 246 of file GeometricDet.h.
References _radLength.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 126 of file GeometricDet.h.
References _rho.
Referenced by CmsTrackerLevelBuilder::LessR::operator()(), PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Access methods
Definition at line 114 of file GeometricDet.h.
References _rot.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
GeometricDet::Rotation GeometricDet::rotationBounds | ( | ) | const |
rotationBounds() returns the rotation matrix.
Definition at line 328 of file GeometricDet.cc.
References _rot, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
set or add or clear components
Definition at line 75 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), CmsDetConstruction::buildSmallDets(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerStringBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), and CmsTrackerBuilder::sortNS().
|
inline |
Definition at line 131 of file GeometricDet.h.
References _shape.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 281 of file GeometricDet.h.
References _siliconAPVNum.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
The following two are only meaningful for the silicon tracker.
Definition at line 277 of file GeometricDet.h.
References _stereo.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 118 of file GeometricDet.h.
References _trans.
Referenced by CmsTrackerDetIdBuilder::iterate(), CmsTrackerLevelBuilder::LessZ::operator()(), CmsTrackerLevelBuilder::LessModZ::operator()(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), and CmsTrackerWheelBuilder::sortNS().
|
inline |
Definition at line 135 of file GeometricDet.h.
References _type.
Referenced by cuy.ValElement::__init__(), PixelForwardLayerBuilder::build(), CmsTrackerLevelBuilder::subDetByType::operator()(), PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 250 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 298 of file GeometricDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), and isLeaf().
|
private |
Definition at line 304 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), navRange(), and navType().
|
private |
Definition at line 305 of file GeometricDet.h.
Referenced by name().
|
private |
Definition at line 309 of file GeometricDet.h.
Referenced by geographicalID(), geographicalId(), and setGeographicalID().
|
private |
Definition at line 307 of file GeometricDet.h.
|
private |
Definition at line 300 of file GeometricDet.h.
Referenced by phi().
|
private |
Definition at line 321 of file GeometricDet.h.
Referenced by pixROCCols().
|
private |
Definition at line 320 of file GeometricDet.h.
Referenced by pixROCRows().
|
private |
Definition at line 322 of file GeometricDet.h.
Referenced by pixROCx().
|
private |
Definition at line 323 of file GeometricDet.h.
Referenced by pixROCy().
|
private |
Definition at line 318 of file GeometricDet.h.
Referenced by radLength().
|
private |
Definition at line 301 of file GeometricDet.h.
Referenced by rho().
|
private |
Definition at line 302 of file GeometricDet.h.
Referenced by rotation(), and rotationBounds().
|
private |
Definition at line 303 of file GeometricDet.h.
|
private |
Definition at line 325 of file GeometricDet.h.
Referenced by siliconAPVNum().
|
private |
Definition at line 324 of file GeometricDet.h.
Referenced by stereo().
|
private |
Definition at line 299 of file GeometricDet.h.
Referenced by positionBounds(), and translation().
|
private |
Definition at line 306 of file GeometricDet.h.
Referenced by type().
|
private |
Definition at line 319 of file GeometricDet.h.
Referenced by xi().