33 std::pair<std::string,std::string> algoNmNs =
DDSplit(algoName);
36 algo_->setParent(parent);
37 algo_->initialize(nArgs,vArgs,mArgs,sArgs, svArgs);
43 algo_->execute( cpv );
void execute(DDCompactView &)
executes the wrapped algorithm algo_; some pre- and post-processing (exception handling) ...
algo_(conf.existsAs< bool >("Correct")?conf.getParameter< bool >("Correct"):true, conf.getParameter< double >("e9e25Cut"), conf.getParameter< double >("intercept2DCut"), conf.existsAs< bool >("intercept2DSlope")?conf.getParameter< double >("intercept2DSlope"):defaultSlope2D_, conf.getParameter< std::vector< double > >("e1e9Cut"), conf.getParameter< std::vector< double > >("eCOREe9Cut"), conf.getParameter< std::vector< double > >("eSeLCut"), hfvars_)
DDAlgorithmHandler()
creates an DDAlgorithm wrapper
type of data representation of DDCompactView
void initialize(const std::string &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
std::string algoname_
name of the algorithm object
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
virtual ~DDAlgorithmHandler()
DDAlgorithm * algo_
the wrapped algorithm object
T get(const Candidate &c)