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  public:
17  virtual ~DDAlgorithm (void);
19 
24  virtual void initialize(const DDNumericArguments & nArgs,
25  const DDVectorArguments & vArgs,
26  const DDMapArguments & mArgs,
27  const DDStringArguments & sArgs,
28  const DDStringVectorArguments & vsArgs)=0;
29 
31 
33  virtual void execute( DDCompactView& ) = 0;
34 
36  const DDLogicalPart & parent() const { return parent_; }
37 
38 protected:
40  void setParent(const DDLogicalPart & parent) { parent_ = parent; }
41 
44 };
45 
46 #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 std::map<std::string,YourType> 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:92
DDLogicalPart parent_
parent logical part