Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Detector/Blueprint.hpp>
Public Member Functions | |
Node (const std::string &n, const Transform3 &t, VolumeBounds::BoundsType bt, const std::vector< ActsScalar > &bv, const std::vector< BinningValue > &bss, std::vector< std::unique_ptr< Node >> cs={}) | |
Node (const std::string &n, const Transform3 &t, VolumeBounds::BoundsType bt, const std::vector< ActsScalar > &bv, std::shared_ptr< const IInternalStructureBuilder > isb=nullptr) | |
bool | isLeaf () const |
Check if it is a leaf node. | |
bool | isRoot () const |
Check is it is a root. | |
void | add (std::unique_ptr< Node > c) |
Method to add a child to this branch. | |
template<typename stream_type > | |
void | dotStream (stream_type &ss, const std::string &graphName="blueprint") const |
Turn into a dot output. | |
Public Attributes | |
std::string | name = "" |
Name identification of this node. | |
Transform3 | transform = Transform3::Identity() |
Transform definition of this node. | |
VolumeBounds::BoundsType | boundsType = VolumeBounds::eOther |
Boundary definition of this node. | |
std::vector< ActsScalar > | boundaryValues = {} |
The boundary type. | |
const Node * | parent = nullptr |
Parent node - nullptr for root only. | |
std::vector< std::unique_ptr < Node > > | children = {} |
Branch definitions: children. | |
std::vector< BinningValue > | binning = {} |
Branch definition binning. | |
std::shared_ptr< const IRootVolumeFinderBuilder > | rootVolumeFinderBuilder |
Builders and helper tools that can be attached. | |
std::shared_ptr< const IGeometryIdGenerator > | geoIdGenerator = nullptr |
Geometry id generator. | |
std::shared_ptr< const IInternalStructureBuilder > | internalsBuilder = nullptr |
Internal structure builder - for leaf nodes. | |
Definition at line 40 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 40 of file Blueprint.hpp
|
inline |
Branch constructor
n | name of the node |
t | the transform |
bt | the boundary type |
bv | the boundary values |
bss | the binning values |
cs | the children of the node |
Definition at line 49 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 49 of file Blueprint.hpp
|
inline |
Leaf constructor
n | name of the node |
t | the transform |
bt | the boundary type |
bv | the boundary values |
isb | the internal structure builder (optional) |
Definition at line 69 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 69 of file Blueprint.hpp
|
inline |
Method to add a child to this branch.
c | the child to be added |
Definition at line 109 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 109 of file Blueprint.hpp
References children, and testing::internal::move().
Referenced by Acts::Experimental::detail::BlueprintHelper::fillGaps().
|
inline |
Turn into a dot output.
Definition at line 116 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 116 of file Blueprint.hpp
References Acts::PhysicalConstants::c, children, color, geoIdGenerator, internalsBuilder, isLeaf(), isRoot(), name, and rootVolumeFinderBuilder.
|
inline |
Check if it is a leaf node.
Definition at line 102 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 102 of file Blueprint.hpp
References children.
Referenced by dotStream(), and Acts::Experimental::detail::BlueprintHelper::fillGaps().
|
inline |
Check is it is a root.
Definition at line 105 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 105 of file Blueprint.hpp
References parent.
Referenced by dotStream().
std::vector<BinningValue> Acts::Experimental::Blueprint::Node::binning = {} |
Branch definition binning.
Definition at line 91 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 91 of file Blueprint.hpp
Referenced by Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder(), Acts::Experimental::detail::BlueprintHelper::fillGaps(), and Acts::Experimental::detail::BlueprintHelper::sort().
std::vector<ActsScalar> Acts::Experimental::Blueprint::Node::boundaryValues = {} |
The boundary type.
Definition at line 85 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 85 of file Blueprint.hpp
Referenced by Acts::Experimental::detail::BlueprintHelper::fillGaps().
VolumeBounds::BoundsType Acts::Experimental::Blueprint::Node::boundsType = VolumeBounds::eOther |
Boundary definition of this node.
Definition at line 83 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 83 of file Blueprint.hpp
Referenced by Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder(), Acts::Experimental::detail::BlueprintHelper::fillGaps(), and Acts::Experimental::detail::BlueprintHelper::sort().
std::vector<std::unique_ptr<Node> > Acts::Experimental::Blueprint::Node::children = {} |
Branch definitions: children.
Definition at line 89 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 89 of file Blueprint.hpp
Referenced by add(), Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder(), dotStream(), Acts::Experimental::detail::BlueprintHelper::fillGaps(), isLeaf(), and Acts::Experimental::detail::BlueprintHelper::sort().
std::shared_ptr<const IGeometryIdGenerator> Acts::Experimental::Blueprint::Node::geoIdGenerator = nullptr |
Geometry id generator.
Definition at line 97 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 97 of file Blueprint.hpp
Referenced by Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder(), and dotStream().
std::shared_ptr<const IInternalStructureBuilder> Acts::Experimental::Blueprint::Node::internalsBuilder = nullptr |
Internal structure builder - for leaf nodes.
Definition at line 99 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 99 of file Blueprint.hpp
Referenced by dotStream().
std::string Acts::Experimental::Blueprint::Node::name = "" |
Name identification of this node.
Definition at line 79 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 79 of file Blueprint.hpp
Referenced by cpp.tokenize.Token::__str__(), cpp.ast.Define::__str__(), cpp.ast.Parameter::__str__(), cpp.ast.Typedef::__str__(), cpp.ast._NestedType::__str__(), cpp.ast.Class::__str__(), cpp.ast.Function::__str__(), cpp.ast.Type::__str__(), dotStream(), Acts::Experimental::detail::BlueprintHelper::fillGaps(), cpp.ast._GenericDeclaration::FullName(), and cpp.ast.VariableDeclaration::ToString().
const Node* Acts::Experimental::Blueprint::Node::parent = nullptr |
Parent node - nullptr for root only.
Definition at line 87 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 87 of file Blueprint.hpp
Referenced by isRoot().
std::shared_ptr<const IRootVolumeFinderBuilder> Acts::Experimental::Blueprint::Node::rootVolumeFinderBuilder |
Builders and helper tools that can be attached.
Definition at line 94 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 94 of file Blueprint.hpp
Referenced by Acts::Experimental::CylindricalContainerBuilder::CylindricalContainerBuilder(), and dotStream().
Transform3 Acts::Experimental::Blueprint::Node::transform = Transform3::Identity() |
Transform definition of this node.
Definition at line 81 of file Blueprint.hpp.
View newest version in sPHENIX GitHub at line 81 of file Blueprint.hpp
Referenced by Acts::Experimental::detail::BlueprintHelper::fillGaps(), and Acts::Experimental::detail::BlueprintHelper::sort().