CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/Alignment/SurveyAnalysis/src/SurveyParameters.cc

Go to the documentation of this file.
00001 #include "Alignment/SurveyAnalysis/interface/SurveyParameters.h"
00002 #include "Alignment/CommonAlignmentParametrization/interface/AlignmentParametersFactory.h"
00003 #include "FWCore/Utilities/interface/Exception.h"
00004 
00005 SurveyParameters::SurveyParameters(Alignable* object,
00006                                    const AlgebraicVector& par,
00007                                    const AlgebraicSymMatrix& cov):
00008   AlignmentParameters(object, par, cov)
00009 {
00010 }
00011 
00012 void SurveyParameters::apply()
00013 {
00014   throw cms::Exception("BadInheritance") 
00015       << "SurveyParameters::apply(): Not implemented.";
00016 }
00017 
00018 int SurveyParameters::type() const
00019 {
00020   return AlignmentParametersFactory::kSurvey;
00021 }
00022 
00023 AlignmentParameters* SurveyParameters::clone(const AlgebraicVector&,
00024                                              const AlgebraicSymMatrix&) const
00025 {
00026   throw cms::Exception("BadInheritance") 
00027       << "SurveyParameters::clone(): Not implemented.";
00028   return 0;
00029 }
00030 
00031 AlignmentParameters* SurveyParameters::cloneFromSelected(const AlgebraicVector&,
00032                                                          const AlgebraicSymMatrix&) const
00033 {
00034   throw cms::Exception("BadInheritance") 
00035       << "SurveyParameters::cloneFromSelected(): Not implemented.";
00036 
00037   return 0;
00038 }
00039 
00040 AlgebraicMatrix SurveyParameters::derivatives(const TrajectoryStateOnSurface&,
00041                                               const AlignableDetOrUnitPtr& ) const
00042 {
00043   throw cms::Exception("BadInheritance") 
00044       << "SurveyParameters::derivatives(): Not implemented.";
00045 
00046   return AlgebraicMatrix();
00047 }
00048 
00049 AlgebraicMatrix SurveyParameters::selectedDerivatives(const TrajectoryStateOnSurface&,
00050                                                       const AlignableDetOrUnitPtr& ) const
00051 {
00052   throw cms::Exception("BadInheritance") 
00053       << "SurveyParameters::selectedDerivatives(): Not implemented.";
00054 
00055   return AlgebraicMatrix();
00056 }