#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, OTPhase2Stack =215, PixelPhase2Barrel =201, PixelPhase2EndCap =202, OTPhase2Wheel =209, PixelPhase2FullDisk =217, PixelPhase2ReducedDisk =227, PixelPhase2TDRDisk =237 } |
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.
Referenced by ~GeometricDet().
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, _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 76 of file GeometricDet.cc.
References SeedingMigration::_copy(), _ddd, _ddname, _params, _phi, _pixROCCols, _pixROCRows, _pixROCx, _pixROCy, _radLength, _rho, _rot, _shape, _siliconAPVNum, _stereo, _trans, _type, _xi, DDExpandedView::copyno(), deleteComponents(), ev, DDName::fullname(), DDExpandedView::geoHistory(), GeometricDet(), DDExpandedView::goTo(), DDExpandedView::logicalPart(), name(), DDExpandedView::navPos(), DDExpandedView::rotation(), shape(), and DDExpandedView::translation().
Referenced by params().
void GeometricDet::addComponent | ( | GeometricDet * | det | ) |
Definition at line 302 of file GeometricDet.cc.
References _container.
Referenced by CmsDetConstruction::buildComponent(), CmsTrackerOTLayerBuilder::buildComponent(), CmsTrackerPetalBuilder::buildComponent(), CmsTrackerLayerBuilder::buildComponent(), CmsTrackerWheelBuilder::buildComponent(), CmsTrackerPixelPhase2DiskBuilder::buildComponent(), CmsTrackerOTDiscBuilder::buildComponent(), CmsTrackerPhase1DiskBuilder::buildComponent(), CmsTrackerPhase2TPDiskBuilder::buildComponent(), CmsTrackerDiskBuilder::buildComponent(), CmsTrackerPixelPhase1EndcapBuilder::buildComponent(), CmsTrackerSubStrctBuilder::buildComponent(), CmsTrackerPixelPhase2EndcapBuilder::buildComponent(), CmsTrackerBuilder::buildComponent(), CmsDetConstruction::buildSmallDetsforGlued(), CmsDetConstruction::buildSmallDetsforStack(), and setGeographicalID().
void GeometricDet::addComponents | ( | GeometricDetContainer const & | cont | ) |
Definition at line 290 of file GeometricDet.cc.
References _container, and popcon2dropbox::copy().
Referenced by setGeographicalID(), CmsTrackerOTLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerOTDiscBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), CmsTrackerPixelPhase2DiskBuilder::sortNS(), and CmsTrackerPhase2TPDiskBuilder::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 TrackerGeometry::fillTestMap(), geographicalId(), and PlaneBuilderFromGeometricDet::plane().
|
inline |
clearComponents() only empties the container, the components are not deleted!
Definition at line 98 of file GeometricDet.h.
References _container, and deleteComponents().
Referenced by CmsTrackerLayerBuilder::sortNS(), CmsTrackerOTLayerBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerPhase2TPDiskBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), CmsTrackerOTDiscBuilder::sortNS(), and CmsTrackerPixelPhase2DiskBuilder::sortNS().
|
inline |
Definition at line 114 of file GeometricDet.h.
References _container.
Referenced by CmsTrackerDetIdBuilder::iterate(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerOTRingBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerPixelPhase2RingBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerOTLayerBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerPixelPhase2DiskBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerOTDiscBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), CmsTrackerPhase2TPDiskBuilder::sortNS(), CmsTrackerPixelPhase2EndcapBuilder::sortNS(), CmsTrackerPixelPhase1EndcapBuilder::sortNS(), CmsTrackerSubStrctBuilder::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 176 of file GeometricDet.h.
References _container.
Referenced by GeometricDetLoader::beginRun(), PGeometricDetBuilder::beginRun(), Phase2OTBarrelLayerBuilder::build(), TIDRingBuilder::build(), Phase2OTBarrelRodBuilder::build(), PixelBarrelLayerBuilder::build(), PixelRodBuilder::build(), TECLayerBuilder::build(), TECPetalBuilder::build(), TECWedgeBuilder::build(), TIBLayerBuilder::build(), TIDLayerBuilder::build(), TOBLayerBuilder::build(), TOBRodBuilder::build(), Phase2EndcapLayerBuilder::build(), Phase2EndcapRingBuilder::build(), TrackerGeomBuilderFromGeometricDet::build(), GeometricSearchTrackerBuilder::build(), PixelBladeBuilder< T >::build(), PixelForwardLayerBuilder< T1, T2 >::build(), CmsTrackerDebugNavigator::iterate(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerLevelBuilder::ExtractPhiModule::operator()(), TrackerGeometricDetExtraESModule::produce(), CmsTrackerRingBuilder::sortNS(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerPixelPhase2RingBuilder::sortNS(), CmsTrackerOTRingBuilder::sortNS(), CmsTrackerRodBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerOTLayerBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerPixelPhase2DiskBuilder::sortNS(), CmsTrackerDiskBuilder::sortNS(), CmsTrackerPhase1DiskBuilder::sortNS(), CmsTrackerPhase2TPDiskBuilder::sortNS(), CmsTrackerOTDiscBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerPixelPhase2EndcapBuilder::sortNS(), CmsTrackerPixelPhase1EndcapBuilder::sortNS(), CmsTrackerBuilder::sortNS(), and TrackerGeometry::TrackerGeometry().
|
inline |
Definition at line 180 of file GeometricDet.h.
References _container, deepComponents(), and parents.
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(), TrackerG4SimHitNumberingScheme::buildAll(), TrackerMapDDDtoID::buildAllStep2(), components(), CmsTrackerLevelBuilder::ExtractPhiGluedModule::operator()(), CmsTrackerLevelBuilder::LessR_module::operator()(), TrackerGeometricDetExtraESModule::produce(), and TrackerGeometry::TrackerGeometry().
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 clearComponents(), and ~GeometricDet().
|
inline |
geometricalID() returns the ID associated to the GeometricDet.
Definition at line 208 of file GeometricDet.h.
References _geographicalID.
Referenced by CmsTrackerDetIdBuilder::buildId(), CmsTrackerDetIdBuilder::iterate(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 212 of file GeometricDet.h.
References SeedingMigration::_copy(), _geographicalID, bounds(), positionBounds(), rotationBounds(), AlCaHLTBitMon_QueryRunRegistry::string, and mps_merge::weight.
Referenced by TrackerGeometry::fillTestMap(), and TrackerGeometricDetExtraESModule::putOne().
|
inline |
Definition at line 109 of file GeometricDet.h.
References _container.
Referenced by deepComponents().
|
inline |
Definition at line 146 of file GeometricDet.h.
References _ddname.
Referenced by config.CFG::__str__(), CmsTrackerLevelBuilder::build(), CmsTrackerPixelPhase1EndcapBuilder::buildComponent(), CmsTrackerPixelPhase2EndcapBuilder::buildComponent(), validation.Sample::digest(), TrackerGeometry::fillTestMap(), VIDSelectorBase.VIDSelectorBase::initialize(), CmsTrackerDebugNavigator::iterate(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and ~GeometricDet().
|
inline |
|
inline |
|
inline |
Definition at line 151 of file GeometricDet.h.
References _ddd.
Referenced by TrackerGeometricDetExtraESModule::produce(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 165 of file GeometricDet.h.
References _params, and ~GeometricDet().
Referenced by GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and CmsTrackerLayerBuilder::sortNS().
|
inline |
Definition at line 129 of file GeometricDet.h.
References _phi.
Referenced by Particle.Particle::__str__(), CmsTrackerLevelBuilder::ExtractPhi::operator()(), CmsTrackerLevelBuilder::ExtractPhiMirror::operator()(), ntupleDataFormat.Track::phiPull(), CmsTrackerPhase1DiskBuilder::PhiSort(), CmsTrackerPhase2TPDiskBuilder::PhiSort(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 268 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 264 of file GeometricDet.h.
References _pixROCRows.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 272 of file GeometricDet.h.
References _pixROCx.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 276 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 geographicalId(), and PlaneBuilderFromGeometricDet::plane().
|
inline |
Definition at line 253 of file GeometricDet.h.
References _radLength.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 133 of file GeometricDet.h.
References _rho.
Referenced by Lepton.Lepton::absIsoFromEA(), Muon.Muon::absIsoWithFSR(), CmsTrackerLevelBuilder::LessR::operator()(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Access methods
Definition at line 121 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 geographicalId(), and PlaneBuilderFromGeometricDet::plane().
|
inline |
set or add or clear components
Definition at line 82 of file GeometricDet.h.
References _container, _geographicalID, addComponent(), addComponents(), and triggerObjects_cff::id.
Referenced by CmsTrackerDetIdBuilder::buildId(), CmsDetConstruction::buildSmallDetsforGlued(), CmsDetConstruction::buildSmallDetsforStack(), CmsTrackerDetIdBuilder::iterate(), CmsTrackerRodBuilder::sortNS(), CmsTrackerOTRingBuilder::sortNS(), CmsTrackerStringBuilder::sortNS(), CmsTrackerPanelBuilder::sortNS(), CmsTrackerPetalBuilder::sortNS(), CmsTrackerLayerBuilder::sortNS(), CmsTrackerPixelPhase2RingBuilder::sortNS(), CmsTrackerRingBuilder::sortNS(), CmsTrackerWheelBuilder::sortNS(), CmsTrackerLadderBuilder::sortNS(), CmsTrackerSubStrctBuilder::sortNS(), CmsTrackerPixelPhase1EndcapBuilder::sortNS(), CmsTrackerPixelPhase2EndcapBuilder::sortNS(), and CmsTrackerBuilder::sortNS().
|
inline |
Definition at line 138 of file GeometricDet.h.
References _shape.
Referenced by GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), and ~GeometricDet().
|
inline |
Definition at line 288 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 284 of file GeometricDet.h.
References _stereo.
Referenced by GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 125 of file GeometricDet.h.
References _trans.
Referenced by CmsTrackerDetIdBuilder::iterate(), CmsTrackerLevelBuilder::PhiSortNP::operator()(), CmsTrackerLevelBuilder::LessZ::operator()(), CmsTrackerLevelBuilder::LessModZ::operator()(), GeometricDetLoader::putOne(), PGeometricDetBuilder::putOne(), CmsTrackerRingBuilder::sortNS(), and CmsTrackerWheelBuilder::sortNS().
|
inline |
Definition at line 142 of file GeometricDet.h.
References _type.
Referenced by CmsTrackerLevelBuilder::build(), CmsTrackerLevelBuilder::subDetByType::operator()(), GeometricDetLoader::putOne(), and PGeometricDetBuilder::putOne().
|
inline |
Definition at line 257 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 305 of file GeometricDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), isLeaf(), and setGeographicalID().
|
private |
Definition at line 311 of file GeometricDet.h.
Referenced by GeometricDet(), navpos(), navRange(), navType(), and ~GeometricDet().
|
private |
Definition at line 312 of file GeometricDet.h.
Referenced by name(), and ~GeometricDet().
|
private |
Definition at line 316 of file GeometricDet.h.
Referenced by geographicalID(), geographicalId(), and setGeographicalID().
|
private |
Definition at line 314 of file GeometricDet.h.
Referenced by bounds(), GeometricDet(), params(), and ~GeometricDet().
|
private |
Definition at line 307 of file GeometricDet.h.
Referenced by phi(), and ~GeometricDet().
|
private |
Definition at line 328 of file GeometricDet.h.
Referenced by pixROCCols(), and ~GeometricDet().
|
private |
Definition at line 327 of file GeometricDet.h.
Referenced by pixROCRows(), and ~GeometricDet().
|
private |
Definition at line 329 of file GeometricDet.h.
Referenced by pixROCx(), and ~GeometricDet().
|
private |
Definition at line 330 of file GeometricDet.h.
Referenced by pixROCy(), and ~GeometricDet().
|
private |
Definition at line 325 of file GeometricDet.h.
Referenced by radLength(), and ~GeometricDet().
|
private |
Definition at line 308 of file GeometricDet.h.
Referenced by rho(), and ~GeometricDet().
|
private |
Definition at line 309 of file GeometricDet.h.
Referenced by rotation(), rotationBounds(), and ~GeometricDet().
|
private |
Definition at line 310 of file GeometricDet.h.
Referenced by bounds(), shape(), and ~GeometricDet().
|
private |
Definition at line 332 of file GeometricDet.h.
Referenced by siliconAPVNum(), and ~GeometricDet().
|
private |
Definition at line 331 of file GeometricDet.h.
Referenced by stereo(), and ~GeometricDet().
|
private |
Definition at line 306 of file GeometricDet.h.
Referenced by positionBounds(), translation(), and ~GeometricDet().
|
private |
Definition at line 313 of file GeometricDet.h.
Referenced by type(), and ~GeometricDet().
|
private |
Definition at line 326 of file GeometricDet.h.
Referenced by xi(), and ~GeometricDet().