#include <DetGeomDesc.h>
Public Types | |
using | Container = std::vector< DetGeomDesc * > |
enum | CopyMode { cmWithChildren, cmWithoutChildren } |
using | RotationMatrix = ROOT::Math::Rotation3D |
using | Translation = ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > |
Public Member Functions | |
void | addComponent (DetGeomDesc *) |
void | applyAlignment (const CTPPSRPAlignmentCorrectionData &) |
const Container & | components () const |
int | copyno () const |
DetGeomDesc (const cms::DDFilteredView &fv) | |
DetGeomDesc (const DDFilteredView &fv) | |
DetGeomDesc (const DetGeomDesc &ref, CopyMode cm=cmWithChildren) | |
DetId | geographicalID () const |
const DiamondDimensions & | getDiamondDimensions () const |
bool | isABox () const |
bool | isDD4hep () const |
bool | isLeaf () const |
const std::string & | name () const |
const std::vector< double > & | params () const |
float | parentZPosition () const |
void | print () const |
const RotationMatrix & | rotation () const |
const std::string & | sensorType () const |
const Translation & | translation () const |
virtual | ~DetGeomDesc () |
Private Member Functions | |
void | clearComponents () |
DetId | computeDetID (const std::string &name, const std::vector< int > ©Nos, unsigned int copyNum) const |
DetId | computeDetIDFromDD4hep (const std::string &name, const std::vector< int > ©Nos, unsigned int copyNum) const |
DiamondDimensions | computeDiamondDimensions (const bool isABox, const bool isDD4hep, const std::vector< double > ¶ms) const |
std::string | computeNameWithNoNamespace (std::string_view nameFromView) const |
std::vector< double > | computeParameters (const cms::DDFilteredView &fv) const |
std::string | computeSensorType (std::string_view name) |
void | deepDeleteComponents () |
void | deleteComponents () |
Private Attributes | |
Container | m_container |
int | m_copy |
DiamondDimensions | m_diamondBoxParams |
DetId | m_geographicalID |
bool | m_isABox |
bool | m_isDD4hep |
std::string | m_name |
std::vector< double > | m_params |
RotationMatrix | m_rot |
std::string | m_sensorType |
Translation | m_trans |
float | m_z |
Definition at line 49 of file DetGeomDesc.h.
using DetGeomDesc::Container = std::vector<DetGeomDesc*> |
Definition at line 51 of file DetGeomDesc.h.
using DetGeomDesc::RotationMatrix = ROOT::Math::Rotation3D |
Definition at line 52 of file DetGeomDesc.h.
using DetGeomDesc::Translation = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > |
Definition at line 53 of file DetGeomDesc.h.
DetGeomDesc::DetGeomDesc | ( | const DDFilteredView & | fv | ) |
DetGeomDesc::DetGeomDesc | ( | const cms::DDFilteredView & | fv | ) |
Definition at line 45 of file DetGeomDesc.cc.
|
virtual |
Definition at line 77 of file DetGeomDesc.cc.
References deepDeleteComponents().
DetGeomDesc::DetGeomDesc | ( | const DetGeomDesc & | ref, |
CopyMode | cm = cmWithChildren |
||
) |
Definition at line 59 of file DetGeomDesc.cc.
References cmWithChildren, m_container, m_copy, m_diamondBoxParams, m_geographicalID, m_isABox, m_isDD4hep, m_name, m_params, m_rot, m_sensorType, m_trans, and m_z.
void DetGeomDesc::addComponent | ( | DetGeomDesc * | det | ) |
Definition at line 79 of file DetGeomDesc.cc.
References m_container.
Referenced by CTPPSGeometryESModule::applyAlignments(), and detgeomdescbuilder::buildDetGeomDescDescendants().
void DetGeomDesc::applyAlignment | ( | const CTPPSRPAlignmentCorrectionData & | t | ) |
Definition at line 81 of file DetGeomDesc.cc.
References m_rot, m_trans, and submitPVValidationJobs::t.
Referenced by CTPPSGeometryESModule::applyAlignments().
|
inlineprivate |
|
inline |
Definition at line 97 of file DetGeomDesc.h.
Referenced by CTPPSGeometryESModule::applyAlignments(), and PPSGeometryBuilder::buildSerializableDataFromGeoInfo().
|
private |
Definition at line 166 of file DetGeomDesc.cc.
References DDD_CTPPS_DIAMONDS_RP_NAME, DDD_CTPPS_DIAMONDS_SEGMENT_NAME, DDD_CTPPS_PIXELS_RP_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME_2x2, DDD_CTPPS_UFSD_SEGMENT_NAME, DDD_TOTEM_RP_RP_NAME, DDD_TOTEM_RP_SENSOR_NAME, DDD_TOTEM_TIMING_RP_NAME, DDD_TOTEM_TIMING_SENSOR_TMPL, hgcalTestNeighbor_cfi::detector, name(), and relativeConstraints::station.
Referenced by computeDetIDFromDD4hep().
|
private |
|
private |
Definition at line 144 of file DetGeomDesc.cc.
References geant_units::operators::convertCmToMm(), isABox(), isDD4hep(), and params().
|
private |
Definition at line 123 of file DetGeomDesc.cc.
References name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
private |
Definition at line 281 of file DetGeomDesc.cc.
References DDD_CTPPS_PIXELS_SENSOR_NAME, DDD_CTPPS_PIXELS_SENSOR_NAME_2x2, DDD_CTPPS_PIXELS_SENSOR_TYPE_2x2, name(), sensorType(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 67 of file DetGeomDesc.h.
References m_name.
Referenced by PPSGeometryBuilder::buildItemFromDetGeomDesc().
|
private |
Definition at line 116 of file DetGeomDesc.cc.
References clearComponents(), and m_container.
Referenced by ~DetGeomDesc().
|
private |
Definition at line 114 of file DetGeomDesc.cc.
References m_container.
|
inline |
Definition at line 94 of file DetGeomDesc.h.
References m_geographicalID.
Referenced by CTPPSGeometryESModule::applyAlignments(), and PPSGeometryBuilder::buildItemFromDetGeomDesc().
|
inline |
Definition at line 82 of file DetGeomDesc.h.
References m_isABox.
Referenced by CTPPSDiamondRecHitProducerAlgorithm::build(), TotemTimingRecHitProducerAlgorithm::build(), channelAlignedWithTrack(), TotemTimingDQMSource::dqmBeginRun(), CTPPSDiamondDQMSource::dqmBeginRun(), and print().
|
inline |
Definition at line 81 of file DetGeomDesc.h.
References m_params.
Referenced by computeDiamondDimensions().
|
inline |
Definition at line 70 of file DetGeomDesc.h.
References m_isDD4hep.
Referenced by computeDiamondDimensions().
|
inline |
Definition at line 100 of file DetGeomDesc.h.
|
inline |
Definition at line 66 of file DetGeomDesc.h.
Referenced by config.CFG::__str__(), CTPPSGeometryESModule::applyAlignments(), PPSGeometryBuilder::buildItemFromDetGeomDesc(), computeDetID(), computeDetIDFromDD4hep(), computeNameWithNoNamespace(), computeSensorType(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
Definition at line 80 of file DetGeomDesc.h.
Referenced by PPSGeometryBuilder::buildItemFromDetGeomDesc(), and computeDiamondDimensions().
|
inline |
Definition at line 98 of file DetGeomDesc.h.
References m_container.
Referenced by CTPPSDiamondRecHitProducerAlgorithm::build(), TotemTimingRecHitProducerAlgorithm::build(), and PPSGeometryBuilder::buildItemFromDetGeomDesc().
void DetGeomDesc::print | ( | void | ) | const |
Definition at line 86 of file DetGeomDesc.cc.
References alignBH_cfg::fixed, getDiamondDimensions(), m_copy, m_geographicalID, m_isABox, m_name, m_rot, m_sensorType, m_trans, m_z, DiamondDimensions::xHalfWidth, DiamondDimensions::yHalfWidth, and DiamondDimensions::zHalfWidth.
|
inline |
Definition at line 74 of file DetGeomDesc.h.
References m_trans.
Referenced by PPSGeometryBuilder::buildItemFromDetGeomDesc(), RPixPlaneCombinatoryTracking::calculatePointOnDetector(), RPixRoadFinder::findPattern(), RPixPlaneCombinatoryTracking::findTracks(), CTPPSGeometry::globalToLocal(), CTPPSGeometry::globalToLocalDirection(), CTPPSGeometry::localToGlobal(), CTPPSGeometry::localToGlobalDirection(), and IdealResult::solve().
|
inline |
Definition at line 91 of file DetGeomDesc.h.
References m_sensorType.
Referenced by PPSGeometryBuilder::buildItemFromDetGeomDesc(), and computeSensorType().
|
inline |
Definition at line 73 of file DetGeomDesc.h.
Referenced by CTPPSDiamondRecHitProducerAlgorithm::build(), TotemTimingRecHitProducerAlgorithm::build(), PPSGeometryBuilder::buildItemFromDetGeomDesc(), channelAlignedWithTrack(), TotemTimingDQMSource::dqmBeginRun(), CTPPSDiamondDQMSource::dqmBeginRun(), CTPPSGeometry::globalToLocal(), CTPPSGeometry::localToGlobal(), and IdealResult::solve().
|
private |
Definition at line 132 of file DetGeomDesc.h.
Referenced by addComponent(), deepDeleteComponents(), deleteComponents(), DetGeomDesc(), and parentZPosition().
|
private |
Definition at line 122 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and print().
|
private |
Definition at line 128 of file DetGeomDesc.h.
Referenced by DetGeomDesc().
|
private |
Definition at line 130 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), geographicalID(), and print().
|
private |
Definition at line 127 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), getDiamondDimensions(), and print().
|
private |
Definition at line 123 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and isDD4hep().
|
private |
Definition at line 121 of file DetGeomDesc.h.
Referenced by copyno(), DetGeomDesc(), and print().
|
private |
Definition at line 126 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and isABox().
|
private |
Definition at line 125 of file DetGeomDesc.h.
Referenced by applyAlignment(), DetGeomDesc(), and print().
|
private |
Definition at line 129 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), print(), and sensorType().
|
private |
Definition at line 124 of file DetGeomDesc.h.
Referenced by applyAlignment(), DetGeomDesc(), print(), and rotation().
|
private |
Definition at line 133 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and print().