CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DDAlgorithm.h
Go to the documentation of this file.
1 #ifndef DD_ALGO_PLUGIN_DD_ALGORITHM_H
2 #define DD_ALGO_PLUGIN_DD_ALGORITHM_H
3 
4 #include <vector>
8 
10 
12 class DDAlgorithm
13 {
14  friend class DDAlgorithmHandler;
15  public:
16  virtual ~DDAlgorithm (void);
18 
23  virtual void initialize(const DDNumericArguments & nArgs,
24  const DDVectorArguments & vArgs,
25  const DDMapArguments & mArgs,
26  const DDStringArguments & sArgs,
27  const DDStringVectorArguments & vsArgs)=0;
28 
30 
32  virtual void execute( DDCompactView& ) = 0;
33 
35  const DDLogicalPart & parent() const { return parent_; }
36 
37 protected:
39  void setParent(const DDLogicalPart & parent) { parent_ = parent; }
40 
43 };
44 
45 #endif // DD_ALGO_PLUGIN_DD_ALGORITHM_H
static AlgebraicMatrix initialize()
wrapper around a DDAlgorithm
type of data representation of DDCompactView
Definition: DDCompactView.h:77
a std::map&lt;std::string,YourType&gt; that offers a const operator[key]; if key is not stored in the std::...
Definition: DDReadMapType.h:13
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:88
DDLogicalPart parent_
parent logical part