![]() |
![]() |
#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, const bool isRun2) | |
DetGeomDesc (const DDFilteredView &fv, const bool isRun2) | |
DetGeomDesc (const DetGeomDesc &ref, CopyMode cm=cmWithChildren) | |
DetId | geographicalID () const |
const DiamondDimensions & | getDiamondDimensions () const |
void | invertZSign () |
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, const unsigned int copyNum, const bool isRun2) const |
DetId | computeDetIDFromDD4hep (const std::string &name, const std::vector< int > ©Nos, const unsigned int copyNum, const bool isRun2) 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, |
const bool | isRun2 | ||
) |
[in] | isRun2 | Switch between legacy run 2-like geometry and 2021+ scenarii |
Definition at line 28 of file DetGeomDesc.cc.
References ddbox.
DetGeomDesc::DetGeomDesc | ( | const cms::DDFilteredView & | fv, |
const bool | isRun2 | ||
) |
[in] | isRun2 | Switch between legacy run 2-like geometry and 2021+ scenarii |
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 CTPPSGeometryESCommon::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 CTPPSGeometryESCommon::applyAlignments().
|
inlineprivate |
|
inline |
Definition at line 100 of file DetGeomDesc.h.
Referenced by CTPPSGeometryESCommon::applyAlignments(), and PPSGeometryBuilder::buildSerializableDataFromGeoInfo().
|
private |
Definition at line 164 of file DetGeomDesc.cc.
References protons_cff::arm, 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, protons_cff::decRPId, hgcalTestNeighbor_cfi::detector, geometryPPS_CMSxz_fromDD_2016_cfi::isRun2, name(), and relativeConstraints::station.
Referenced by computeDetIDFromDD4hep().
|
private |
Definition at line 288 of file DetGeomDesc.cc.
References computeDetID(), geometryPPS_CMSxz_fromDD_2016_cfi::isRun2, and name().
|
private |
Definition at line 144 of file DetGeomDesc.cc.
References isABox(), isDD4hep(), and params().
|
private |
Definition at line 123 of file DetGeomDesc.cc.
References name(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
private |
Definition at line 301 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 69 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 97 of file DetGeomDesc.h.
References m_geographicalID.
Referenced by CTPPSGeometryESCommon::applyAlignments(), and PPSGeometryBuilder::buildItemFromDetGeomDesc().
|
inline |
Definition at line 85 of file DetGeomDesc.h.
References m_isABox.
Referenced by CTPPSDiamondRecHitProducerAlgorithm::build(), TotemTimingRecHitProducerAlgorithm::build(), channelAlignedWithTrack(), TotemTimingDQMSource::dqmBeginRun(), CTPPSDiamondDQMSource::dqmBeginRun(), and print().
|
inline |
Definition at line 110 of file DetGeomDesc.h.
References m_trans.
|
inline |
Definition at line 84 of file DetGeomDesc.h.
References m_params.
Referenced by computeDiamondDimensions().
|
inline |
Definition at line 72 of file DetGeomDesc.h.
References m_isDD4hep.
Referenced by computeDiamondDimensions().
|
inline |
Definition at line 103 of file DetGeomDesc.h.
|
inline |
Definition at line 68 of file DetGeomDesc.h.
Referenced by config.CFG::__str__(), CTPPSGeometryESCommon::applyAlignments(), PPSGeometryBuilder::buildItemFromDetGeomDesc(), computeDetID(), computeDetIDFromDD4hep(), computeNameWithNoNamespace(), computeSensorType(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
Definition at line 83 of file DetGeomDesc.h.
Referenced by PPSGeometryBuilder::buildItemFromDetGeomDesc(), and computeDiamondDimensions().
|
inline |
Definition at line 101 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 76 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 94 of file DetGeomDesc.h.
References m_sensorType.
Referenced by PPSGeometryBuilder::buildItemFromDetGeomDesc(), and computeSensorType().
|
inline |
Definition at line 75 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 143 of file DetGeomDesc.h.
Referenced by addComponent(), deepDeleteComponents(), deleteComponents(), DetGeomDesc(), and parentZPosition().
|
private |
Definition at line 133 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and print().
|
private |
Definition at line 139 of file DetGeomDesc.h.
Referenced by DetGeomDesc().
|
private |
Definition at line 141 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), geographicalID(), and print().
|
private |
Definition at line 138 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), getDiamondDimensions(), and print().
|
private |
Definition at line 134 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and isDD4hep().
|
private |
Definition at line 132 of file DetGeomDesc.h.
Referenced by copyno(), DetGeomDesc(), and print().
|
private |
Definition at line 137 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and isABox().
|
private |
Definition at line 136 of file DetGeomDesc.h.
Referenced by applyAlignment(), DetGeomDesc(), and print().
|
private |
Definition at line 140 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), print(), and sensorType().
|
private |
Definition at line 135 of file DetGeomDesc.h.
Referenced by applyAlignment(), DetGeomDesc(), invertZSign(), print(), and rotation().
|
private |
Definition at line 144 of file DetGeomDesc.h.
Referenced by DetGeomDesc(), and print().