CMS 3D CMS Logo

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 
7 #include <vector>
8 
10 class DDCompactView;
11 
13 class DDAlgorithm
14 {
15  friend class DDAlgorithmHandler;
16 
17  public:
18  virtual ~DDAlgorithm( void );
20 
25  virtual void initialize( const DDNumericArguments & nArgs,
26  const DDVectorArguments & vArgs,
27  const DDMapArguments & mArgs,
28  const DDStringArguments & sArgs,
29  const DDStringVectorArguments & vsArgs ) = 0;
30 
32 
34  virtual void execute( DDCompactView& ) = 0;
35 
37  const DDLogicalPart & parent() const { return parent_; }
38 
39  protected:
41  void setParent( const DDLogicalPart & parent ) { parent_ = parent; }
42 
45 };
46 
47 #endif // DD_ALGO_PLUGIN_DD_ALGORITHM_H
static AlgebraicMatrix initialize()
wrapper around a DDAlgorithm
type of data representation of DDCompactView
Definition: DDCompactView.h:90
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
Definition: DDLogicalPart.h:92
DDLogicalPart parent_
parent logical part