|
ATLAS Offline Software
|
Definition at line 34 of file PRDHandleBase.cxx.
◆ attach3DObjects()
void PRDHandleBase::Imp::attach3DObjects |
( |
PRDHandleBase * |
theclass | ) |
|
◆ detach3DObjects()
void PRDHandleBase::Imp::detach3DObjects |
( |
| ) |
|
◆ determineMaterial()
SoMaterial * PRDHandleBase::Imp::determineMaterial |
( |
PRDHandleBase * |
theclass | ) |
|
Definition at line 398 of file PRDHandleBase.cxx.
404 std::map<SoMaterial*,double> materials;
410 for (
unsigned i = 0;
i <
ts->tracks.size(); ++
i) {
415 std::cout<<
"PRDHandleBase ERROR: Did not find track material!"<<std::endl;
420 for (
unsigned i = 0;
i <
ts->segments.size(); ++
i) {
425 std::cout<<
"PRDHandleBase ERROR: Did not find segment material (2)!"<<std::endl;
434 for (
unsigned i = 0;
i <
ts->tracks_outliers.size(); ++
i) {
437 materials[
mat]=1.0/(hlw+1.0);
439 std::cout<<
"PRDHandleBase ERROR: Did not find track material (3)!"<<std::endl;
447 for (
unsigned i = 0;
i <
ts->tracks_outliers.size(); ++
i) {
452 std::cout<<
"PRDHandleBase ERROR: Did not find track material (4)!"<<std::endl;
462 if (!materials.empty())
◆ positionPRD()
◆ rebuild3DObjects()
void PRDHandleBase::Imp::rebuild3DObjects |
( |
PRDHandleBase * |
theclass | ) |
|
Definition at line 92 of file PRDHandleBase.cxx.
137 SoNode* shape_simple(0), * shape_detailed(0);
138 theclass->
buildShapes(shape_simple, shape_detailed);
142 shape_detailed = shape_simple;
◆ colhandle
◆ currentmaterial
SoMaterial* PRDHandleBase::Imp::currentmaterial |
◆ sepDetailed
SoSeparator* PRDHandleBase::Imp::sepDetailed |
◆ sephelper_lod_detail
◆ sephelper_lod_simple
◆ sepSimple
SoSeparator* PRDHandleBase::Imp::sepSimple |
The documentation for this class was generated from the following file:
VP1ExtraSepLayerHelper * sephelper_lod_simple
VP1SoMaterialMixer * materialMixer() const
bool colourBySegments() const
void registerTransform2Handle(SoTransform *transform, PRDHandleBase *handle)
SoMaterial * material() const
SoSeparator * sepDetailed
SoMaterial * getMixedMaterial(const std::set< SoMaterial * > &)
void attach3DObjects(PRDHandleBase *)
virtual SoTransform * createTransform() const
virtual int regionIndex()
PRDSysCommonData * common() const
SoMaterial * currentmaterial
HitsSoNodeManager * nodeManager() const
void getLODSeparators(int index, VP1ExtraSepLayerHelper *&sephelper_detail, VP1ExtraSepLayerHelper *&sephelper_simple)
const TracksAndSegments * tracksAndSegments(const Trk::PrepRawData *)
PRDCollHandleBase * colhandle
double highLightWeight() const
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
virtual const Surface & surface() const =0
Return surface associated with this detector element.
VP1ExtraSepLayerHelper * sephelperSimpleNodes() const
Identifier identify() const
return the identifier
virtual const Trk::PrepRawData * getPRD() const =0
const Amg::Vector2D & localPosition() const
return the local position reference
bool highLightOutliers() const
Eigen::Matrix< double, 3, 1 > Vector3D
VP1ExtraSepLayerHelper * sephelperDetailedNodes() const
SoMaterial * segmentMaterial(const Trk::Segment *) const
SoNode * getShapeNode_Point()
PRDTrackSegmentHelper * trackAndSegmentHelper() const
virtual bool highLight() const
SoMaterial * determineMaterial(PRDHandleBase *)
SoMaterial * trackMaterial(const Trk::Track *) const
SoMaterial * highLightMaterial() const
VP1ExtraSepLayerHelper * sephelper_lod_detail
COLOURMETHOD colourMethod() const
bool colourByTracks() const
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const =0
Specified by each surface type: LocalToGlobal method without dynamic memory allocation.
virtual const TrkDetElementBase * detectorElement() const =0
return the detector element corresponding to this PRD The pointer will be zero if the det el is not d...
virtual void buildShapes(SoNode *&shape_simple, SoNode *&shape_detailed)=0