#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 const * > | 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 | |
GeometricDetContainer | _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 29 of file GeometricDet.h.
typedef std::vector< GeometricDet const *> GeometricDet::ConstGeometricDetContainer |
Definition at line 35 of file GeometricDet.h.
Definition at line 32 of file GeometricDet.h.
typedef std::vector<DDExpandedNode> GeometricDet::GeoHistory |
Definition at line 42 of file GeometricDet.h.
typedef std::vector< GeometricDet const *> GeometricDet::GeometricDetContainer |
Definition at line 36 of file GeometricDet.h.
typedef enum GeometricDet::GDEnumType GeometricDet::GeometricEnumType |
Definition at line 43 of file GeometricDet.h.
Definition at line 33 of file GeometricDet.h.
Definition at line 45 of file GeometricDet.h.
Definition at line 46 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 51 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 300 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 289 of file GeometricDet.cc.
References _container, cont, and filterCSVwithJSON::copy.
Referenced by CmsTrackerLayerBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), and CmsTrackerDiskBuilder::sortNS().
Bounds * GeometricDet::bounds | ( | ) | const |
Definition at line 336 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 89 of file GeometricDet.h.
References _container.
Referenced by CmsTrackerLayerBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), and CmsTrackerDiskBuilder::sortNS().
|
inline |
components() returns explicit components; please note that in case of a leaf GeometricDet it returns nothing (an empty vector)
Definition at line 163 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(), deepComponents(), CmsTrackerLevelBuilder::ExtractPhiGluedModule::operator()(), CmsTrackerLevelBuilder::LessR_module::operator()(), and TrackerGeometricDetExtraESModule::produce().
void GeometricDet::deepComponents | ( | GeometricDetContainer & | cont | ) | const |
Definition at line 278 of file GeometricDet.cc.
References _container, deepComponents(), and isLeaf().
void GeometricDet::deleteComponents | ( | ) |
deleteComponents() explicitly deletes the daughters
Definition at line 311 of file GeometricDet.cc.
References _container.
Referenced by ~GeometricDet().
|
inline |
geometricalID() returns the ID associated to the GeometricDet.
Definition at line 195 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), PixelGeomDetUnit::PixelGeomDetUnit(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and StripGeomDetUnit::StripGeomDetUnit().
|
inline |
Definition at line 199 of file GeometricDet.h.
References _geographicalID.
Referenced by TrackerGeometricDetExtraESModule::putOne().
|
inline |
Definition at line 100 of file GeometricDet.h.
References _container.
Referenced by deepComponents().
|
inline |
Definition at line 133 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 138 of file GeometricDet.h.
References _ddd.
Referenced by TrackerGeometricDetExtraESModule::produce(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 152 of file GeometricDet.h.
References _params.
Referenced by PGeometricDetBuilder::putOne(), GeometricDetLoader::putOne(), and CmsTrackerLayerBuilder::sortNS().
|
inline |
Definition at line 116 of file GeometricDet.h.
References _phi.
Referenced by CmsTrackerLevelBuilder::ExtractPhi::operator()(), CmsTrackerLevelBuilder::ExtractPhiMirror::operator()(), PhiSort(), PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 255 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 251 of file GeometricDet.h.
References _pixROCRows.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 259 of file GeometricDet.h.
References _pixROCx.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 263 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 318 of file GeometricDet.cc.
References _trans.
Referenced by PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 240 of file GeometricDet.h.
References _radLength.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 120 of file GeometricDet.h.
References _rho.
Referenced by CmsTrackerLevelBuilder::LessR::operator()(), PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Access methods
Definition at line 108 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 326 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 74 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), and CmsDetConstruction::buildSmallDets().
|
inline |
Definition at line 125 of file GeometricDet.h.
References _shape.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 275 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 271 of file GeometricDet.h.
References _stereo.
Referenced by PGeometricDetBuilder::putOne(), and GeometricDetLoader::putOne().
|
inline |
Definition at line 112 of file GeometricDet.h.
References _trans.
Referenced by CmsTrackerLevelBuilder::LessZ::operator()(), CmsTrackerLevelBuilder::LessModZ::operator()(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), CmsTrackerRingBuilder::sortNS(), and CmsTrackerWheelBuilder::sortNS().
|
inline |
Definition at line 129 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 244 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 292 of file GeometricDet.h.
Referenced by argparse._MutuallyExclusiveGroup::__init__(), addComponent(), addComponents(), clearComponents(), components(), deepComponents(), deleteComponents(), and isLeaf().
|
private |
Definition at line 298 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), navRange(), and navType().
|
private |
Definition at line 299 of file GeometricDet.h.
Referenced by name().
|
mutableprivate |
Definition at line 303 of file GeometricDet.h.
Referenced by geographicalID(), geographicalId(), and setGeographicalID().
|
private |
Definition at line 301 of file GeometricDet.h.
|
private |
Definition at line 294 of file GeometricDet.h.
Referenced by phi().
|
private |
Definition at line 315 of file GeometricDet.h.
Referenced by pixROCCols().
|
private |
Definition at line 314 of file GeometricDet.h.
Referenced by pixROCRows().
|
private |
Definition at line 316 of file GeometricDet.h.
Referenced by pixROCx().
|
private |
Definition at line 317 of file GeometricDet.h.
Referenced by pixROCy().
|
private |
Definition at line 312 of file GeometricDet.h.
Referenced by radLength().
|
private |
Definition at line 295 of file GeometricDet.h.
Referenced by rho().
|
private |
Definition at line 296 of file GeometricDet.h.
Referenced by rotation(), and rotationBounds().
|
private |
Definition at line 297 of file GeometricDet.h.
|
private |
Definition at line 319 of file GeometricDet.h.
Referenced by siliconAPVNum().
|
private |
Definition at line 318 of file GeometricDet.h.
Referenced by stereo().
|
private |
Definition at line 293 of file GeometricDet.h.
Referenced by positionBounds(), and translation().
|
private |
Definition at line 300 of file GeometricDet.h.
Referenced by type().
|
private |
Definition at line 313 of file GeometricDet.h.
Referenced by xi().