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> >;
108 std::unique_ptr<Bounds>
bounds()
const;
118 const std::vector<double>&
params()
const {
122 <<
"Called on a shape which is neither a box, a trap, nor a tub. This is not supported!";
171 const dd4hep::Solid& mySolid)
const;
std::vector< GeometricDet * > GeometricDetContainer
bool isFromDD4hep() const
bool isUpperSensor() const
tuple cont
load Luminosity info ##
uint16_t *__restrict__ id
void addComponent(GeometricDet *)
std::vector< double > params_
void setGeographicalID(DetId id)
const ConstGeometricDetContainer & components() const
LegacySolidShape shape() const
Log< level::Error, false > LogError
std::vector< int > nav_type
enum GeometricDet::GDEnumType GeometricEnumType
std::vector< double > computeLegacyShapeParameters(const cms::DDSolidShape &mySolidShape, const dd4hep::Solid &mySolid) const
const std::vector< double > & params() const
Mapping::value_type::value_type value(Mapping a, const std::string &name)
ConstGeometricDetContainer & components()
ConstGeometricDetContainer container_
Position positionBounds() const
const RotationMatrix & rotation() const
const GeometricEnumType & type() const
const nav_type & navType() const
GeometricDet(DDFilteredView *fv, GeometricEnumType dd)
std::unique_ptr< Bounds > bounds() const
double pixROCCols() const
GeometricDet * component(size_t index)
std::vector< GeometricDet const * > ConstGeometricDetContainer
const std::array< const cms::dd::ValuePair< LegacySolidShape, cms::DDSolidShape >, 21 > LegacySolidShapeMap
const cms::DDSolidShape & shape_dd4hep() const
Point3DBase< float, GlobalTag > PositionType
Surface::RotationType Rotation
const DetId & geographicalId() const
ConstGeometricDetContainer deepComponents() const
void addComponents(GeometricDetContainer const &cont)
Rotation rotationBounds() const
std::pair< int const *, size_t > NavRange
TkRotation< float > RotationType
ROOT::Math::Rotation3D RotationMatrix
const Translation & translation() const
const std::string & name() const
double siliconAPVNum() const
Surface::PositionType Position
double pixROCRows() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > Translation
bool isLowerSensor() const