ATLAS Offline Software
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 
10 namespace NswAsBuilt {
11 
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 
ElementModel.h
NswAsBuilt::ElementModelRigid
An element model without deformations, i.e.
Definition: ElementModelRigid.h:16
NswAsBuilt::ElementModelRigid::Z
@ Z
Definition: ElementModelRigid.h:18
NswAsBuilt::ElementModelRigid::cacheTransform
virtual void cacheTransform(ParameterVector &parvec) const override
Definition: ElementModelRigid.cxx:22
NswAsBuilt::ElementModel::VectorSetRef
Eigen::Ref< VectorSet > VectorSetRef
Definition: ElementModel.h:37
NswAsBuilt::ElementModelRigid::transform
virtual void transform(const ParameterVector &parvec, VectorSetRef local) const override
Definition: ElementModelRigid.cxx:12
python.CreateTierZeroArgdict.parname
parname
Definition: CreateTierZeroArgdict.py:194
NswAsBuilt::ElementModelRigid::Y
@ Y
Definition: ElementModelRigid.h:18
NswAsBuilt::ElementModelRigid::parameter_t
parameter_t
Definition: ElementModelRigid.h:18
NswAsBuilt::ElementModelRigid::THY
@ THY
Definition: ElementModelRigid.h:18
NswAsBuilt::ElementModelRigid::getParameterName
virtual std::string getParameterName(ipar_t ipar) const override
Definition: ElementModelRigid.cxx:48
NswAsBuilt::ElementModelRigid::X
@ X
Definition: ElementModelRigid.h:18
NswAsBuilt::ElementModelRigid::getParameterIndex
virtual ipar_t getParameterIndex(const std::string &parname) const override
Definition: ElementModelRigid.cxx:35
NswAsBuilt::ElementModel::ipar_t
unsigned int ipar_t
Definition: ElementModel.h:35
InDetDD::local
@ local
Definition: InDetDD_Defs.h:16
NswAsBuilt::ElementModel
Pure abstract class representing the deformation model of an Element.
Definition: ElementModel.h:33
NswAsBuilt::ElementModelRigid::THX
@ THX
Definition: ElementModelRigid.h:18
NswAsBuilt
Definition: CathodeBoardElement.h:12
NswAsBuilt::ElementModelRigid::THZ
@ THZ
Definition: ElementModelRigid.h:18
NswAsBuilt::ElementModelRigid::nParameters
virtual int nParameters() const override
Definition: ElementModelRigid.h:21