Project
Loading...
Searching...
No Matches
o2::align::GeometricalConstraint Class Reference

#include <GeometricalConstraint.h>

Public Types

enum  { kNDOFGeom = AlignableVolume::kNDOFGeom }
 

Public Member Functions

const std::string getName () const
 
void setName (const std::string &n)
 
void setParent (const AlignableVolume *par)
 
const AlignableVolumegetParent () const
 
int getNChildren () const
 
const AlignableVolumegetChild (int i) const
 
void addChild (const AlignableVolume *v)
 
bool isDOFConstrained (int dof) const
 
uint8_t getConstraintPattern () const
 
void constrainDOF (int dof)
 
void unConstrainDOF (int dof)
 
void setConstrainPattern (uint8_t pat)
 
bool hasConstraint () const
 
double getSigma (int i) const
 
void setSigma (int i, double s=0)
 
void setNoJacobian (bool v=true)
 
bool getNoJacobian () const
 
void constrCoefGeom (const TGeoHMatrix &matRD, double *jac) const
 
void print () const
 
void writeChildrenConstraints (FILE *conOut) const
 
void checkConstraint () const
 
const chargetDOFName (int i) const
 

Protected Member Functions

 ClassDefNV (GeometricalConstraint, 2)
 

Protected Attributes

bool mNoJacobian = false
 
uint8_t mConstraint = 0
 
double mSigma [kNDOFGeom] = {}
 
const AlignableVolumemParent = nullptr
 
std::vector< const AlignableVolume * > mChildren
 
std::string mName {}
 

Detailed Description

Definition at line 39 of file GeometricalConstraint.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNDOFGeom 

Definition at line 42 of file GeometricalConstraint.h.

Member Function Documentation

◆ addChild()

void o2::align::GeometricalConstraint::addChild ( const AlignableVolume v)
inline

Definition at line 57 of file GeometricalConstraint.h.

◆ checkConstraint()

void o2::align::GeometricalConstraint::checkConstraint ( ) const

Definition at line 151 of file GeometricalConstraint.cxx.

◆ ClassDefNV()

o2::align::GeometricalConstraint::ClassDefNV ( GeometricalConstraint  ,
 
)
protected

◆ constrainDOF()

void o2::align::GeometricalConstraint::constrainDOF ( int  dof)
inline

Definition at line 66 of file GeometricalConstraint.h.

◆ constrCoefGeom()

void o2::align::GeometricalConstraint::constrCoefGeom ( const TGeoHMatrix &  matRD,
double *  jac 
) const

td=matRD.GetTranslation(),

Definition at line 299 of file GeometricalConstraint.cxx.

◆ getChild()

const AlignableVolume * o2::align::GeometricalConstraint::getChild ( int  i) const
inline

Definition at line 56 of file GeometricalConstraint.h.

◆ getConstraintPattern()

uint8_t o2::align::GeometricalConstraint::getConstraintPattern ( ) const
inline

Definition at line 65 of file GeometricalConstraint.h.

◆ getDOFName()

const char * o2::align::GeometricalConstraint::getDOFName ( int  i) const
inline

Definition at line 81 of file GeometricalConstraint.h.

◆ getName()

const std::string o2::align::GeometricalConstraint::getName ( ) const
inline

Definition at line 44 of file GeometricalConstraint.h.

◆ getNChildren()

int o2::align::GeometricalConstraint::getNChildren ( ) const
inline

Definition at line 55 of file GeometricalConstraint.h.

◆ getNoJacobian()

bool o2::align::GeometricalConstraint::getNoJacobian ( ) const
inline

Definition at line 74 of file GeometricalConstraint.h.

◆ getParent()

const AlignableVolume * o2::align::GeometricalConstraint::getParent ( ) const
inline

Definition at line 53 of file GeometricalConstraint.h.

◆ getSigma()

double o2::align::GeometricalConstraint::getSigma ( int  i) const
inline

Definition at line 70 of file GeometricalConstraint.h.

◆ hasConstraint()

bool o2::align::GeometricalConstraint::hasConstraint ( ) const
inline

Definition at line 69 of file GeometricalConstraint.h.

◆ isDOFConstrained()

bool o2::align::GeometricalConstraint::isDOFConstrained ( int  dof) const
inline

Definition at line 64 of file GeometricalConstraint.h.

◆ print()

void o2::align::GeometricalConstraint::print ( ) const

Definition at line 374 of file GeometricalConstraint.cxx.

◆ setConstrainPattern()

void o2::align::GeometricalConstraint::setConstrainPattern ( uint8_t  pat)
inline

Definition at line 68 of file GeometricalConstraint.h.

◆ setName()

void o2::align::GeometricalConstraint::setName ( const std::string &  n)
inline

Definition at line 45 of file GeometricalConstraint.h.

◆ setNoJacobian()

void o2::align::GeometricalConstraint::setNoJacobian ( bool  v = true)
inline

Definition at line 73 of file GeometricalConstraint.h.

◆ setParent()

void o2::align::GeometricalConstraint::setParent ( const AlignableVolume par)
inline

Definition at line 46 of file GeometricalConstraint.h.

◆ setSigma()

void o2::align::GeometricalConstraint::setSigma ( int  i,
double  s = 0 
)
inline

Definition at line 71 of file GeometricalConstraint.h.

◆ unConstrainDOF()

void o2::align::GeometricalConstraint::unConstrainDOF ( int  dof)
inline

Definition at line 67 of file GeometricalConstraint.h.

◆ writeChildrenConstraints()

void o2::align::GeometricalConstraint::writeChildrenConstraints ( FILE *  conOut) const

Definition at line 37 of file GeometricalConstraint.cxx.

Member Data Documentation

◆ mChildren

std::vector<const AlignableVolume*> o2::align::GeometricalConstraint::mChildren
protected

Definition at line 88 of file GeometricalConstraint.h.

◆ mConstraint

uint8_t o2::align::GeometricalConstraint::mConstraint = 0
protected

Definition at line 85 of file GeometricalConstraint.h.

◆ mName

std::string o2::align::GeometricalConstraint::mName {}
protected

Definition at line 89 of file GeometricalConstraint.h.

◆ mNoJacobian

bool o2::align::GeometricalConstraint::mNoJacobian = false
protected

Definition at line 84 of file GeometricalConstraint.h.

◆ mParent

const AlignableVolume* o2::align::GeometricalConstraint::mParent = nullptr
protected

Definition at line 87 of file GeometricalConstraint.h.

◆ mSigma

double o2::align::GeometricalConstraint::mSigma[kNDOFGeom] = {}
protected

Definition at line 86 of file GeometricalConstraint.h.


The documentation for this class was generated from the following files: