#include <GeometricTimingDet.h>
Public Types | |
typedef std::vector< GeometricTimingDet const * > | ConstGeometricTimingDetContainer |
typedef DDExpandedView::nav_type | DDnav_type |
typedef std::vector< DDExpandedNode > | GeoHistory |
typedef std::vector< GeometricTimingDet * > | GeometricTimingDetContainer |
typedef enum GeometricTimingDet::GTDEnumType | GeometricTimingEnumType |
enum | GTDEnumType { unknown =100, MTD =0, BTL =1, BTLLayer =2, BTLTray =3, BTLModule =4, BTLSensor =5, BTLCrystal =6, ETL =7, ETLDisc =8, ETLRing =9, ETLModule =10, ETLSensor =11 } |
typedef DDExpandedView::nav_type | nav_type |
typedef DDExpandedView::NavRange | NavRange |
typedef Surface::PositionType | Position |
typedef Surface::RotationType | Rotation |
Private Attributes | |
ConstGeometricTimingDetContainer | 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_ |
GeometricTimingEnumType | type_ |
double | xi_ |
Composite class GeometricTimingDet. A composite can contain other composites, and so on; You can understand what you are looking at via enum.
Definition at line 26 of file GeometricTimingDet.h.
typedef std::vector< GeometricTimingDet const *> GeometricTimingDet::ConstGeometricTimingDetContainer |
Definition at line 32 of file GeometricTimingDet.h.
Definition at line 29 of file GeometricTimingDet.h.
typedef std::vector<DDExpandedNode> GeometricTimingDet::GeoHistory |
Definition at line 39 of file GeometricTimingDet.h.
typedef std::vector< GeometricTimingDet *> GeometricTimingDet::GeometricTimingDetContainer |
Definition at line 33 of file GeometricTimingDet.h.
Definition at line 40 of file GeometricTimingDet.h.
Definition at line 30 of file GeometricTimingDet.h.
Definition at line 42 of file GeometricTimingDet.h.
Definition at line 43 of file GeometricTimingDet.h.
Enumerator | |
---|---|
unknown | |
MTD | |
BTL | |
BTLLayer | |
BTLTray | |
BTLModule | |
BTLSensor | |
BTLCrystal | |
ETL | |
ETLDisc | |
ETLRing | |
ETLModule | |
ETLSensor |
Definition at line 48 of file GeometricTimingDet.h.
GeometricTimingDet::GeometricTimingDet | ( | DDFilteredView * | fv, |
GeometricTimingEnumType | dd | ||
) |
Constructors to be used when looping over DDD
Definition at line 149 of file GeometricTimingDet.cc.
References ddd_, DDFilteredView::navPos(), and nt.
Referenced by ~GeometricTimingDet().
GeometricTimingDet::GeometricTimingDet | ( | const PGeometricTimingDet::Item & | onePGD, |
GeometricTimingEnumType | dd | ||
) |
Definition at line 190 of file GeometricTimingDet.cc.
References ddd_, PGeometricTimingDet::Item::nt0_, PGeometricTimingDet::Item::nt10_, PGeometricTimingDet::Item::nt1_, PGeometricTimingDet::Item::nt2_, PGeometricTimingDet::Item::nt3_, PGeometricTimingDet::Item::nt4_, PGeometricTimingDet::Item::nt5_, PGeometricTimingDet::Item::nt6_, PGeometricTimingDet::Item::nt7_, PGeometricTimingDet::Item::nt8_, PGeometricTimingDet::Item::nt9_, PGeometricTimingDet::Item::numnt_, params_, PGeometricTimingDet::Item::params_0, PGeometricTimingDet::Item::params_1, PGeometricTimingDet::Item::params_10, PGeometricTimingDet::Item::params_2, PGeometricTimingDet::Item::params_3, PGeometricTimingDet::Item::params_4, PGeometricTimingDet::Item::params_5, PGeometricTimingDet::Item::params_6, PGeometricTimingDet::Item::params_7, PGeometricTimingDet::Item::params_8, PGeometricTimingDet::Item::params_9, and PGeometricTimingDet::Item::shape_.
GeometricTimingDet::~GeometricTimingDet | ( | ) |
What to do in the destructor? destroy all the daughters!
Definition at line 76 of file GeometricTimingDet.cc.
References DDExpandedView::copyno(), ddd_, ddname_, deleteComponents(), ev, DDName::fullname(), DDExpandedView::geoHistory(), GeometricTimingDet(), DDExpandedView::goTo(), DDExpandedView::logicalPart(), name(), DDExpandedView::navPos(), params_, phi_, pixROCCols_, pixROCRows_, pixROCx_, pixROCy_, radLength_, rho_, rot_, DDExpandedView::rotation(), shape(), shape_, siliconAPVNum_, stereo_, trans_, DDExpandedView::translation(), type_, and xi_.
Referenced by params().
void GeometricTimingDet::addComponent | ( | GeometricTimingDet * | det | ) |
Definition at line 296 of file GeometricTimingDet.cc.
References container_.
Referenced by CmsMTDConstruction::buildBTLModule(), CmsMTDConstruction::buildComponent(), CmsMTDTrayBuilder::buildComponent(), CmsMTDDiscBuilder::buildComponent(), CmsMTDSubStrctBuilder::buildComponent(), CmsMTDEndcapBuilder::buildComponent(), CmsMTDBuilder::buildComponent(), CmsMTDConstruction::buildETLModule(), and setGeographicalID().
void GeometricTimingDet::addComponents | ( | GeometricTimingDetContainer const & | cont | ) |
Definition at line 286 of file GeometricTimingDet.cc.
References container_, and popcon2dropbox::copy().
Referenced by setGeographicalID(), and CmsMTDTrayBuilder::sortNS().
void GeometricTimingDet::addComponents | ( | ConstGeometricTimingDetContainer const & | cont | ) |
Definition at line 291 of file GeometricTimingDet.cc.
References container_, and popcon2dropbox::copy().
std::unique_ptr< Bounds > GeometricTimingDet::bounds | ( | ) | const |
Definition at line 328 of file GeometricTimingDet.cc.
References TrackerShapeToBounds::buildBounds(), params_, and shape_.
Referenced by MTDGeometry::fillTestMap(), geographicalId(), and PlaneBuilderFromGeometricTimingDet::plane().
|
inline |
clearComponents() only empties the container, the components are not deleted!
Definition at line 83 of file GeometricTimingDet.h.
References container_, and deleteComponents().
Referenced by CmsMTDTrayBuilder::sortNS().
|
inline |
Definition at line 97 of file GeometricTimingDet.h.
References container_.
Referenced by CmsMTDDetIdBuilder::iterate(), CmsMTDTrayBuilder::sortNS(), CmsMTDDiscBuilder::sortNS(), CmsMTDEndcapBuilder::sortNS(), CmsMTDSubStrctBuilder::sortNS(), and CmsMTDBuilder::sortNS().
|
inline |
components() returns explicit components; please note that in case of a leaf GeometricTimingDet it returns nothing (an empty vector)
Definition at line 149 of file GeometricTimingDet.h.
References container_.
Referenced by GeometricTimingDetLoader::beginRun(), MTDGeomBuilderFromGeometricTimingDet::build(), CmsMTDLevelBuilder::getPhiModule(), CmsMTDDebugNavigator::iterate(), CmsMTDDetIdBuilder::iterate(), MTDGeometry::MTDGeometry(), MTDGeometricTimingDetExtraESModule::produce(), CmsMTDTrayBuilder::sortNS(), CmsMTDETLRingBuilder::sortNS(), CmsMTDModuleBuilder::sortNS(), CmsMTDDiscBuilder::sortNS(), CmsMTDSubStrctBuilder::sortNS(), CmsMTDEndcapBuilder::sortNS(), and CmsMTDBuilder::sortNS().
|
inline |
Definition at line 152 of file GeometricTimingDet.h.
References container_, deepComponents(), and parents.
GeometricTimingDet::ConstGeometricTimingDetContainer GeometricTimingDet::deepComponents | ( | ) | const |
deepComponents() returns all the components below; please note that if the current GeometricTimingDet is a leaf, it returns it!
Definition at line 265 of file GeometricTimingDet.cc.
References groupFilesInBlocks::temp.
Referenced by GeometricTimingDetLoader::beginRun(), MTDGeomBuilderFromGeometricTimingDet::build(), MTDMapDDDtoID::buildAllStep2(), components(), CmsMTDLevelBuilder::getPhiGluedModule(), CmsMTDLevelBuilder::isLessRModule(), MTDGeometry::MTDGeometry(), and MTDGeometricTimingDetExtraESModule::produce().
void GeometricTimingDet::deepComponents | ( | ConstGeometricTimingDetContainer & | cont | ) | const |
Definition at line 274 of file GeometricTimingDet.cc.
References container_, and isLeaf().
void GeometricTimingDet::deleteComponents | ( | ) |
deleteComponents() explicitly deletes the daughters
Definition at line 306 of file GeometricTimingDet.cc.
References container_.
Referenced by clearComponents(), and ~GeometricTimingDet().
|
inline |
geometricalID() returns the ID associated to the GeometricTimingDet.
Definition at line 177 of file GeometricTimingDet.h.
References geographicalID_.
Referenced by CmsMTDDetIdBuilder::buildId(), CmsMTDDetIdBuilder::iterate(), and GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 180 of file GeometricTimingDet.h.
References bounds(), geographicalID_, positionBounds(), rotationBounds(), AlCaHLTBitMon_QueryRunRegistry::string, and mps_merge::weight.
Referenced by MTDGeometry::fillTestMap(), and MTDGeometricTimingDetExtraESModule::putOne().
|
inline |
Definition at line 93 of file GeometricTimingDet.h.
References container_.
Referenced by deepComponents().
|
inline |
Definition at line 123 of file GeometricTimingDet.h.
References ddname_.
Referenced by config.CFG::__str__(), CmsMTDLevelBuilder::build(), CmsMTDEndcapBuilder::buildComponent(), CmsMTDConstruction::buildETLModule(), validation.Sample::digest(), MTDGeometry::fillTestMap(), VIDSelectorBase.VIDSelectorBase::initialize(), CmsMTDDebugNavigator::iterate(), GeometricTimingDetLoader::putOne(), and ~GeometricTimingDet().
|
inline |
|
inline |
|
inline |
Definition at line 127 of file GeometricTimingDet.h.
References ddd_.
Referenced by MTDGeometricTimingDetExtraESModule::produce().
|
inline |
Definition at line 138 of file GeometricTimingDet.h.
References params_, and ~GeometricTimingDet().
Referenced by GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 110 of file GeometricTimingDet.h.
References phi_.
Referenced by Particle.Particle::__str__(), CmsMTDLevelBuilder::getPhi(), CmsMTDLevelBuilder::getPhiMirror(), ntupleDataFormat.Track::phiPull(), and GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 227 of file GeometricTimingDet.h.
References pixROCCols_.
Referenced by GeometricTimingDetLoader::putOne().
|
inline |
The following four pix* methods only return meaningful results for pixels.
Definition at line 224 of file GeometricTimingDet.h.
References pixROCRows_.
Referenced by GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 230 of file GeometricTimingDet.h.
References pixROCx_.
Referenced by GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 233 of file GeometricTimingDet.h.
References pixROCy_.
Referenced by GeometricTimingDetLoader::putOne().
GeometricTimingDet::Position GeometricTimingDet::positionBounds | ( | ) | const |
positionBounds() returns the position in cm.
Definition at line 312 of file GeometricTimingDet.cc.
References trans_.
Referenced by geographicalId(), and PlaneBuilderFromGeometricTimingDet::plane().
|
inline |
Definition at line 215 of file GeometricTimingDet.h.
References radLength_.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPlaneWithMaterial(), and GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 113 of file GeometricTimingDet.h.
References rho_.
Referenced by Lepton.Lepton::absIsoFromEA(), Muon.Muon::absIsoWithFSR(), CmsMTDLevelBuilder::isLessR(), and GeometricTimingDetLoader::putOne().
|
inline |
Access methods
Definition at line 104 of file GeometricTimingDet.h.
References rot_.
Referenced by GeometricTimingDetLoader::putOne(), and rotationBounds().
GeometricTimingDet::Rotation GeometricTimingDet::rotationBounds | ( | ) | const |
rotationBounds() returns the rotation matrix.
Definition at line 319 of file GeometricTimingDet.cc.
References rot_, rotation(), x, y, and z.
Referenced by geographicalId(), and PlaneBuilderFromGeometricTimingDet::plane().
|
inline |
set or add or clear components
Definition at line 67 of file GeometricTimingDet.h.
References addComponent(), addComponents(), container_, geographicalID_, and triggerObjects_cff::id.
Referenced by CmsMTDConstruction::buildBTLModule(), CmsMTDConstruction::buildETLModule(), CmsMTDDetIdBuilder::buildId(), CmsMTDDetIdBuilder::iterate(), CmsMTDDiscBuilder::sortNS(), CmsMTDSubStrctBuilder::sortNS(), CmsMTDEndcapBuilder::sortNS(), and CmsMTDBuilder::sortNS().
|
inline |
Definition at line 117 of file GeometricTimingDet.h.
References shape_.
Referenced by GeometricTimingDetLoader::putOne(), and ~GeometricTimingDet().
|
inline |
Definition at line 243 of file GeometricTimingDet.h.
References siliconAPVNum_.
Referenced by GeometricTimingDetLoader::putOne().
|
inline |
The following two are only meaningful for the silicon tracker.
Definition at line 240 of file GeometricTimingDet.h.
References stereo_.
Referenced by GeometricTimingDetLoader::putOne().
|
inline |
Definition at line 107 of file GeometricTimingDet.h.
References trans_.
Referenced by CmsMTDConstruction::buildETLModule(), CmsMTDLevelBuilder::isLessModZ(), CmsMTDLevelBuilder::isLessZ(), CmsMTDDetIdBuilder::iterate(), CmsMTDLevelBuilder::phiSortNP(), GeometricTimingDetLoader::putOne(), CmsMTDDiscBuilder::sortNS(), CmsMTDEndcapBuilder::sortNS(), and CmsMTDBuilder::sortNS().
|
inline |
Definition at line 120 of file GeometricTimingDet.h.
References type_.
Referenced by CmsMTDLevelBuilder::build(), GeometricTimingDetLoader::putOne(), and CmsMTDLevelBuilder::subDetByType().
|
inline |
Definition at line 218 of file GeometricTimingDet.h.
References xi_.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPlaneWithMaterial(), and GeometricTimingDetLoader::putOne().
|
private |
what it says... used the DD in memory model to build the geometry... or not.
Definition at line 258 of file GeometricTimingDet.h.
Referenced by addComponent(), addComponents(), clearComponents(), component(), components(), deepComponents(), deleteComponents(), isLeaf(), and setGeographicalID().
|
private |
Definition at line 264 of file GeometricTimingDet.h.
Referenced by GeometricTimingDet(), navpos(), navRange(), navType(), and ~GeometricTimingDet().
|
private |
Definition at line 265 of file GeometricTimingDet.h.
Referenced by name(), and ~GeometricTimingDet().
|
private |
Definition at line 269 of file GeometricTimingDet.h.
Referenced by geographicalID(), geographicalId(), and setGeographicalID().
|
private |
Definition at line 267 of file GeometricTimingDet.h.
Referenced by bounds(), GeometricTimingDet(), params(), and ~GeometricTimingDet().
|
private |
Definition at line 260 of file GeometricTimingDet.h.
Referenced by phi(), and ~GeometricTimingDet().
|
private |
Definition at line 281 of file GeometricTimingDet.h.
Referenced by pixROCCols(), and ~GeometricTimingDet().
|
private |
Definition at line 280 of file GeometricTimingDet.h.
Referenced by pixROCRows(), and ~GeometricTimingDet().
|
private |
Definition at line 282 of file GeometricTimingDet.h.
Referenced by pixROCx(), and ~GeometricTimingDet().
|
private |
Definition at line 283 of file GeometricTimingDet.h.
Referenced by pixROCy(), and ~GeometricTimingDet().
|
private |
Definition at line 278 of file GeometricTimingDet.h.
Referenced by radLength(), and ~GeometricTimingDet().
|
private |
Definition at line 261 of file GeometricTimingDet.h.
Referenced by rho(), and ~GeometricTimingDet().
|
private |
Definition at line 262 of file GeometricTimingDet.h.
Referenced by rotation(), rotationBounds(), and ~GeometricTimingDet().
|
private |
Definition at line 263 of file GeometricTimingDet.h.
Referenced by bounds(), shape(), and ~GeometricTimingDet().
|
private |
Definition at line 285 of file GeometricTimingDet.h.
Referenced by siliconAPVNum(), and ~GeometricTimingDet().
|
private |
Definition at line 284 of file GeometricTimingDet.h.
Referenced by stereo(), and ~GeometricTimingDet().
|
private |
Definition at line 259 of file GeometricTimingDet.h.
Referenced by positionBounds(), translation(), and ~GeometricTimingDet().
|
private |
Definition at line 266 of file GeometricTimingDet.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), type(), and ~GeometricTimingDet().
|
private |
Definition at line 279 of file GeometricTimingDet.h.
Referenced by xi(), and ~GeometricTimingDet().