5#ifndef MUONNSWASBUILT_ELEMENT_H
6#define MUONNSWASBUILT_ELEMENT_H
69 Element(std::unique_ptr<ElementModel> deformationModel);
Eigen::Ref< VectorSet > VectorSetRef
Element: a node in a hierarchy of alignment frames.
void traverseTree(const std::function< void(Element &)> &callback)
ParameterVector m_correctedPar
ParameterVector m_nominalPar
Element(const Element &)=delete
ElementModel::VectorSetRef VectorSetRef
void setParametersFromMap(ParameterClass iclass, const std::map< std::string, double > &values)
Element(std::unique_ptr< ElementModel > deformationModel)
std::unique_ptr< ElementModel > m_deformationModel
void setParameter(ParameterClass iclass, ipar_t ipar, double value)
Element * addDaughter(std::unique_ptr< Element > daughter)
daughterVec_t m_daughters
std::vector< std::unique_ptr< Element > > daughterVec_t
void transform(ParameterClass iclass, const VectorSetRef &local) const
const Element * mother() const
void setAsapId(const std::string &asapId)
void transformToFrame(ParameterClass iclass, const VectorSetRef &local, const Element *frame) const
ParameterVector & parameterVector(ParameterClass iclass)
Element & operator=(const Element &)=delete
ElementModel::ParameterVector ParameterVector
double getParameter(ParameterClass iclass, ipar_t ipar) const
const std::string & asapId() const
ElementModel::ipar_t ipar_t