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>>;
88 edm::LogError(
"DetGeomDesc::getDiamondDimensions is not called on a box, for solid ")
122 const std::vector<double>&
params)
const;
124 const std::vector<int>& copyNos,
125 const unsigned int copyNum,
128 const std::vector<int>& copyNos,
129 const unsigned int copyNum,
150 return (
a.geographicalID() !=
b.geographicalID()
151 ?
a.geographicalID() <
b.geographicalID()
153 : (
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
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
DetId computeDetID(const std::string &name, const std::vector< int > ©Nos, const unsigned int copyNum, const bool isRun2) const
const DiamondDimensions & getDiamondDimensions() const
DiamondDimensions m_diamondBoxParams
const Container & components() const
const std::string & name() const
Log< level::Error, false > LogError
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,...
DetGeomDesc(const DDFilteredView &fv, const bool isRun2)
ROOT::Math::Rotation3D RotationMatrix
std::string computeNameWithNoNamespace(std::string_view nameFromView) const
const RotationMatrix & rotation() const
DetId computeDetIDFromDD4hep(const std::string &name, const std::vector< int > ©Nos, const unsigned int copyNum, const bool isRun2) const
bool operator()(const DetGeomDesc &a, const DetGeomDesc &b) const