CMS 3D CMS Logo

List of all members | Public Member Functions
SurveyParameters Class Reference

#include <SurveyParameters.h>

Inheritance diagram for SurveyParameters:
AlignmentParameters

Public Member Functions

void apply () override
 apply not implemented More...
 
AlignmentParametersclone (const AlgebraicVector &, const AlgebraicSymMatrix &) const override
 Cloning not implemented. More...
 
AlignmentParameterscloneFromSelected (const AlgebraicVector &, const AlgebraicSymMatrix &) const override
 Cloning not implemented. More...
 
AlgebraicMatrix derivatives (const TrajectoryStateOnSurface &, const AlignableDetOrUnitPtr &) const override
 Derivatives not implemented. More...
 
AlgebraicMatrix selectedDerivatives (const TrajectoryStateOnSurface &, const AlignableDetOrUnitPtr &) const override
 Derivatives not implemented. More...
 
 SurveyParameters (Alignable *, const AlgebraicVector &par, const AlgebraicSymMatrix &cov)
 
int type () const override
 tell type (AlignmentParametersFactory::ParametersType - but no circular dependency) More...
 
- Public Member Functions inherited from AlignmentParameters
Alignablealignable (void) const
 Get pointer to corresponding alignable. More...
 
 AlignmentParameters ()
 Default constructor. More...
 
 AlignmentParameters (Alignable *object, const AlgebraicVector &par, const AlgebraicSymMatrix &cov)
 Constructor from given input. More...
 
 AlignmentParameters (Alignable *object, const AlgebraicVector &par, const AlgebraicSymMatrix &cov, const std::vector< bool > &sel)
 Constructor including selection of active parameters. More...
 
 AlignmentParameters (Alignable *object, const DataContainer &data)
 Constructor. More...
 
const AlgebraicSymMatrixcovariance (void) const
 Get parameter covariance matrix. More...
 
virtual unsigned int hierarchyLevel () const
 
bool isValid (void) const
 Get validity flag. More...
 
int numSelected (void) const
 Get number of selected parameters. More...
 
const AlgebraicVectorparameters (void) const
 Get alignment parameters. More...
 
AlgebraicSymMatrix selectedCovariance (void) const
 Get covariance matrix of selected parameters. More...
 
AlgebraicVector selectedParameters (void) const
 Get selected parameters. More...
 
const std::vector< bool > & selector (void) const
 Get alignment parameter selector vector. More...
 
void setUserVariables (AlignmentUserVariables *auv)
 Set pointer to user variables. More...
 
void setValid (bool v)
 Set validity flag. More...
 
int size (void) const
 Get number of parameters. More...
 
AlignmentUserVariablesuserVariables (void) const
 Get pointer to user variables. More...
 
virtual ~AlignmentParameters ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from AlignmentParameters
typedef AlignmentParametersData::DataContainer DataContainer
 
- Protected Member Functions inherited from AlignmentParameters
AlgebraicSymMatrix collapseSymMatrix (const AlgebraicSymMatrix &m, const std::vector< bool > &sel) const
 
AlgebraicVector collapseVector (const AlgebraicVector &m, const std::vector< bool > &sel) const
 
AlgebraicSymMatrix expandSymMatrix (const AlgebraicSymMatrix &m, const std::vector< bool > &sel) const
 
AlgebraicVector expandVector (const AlgebraicVector &m, const std::vector< bool > &sel) const
 
- Protected Attributes inherited from AlignmentParameters
bool bValid
 True if parameters are valid. More...
 
AlignabletheAlignable
 
DataContainer theData
 
AlignmentUserVariablestheUserVariables
 

Detailed Description

Alignment parameters for survey. Inheriting from AlignmentParameters is fake, just to attach it to an Alignable, re-using the AlignmentParameters data member. (Should look for another solution...)

Date
2007/05/09 12:42:03
Revision
1.2
Author
Chung Khim Lae

Definition at line 17 of file SurveyParameters.h.

Constructor & Destructor Documentation

◆ SurveyParameters()

SurveyParameters::SurveyParameters ( Alignable object,
const AlgebraicVector par,
const AlgebraicSymMatrix cov 
)

Set the alignable, parameters, covariance in base class. No user variables, default is all parameters are selected and valid.

Definition at line 5 of file SurveyParameters.cc.

6  : AlignmentParameters(object, par, cov) {}

Member Function Documentation

◆ apply()

void SurveyParameters::apply ( )
overridevirtual

◆ clone()

AlignmentParameters * SurveyParameters::clone ( const AlgebraicVector ,
const AlgebraicSymMatrix  
) const
overridevirtual

Cloning not implemented.

Implements AlignmentParameters.

Definition at line 14 of file SurveyParameters.cc.

14  {
15  throw cms::Exception("BadInheritance") << "SurveyParameters::clone(): Not implemented.";
16  return nullptr;
17 }

References Exception.

◆ cloneFromSelected()

AlignmentParameters * SurveyParameters::cloneFromSelected ( const AlgebraicVector ,
const AlgebraicSymMatrix  
) const
overridevirtual

Cloning not implemented.

Implements AlignmentParameters.

Definition at line 19 of file SurveyParameters.cc.

19  {
20  throw cms::Exception("BadInheritance") << "SurveyParameters::cloneFromSelected(): Not implemented.";
21 
22  return nullptr;
23 }

References Exception.

◆ derivatives()

AlgebraicMatrix SurveyParameters::derivatives ( const TrajectoryStateOnSurface ,
const AlignableDetOrUnitPtr  
) const
overridevirtual

Derivatives not implemented.

Implements AlignmentParameters.

Definition at line 25 of file SurveyParameters.cc.

25  {
26  throw cms::Exception("BadInheritance") << "SurveyParameters::derivatives(): Not implemented.";
27 
28  return AlgebraicMatrix();
29 }

References Exception.

◆ selectedDerivatives()

AlgebraicMatrix SurveyParameters::selectedDerivatives ( const TrajectoryStateOnSurface ,
const AlignableDetOrUnitPtr  
) const
overridevirtual

Derivatives not implemented.

Reimplemented from AlignmentParameters.

Definition at line 31 of file SurveyParameters.cc.

32  {
33  throw cms::Exception("BadInheritance") << "SurveyParameters::selectedDerivatives(): Not implemented.";
34 
35  return AlgebraicMatrix();
36 }

References Exception.

◆ type()

int SurveyParameters::type ( ) const
overridevirtual

tell type (AlignmentParametersFactory::ParametersType - but no circular dependency)

Implements AlignmentParameters.

Definition at line 12 of file SurveyParameters.cc.

References AlignmentParametersFactory::kSurvey.

AlignmentParametersFactory::kSurvey
Definition: AlignmentParametersFactory.h:23
AlignmentParameters::AlignmentParameters
AlignmentParameters()
Default constructor.
Definition: AlignmentParameters.cc:9
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
Exception
Definition: hltDiff.cc:246