Go to the documentation of this file.
12 #ifndef Geometry_VeryForwardGeometryBuilder_DetGeomDesc
13 #define Geometry_VeryForwardGeometryBuilder_DetGeomDesc
22 #include <Math/Rotation3D.h>
54 using Translation = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>>;
85 edm::LogError(
"DetGeomDesc::getDiamondDimensions is not called on a box, for solid ")
117 const std::vector<double>&
params)
const;
139 return (
a.geographicalID() !=
b.geographicalID()
140 ?
a.geographicalID() <
b.geographicalID()
142 : (
a.name() !=
b.name() ?
a.name() <
b.name() :
a.copyno() <
b.copyno()));
Geometrical description of a sensor.
void applyAlignment(const CTPPSRPAlignmentCorrectionData &)
void addComponent(DetGeomDesc *)
const Translation & translation() const
std::vector< DetGeomDesc * > Container
DetId computeDetID(const std::string &name, const std::vector< int > ©Nos, unsigned int copyNum) const
void deepDeleteComponents()
DiamondDimensions computeDiamondDimensions(const bool isABox, const bool isDD4hep, const std::vector< double > ¶ms) const
const std::string & sensorType() const
float parentZPosition() const
ROOT::Math::Rotation3D RotationMatrix
std::vector< double > m_params
DetId geographicalID() const
const DiamondDimensions & getDiamondDimensions() const
DetId computeDetIDFromDD4hep(const std::string &name, const std::vector< int > ©Nos, unsigned int copyNum) const
DiamondDimensions m_diamondBoxParams
const Container & components() const
const std::string & name() const
Log< level::Error, false > LogError
DetGeomDesc(const DDFilteredView &fv)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
std::string computeSensorType(std::string_view name)
const std::vector< double > & params() const
std::vector< double > computeParameters(const cms::DDFilteredView &fv) const
Alignment correction for an element of the CT-PPS detector. Within the geometry description,...
ROOT::Math::Rotation3D RotationMatrix
std::string computeNameWithNoNamespace(std::string_view nameFromView) const
const RotationMatrix & rotation() const
bool operator()(const DetGeomDesc &a, const DetGeomDesc &b) const