Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:24

0001 #include "Alignment/SurveyAnalysis/interface/SurveyParameters.h"
0002 #include "Alignment/CommonAlignmentParametrization/interface/AlignmentParametersFactory.h"
0003 #include "FWCore/Utilities/interface/Exception.h"
0004 
0005 SurveyParameters::SurveyParameters(Alignable* object, const AlgebraicVector& par, const AlgebraicSymMatrix& cov)
0006     : AlignmentParameters(object, par, cov) {}
0007 
0008 void SurveyParameters::apply() {
0009   throw cms::Exception("BadInheritance") << "SurveyParameters::apply(): Not implemented.";
0010 }
0011 
0012 int SurveyParameters::type() const { return AlignmentParametersFactory::kSurvey; }
0013 
0014 AlignmentParameters* SurveyParameters::clone(const AlgebraicVector&, const AlgebraicSymMatrix&) const {
0015   throw cms::Exception("BadInheritance") << "SurveyParameters::clone(): Not implemented.";
0016   return nullptr;
0017 }
0018 
0019 AlignmentParameters* SurveyParameters::cloneFromSelected(const AlgebraicVector&, const AlgebraicSymMatrix&) const {
0020   throw cms::Exception("BadInheritance") << "SurveyParameters::cloneFromSelected(): Not implemented.";
0021 
0022   return nullptr;
0023 }
0024 
0025 AlgebraicMatrix SurveyParameters::derivatives(const TrajectoryStateOnSurface&, const AlignableDetOrUnitPtr&) const {
0026   throw cms::Exception("BadInheritance") << "SurveyParameters::derivatives(): Not implemented.";
0027 
0028   return AlgebraicMatrix();
0029 }
0030 
0031 AlgebraicMatrix SurveyParameters::selectedDerivatives(const TrajectoryStateOnSurface&,
0032                                                       const AlignableDetOrUnitPtr&) const {
0033   throw cms::Exception("BadInheritance") << "SurveyParameters::selectedDerivatives(): Not implemented.";
0034 
0035   return AlgebraicMatrix();
0036 }