Go to the documentation of this file. 1 #ifndef Geometry_TrackerNumberingBuilder_GeometricDet_H
2 #define Geometry_TrackerNumberingBuilder_GeometricDet_H
12 #include <DD4hep/Shapes.h>
13 #include <Math/Rotation3D.h>
14 #include <Math/Vector3D.h>
18 #include <ext/pool_allocator.h>
33 using NavRange = std::pair<int const*, size_t>;
37 using Translation = ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> >;
40 using nav_type = std::vector<int, PoolAlloc<int> >;
106 std::unique_ptr<Bounds>
bounds()
const;
116 const std::vector<double>&
params()
const {
120 <<
"Called on a shape which is neither a box, a trap, nor a tub. This is not supported!";
169 const dd4hep::Solid& mySolid)
const;
Position positionBounds() const
bool isLowerSensor() const
ConstGeometricDetContainer & components()
cont
load Luminosity info ##
ConstGeometricDetContainer container_
const Translation & translation() const
Rotation rotationBounds() const
TkRotation< float > RotationType
LegacySolidShape shape() const
const std::string & name() const
const std::vector< double > & params() const
const cms::DDSolidShape & shape_dd4hep() const
void setGeographicalID(DetId id)
const RotationMatrix & rotation() const
std::vector< double > computeLegacyShapeParameters(const cms::DDSolidShape &mySolidShape, const dd4hep::Solid &mySolid) const
enum GeometricDet::GDEnumType GeometricEnumType
Mapping::value_type::value_type value(Mapping a, const std::string &name)
std::vector< int > nav_type
const DetId & geographicalId() const
bool isFromDD4hep() const
double pixROCRows() const
ROOT::Math::Rotation3D RotationMatrix
void addComponents(GeometricDetContainer const &cont)
const ConstGeometricDetContainer & components() const
GeometricDet(DDFilteredView *fv, GeometricEnumType dd)
Log< level::Error, false > LogError
ConstGeometricDetContainer deepComponents() const
Surface::PositionType Position
Surface::RotationType Rotation
GeometricDet * component(size_t index)
std::unique_ptr< Bounds > bounds() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
Point3DBase< float, GlobalTag > PositionType
std::vector< GeometricDet const * > ConstGeometricDetContainer
double siliconAPVNum() const
double pixROCCols() const
std::vector< GeometricDet * > GeometricDetContainer
const std::array< const cms::dd::ValuePair< LegacySolidShape, cms::DDSolidShape >, 21 > LegacySolidShapeMap
const GeometricEnumType & type() const
void addComponent(GeometricDet *)
std::pair< int const *, size_t > NavRange
bool isUpperSensor() const
Namespace of DDCMS conversion namespace.
std::vector< double > params_
const nav_type & navType() const