CMS 3D CMS Logo

DDCompactViewImpl.h
Go to the documentation of this file.
1 #ifndef DETECTOR_DESCRIPTION_CORE_DD_COMPACT_VIEW_IMPL_H
2 #define DETECTOR_DESCRIPTION_CORE_DD_COMPACT_VIEW_IMPL_H
3 
10 
11 class DDDivision;
12 struct DDPosData;
13 
15 public:
18 
19  explicit DDCompactViewImpl();
20  DDCompactViewImpl(const DDLogicalPart& rootnodedata);
22 
23  //reassigns root with no check!!!
24  void setRoot(const DDLogicalPart& root) { root_ = root; }
25 
26  const DDLogicalPart& root() const { return root_; }
27 
28  DDLogicalPart& current() const;
29 
30  const Graph& graph() const { return graph_; }
31  GraphWalker walker() const;
32 
33  void position(const DDLogicalPart& self,
34  const DDLogicalPart& parent,
35  int copyno,
36  const DDTranslation& trans,
37  const DDRotation& rot,
38  const DDDivision* div);
39 
40  void swap(DDCompactViewImpl&);
41 
42 protected:
43  // internal use ! (see comments in DDCompactView(bool)!)
46 };
47 
48 #endif
DDCompactViewImpl::DDCompactViewImpl
DDCompactViewImpl()
Definition: DDCompactViewImpl.cc:45
DDTransform.h
math::GraphWalker< DDLogicalPart, DDPosData * >
DDCompactViewImpl
Definition: DDCompactViewImpl.h:14
DDCompactViewImpl::root_
DDLogicalPart root_
Definition: DDCompactViewImpl.h:44
DDCompactViewImpl::current
DDLogicalPart & current() const
DDCompactViewImpl::graph
const Graph & graph() const
Definition: DDCompactViewImpl.h:30
DDTranslation
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
DDPosData.h
DDPosData
Relative position of a child-volume inside a parent-volume.
Definition: DDPosData.h:13
GraphWalker.h
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
root
Definition: RooFitFunction.h:10
DDTranslation.h
DDLogicalPart.h
Graph.h
DDDivision
Definition: DDDivision.h:78
DDCompactViewImpl::GraphWalker
math::GraphWalker< DDLogicalPart, DDPosData * > GraphWalker
Definition: DDCompactViewImpl.h:17
DDCompactViewImpl::root
const DDLogicalPart & root() const
Definition: DDCompactViewImpl.h:26
DDCompactViewImpl::walker
GraphWalker walker() const
Definition: DDCompactViewImpl.cc:31
DDCompactViewImpl::~DDCompactViewImpl
~DDCompactViewImpl()
Definition: DDCompactViewImpl.cc:10
DDCompactViewImpl::graph_
Graph graph_
Definition: DDCompactViewImpl.h:45
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
DDRotation
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
math::Graph< DDLogicalPart, DDPosData * >
DDCompactViewImpl::swap
void swap(DDCompactViewImpl &)
Definition: DDCompactViewImpl.cc:43
DDCompactViewImpl::position
void position(const DDLogicalPart &self, const DDLogicalPart &parent, int copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div)
Definition: DDCompactViewImpl.cc:33
class-composition.parent
parent
Definition: class-composition.py:88
DDCompactViewImpl::setRoot
void setRoot(const DDLogicalPart &root)
Definition: DDCompactViewImpl.h:24