113 if (algo.
rep().numRegistered() == 0) {
115 e =
"DDalgoPosPart: algorithmic positioning\n";
116 e +=
"\t[" + algo.
name().
ns()
119 +
"] is not defined!\n";
123 LogDebug (
"AlgoPos") <<
"DDCompactView, algo=" << std::endl << algo << std::endl;
144 int cpno = atoi(copyno.c_str());
145 position(
self,parent,cpno,trans,rot, div);
155 rep_->
position(
self, parent, copyno, trans, rot, div );
const DDI::rep_traits< N, C >::reference rep() const
void position(const DDLogicalPart &self, const DDLogicalPart &parent, int copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div)
DDCompactView()
Creates a compact-view.
graphwalker< DDLogicalPart, DDPosData * > walker() const
void setRoot(const DDLogicalPart &root)
double weight(const DDLogicalPart &p) const
Prototype version of calculating the weight of a detector component.
void algoPosPart(const DDLogicalPart &self, const DDLogicalPart &parent, DDAlgo &algo)
positioning...
const graph_type & graph() const
Provides read-only access to the data structure of the compact-view.
void position(const DDLogicalPart &self, const DDLogicalPart &parent, std::string copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=NULL)
const std::string & ns() const
Returns the namespace.
graph_type & writeableGraph()
type of data representation of DDCompactView
void setRoot(const DDLogicalPart &root)
don't use : interface not stable ....
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
static value_type & instance()
DDI::Store< DDName, DDI::Specific * > specStore_
void swap(DDCompactView &)
DDRotationMatrix rotation()
DDI::Store< DDName, DDI::Solid * > solidStore_
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
void swap(DDCompactViewImpl &)
DDI::Store< DDName, DDRotationMatrix * > rotStore_
walker_type walker() const
dont't use ! Proper implementation missing ...
const DDLogicalPart & root() const
returns the DDLogicalPart representing the root of the geometrical hierarchy
std::string label() const
const DDLogicalPart & root() const
DDTranslation translation()
DDI::Store< DDName, DDI::LogicalPart * > lpStore_
double weight(const DDLogicalPart &) const
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
const std::string & name() const
Returns the name.
DDI::Store< DDName, DDI::Material * > matStore_
const GraphNav & graph() const
string root
initialization