ATLAS Offline Software
Loading...
Searching...
No Matches
ElementModelRigid.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONNSWASBUILT_ELEMENTMODELRIGID_H
6#define MUONNSWASBUILT_ELEMENTMODELRIGID_H
7
9
10namespace NswAsBuilt {
11
15
17 public:
18 enum parameter_t { X=0, Y=1, Z=2, THX=3, THY=4, THZ=5 };
19
20 // The number of parameters used
21 virtual int nParameters() const override { return 6; }
22
23 // Transform a set of vectors expressed in local frame, stored in a matrix
24 virtual void transform(const ParameterVector& parvec, VectorSetRef local) const override;
25
26 // Cache the rigid component of this deformation model
27 virtual void cacheTransform(ParameterVector& parvec) const override;
28
29 // Helper methods to convert parameter index to string representation
30 virtual ipar_t getParameterIndex(const std::string& parname) const override;
31 virtual std::string getParameterName(ipar_t ipar) const override;
32 };
33}
34
35#endif
36
An element model without deformations, i.e.
virtual int nParameters() const override
virtual std::string getParameterName(ipar_t ipar) const override
virtual void cacheTransform(ParameterVector &parvec) const override
virtual ipar_t getParameterIndex(const std::string &parname) const override
virtual void transform(const ParameterVector &parvec, VectorSetRef local) const override
Pure abstract class representing the deformation model of an Element.
Eigen::Ref< VectorSet > VectorSetRef