CMS 3D CMS Logo

DDAlgorithmHandler.h
Go to the documentation of this file.
1 #ifndef DD_DDALGORITHMHANDLER_H
2 #define DD_DDALGORITHMHANDLER_H
3 
4 #include <string>
5 
9 
10 class DDAlgorithm;
11 class DDCompactView;
12 
14 
16 public:
19 
21 
23  void initialize(const DDName& algoName,
24  const DDLogicalPart& parent,
25  const DDNumericArguments& nArgs,
26  const DDVectorArguments& vArgs,
27  const DDMapArguments& mArgs,
28  const DDStringArguments& sArgs,
29  const DDStringVectorArguments& svArgs);
30 
32  void execute(DDCompactView&);
33 
34 private:
35  std::unique_ptr<DDAlgorithm> algo_;
36 };
37 
38 #endif // DD_DDALGORITHMHANDLER_H
DDName
DDName is used to identify DDD entities uniquely.
Definition: DDName.h:17
DDAlgorithmHandler::algo_
std::unique_ptr< DDAlgorithm > algo_
the wrapped algorithm object
Definition: DDAlgorithmHandler.h:35
DDAlgorithmHandler::execute
void execute(DDCompactView &)
executes the wrapped algorithm algo_; some pre- and post-processing (exception handling)
Definition: DDAlgorithmHandler.cc:20
MillePedeAlignmentAlgorithm_cfi.algoName
algoName
Definition: MillePedeAlignmentAlgorithm_cfi.py:10
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
DDAlgorithmHandler
wrapper around a DDAlgorithm
Definition: DDAlgorithmHandler.h:15
DDAlgorithmHandler::DDAlgorithmHandler
DDAlgorithmHandler()
creates an DDAlgorithm wrapper
Definition: DDAlgorithmHandler.h:18
DDLogicalPart
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
Definition: DDLogicalPart.h:93
DDTypes.h
DDLogicalPart.h
ReadMapType< double >
DDAlgorithm.h
DDAlgorithmHandler::initialize
void initialize(const DDName &algoName, const DDLogicalPart &parent, const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &svArgs)
initializes the wrapped algorithm algo_ and does some pre- and post-processing
Definition: DDAlgorithmHandler.cc:8
class-composition.parent
parent
Definition: class-composition.py:98