|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include <Inventor/nodes/SoLineSet.h>
21 #include <Inventor/nodes/SoVertexProperty.h>
51 l <<
" ===> SCT_RDORawData";
57 if (idhelper->
barrel_ec(
id)==-2)
l <<
" Part: End Cap C";
58 else if (idhelper->
barrel_ec(
id)==2)
l <<
" Part: End Cap A";
59 else {
l <<
" Part: Barrel";
barrel =
true; }
63 l <<
" Side: "+QString(idhelper->
side(
id)==0 ?
"Inner":
"Outer");
86 SoLineSet *
line =
new SoLineSet;
87 SoVertexProperty * vertices =
new SoVertexProperty;
88 line->vertexProperty = vertices;
93 std::pair<InDetDD::SiLocalPosition,InDetDD::SiLocalPosition> localEnds;
94 for (
int i=0;
i<ngroup;++
i) {
99 vertices->vertex.set1Value(iver++,localA.x(),localA.y(),0);
100 vertices->vertex.set1Value(iver++,localB.x(),localB.y(),0);
101 line->numVertices.set1Value(
i,2);
136 if (elem->
center().z()>=0)
virtual int getGroupSize() const =0
char data[hepevt_bytes_allocation_ATLAS]
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
static QString unsignedToHex(unsigned)
SoTransform * buildTransform()
virtual ~VP1RawDataHandle_SCT_RDO()
virtual const Amg::Vector3D & center() const override final
Center in global coordinates.
HitsSoNodeManager * nodeManager() const
QStringList clicked(bool verbose) const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int phi_module(const Identifier &id) const
virtual SiDetectorElement * getDetectorElement(const Identifier &id) const override
access to individual elements via Identifier
const SCT_RDORawData * m_data
Eigen::Affine3d Transform3D
virtual SiLocalPosition positionFromStrip(const int stripNumber) const
gives position of strip center ALTERNATIVE/PREFERED way is to use localPositionOfCell(const SiCellId ...
VP1RawDataHandle_SCT_RDO(VP1RawDataCollBase *, const SCT_RDORawData *)
std::pair< Amg::Vector3D, Amg::Vector3D > endsOfStrip(const Amg::Vector2D &position) const
Special method for SCT to retrieve the two ends of a "strip" Returned coordinates are in global frame...
int layer_disk(const Identifier &id) const
Eigen::Matrix< double, 3, 1 > Vector3D
static const SCT_ID * sctIDHelper()
unsigned int getWord() const
int strip(const Identifier &id) const
SoNode * getShapeNode_Point()
int eta_module(const Identifier &id) const
VP1RawDataFlags::InDetPartsFlags inInDetParts() const
int side(const Identifier &id) const
virtual Identifier identify() const override final
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):
virtual std::pair< SiLocalPosition, SiLocalPosition > endsOfStrip(const SiLocalPosition &position) const override=0
give the ends of strips
static SoTransform * toSoTransform(const HepGeom::Transform3D &, SoTransform *t=0)
VP1RawDataCommonData * common() const
virtual const Amg::Transform3D & transform() const override final
Return local to global transform.
SoTransform * getUnitTransform()
const InDetDD::SiDetectorElement * element() const
static const InDetDD::SCT_DetectorManager * sctDetMgr()