CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TkFittedLasBeam.h
Go to the documentation of this file.
1 #ifndef DataFormats_Alignment_TkFittedLasBeam_h
2 #define DataFormats_Alignment_TkFittedLasBeam_h
3 
13 
16 #include <vector>
17 
18 class TkFittedLasBeam : public TkLasBeam {
19  public:
20  typedef float Scalar; // scalar type used in this class
21 
22  TkFittedLasBeam();
23  TkFittedLasBeam(const TkLasBeam &lasBeam);
24  virtual ~TkFittedLasBeam() {} // anyway virtual since inherited...
25 
27  unsigned int parametrisation() const { return parametrisation_;}
29  const std::vector<Scalar>& parameters() const { return parameters_;}
33  const AlgebraicMatrix& derivatives() const { return derivatives_;}
36  unsigned int firstFixedParameter() const { return firstFixedParameter_;}
37 
43  void setParameters(unsigned int parametrisation,
44  const std::vector<Scalar> &params,
45  const AlgebraicSymMatrix &paramCovariance,
47  unsigned int firstFixedParam, float chi2);
48 
49 private:
50  unsigned int parametrisation_;
51  std::vector<Scalar> parameters_;
54  unsigned int firstFixedParameter_;
55  float chi2_;
56 
57 };
58 
59 
60 // To get the typedef for the collection:
62 
63 #endif
unsigned int firstFixedParameter() const
const AlgebraicMatrix & derivatives() const
matrix of local derivatives: columns are parameters, rows are hits
unsigned int parametrisation_
CLHEP::HepMatrix AlgebraicMatrix
const std::vector< Scalar > & parameters() const
parallel to derivatives()
virtual ~TkFittedLasBeam()
unsigned int parametrisation() const
the parametrisation type used (0 means undefined...)
AlgebraicSymMatrix paramCovariance_
beam parameters (depend on parameterisation_)
const AlgebraicSymMatrix & parametersCov() const
covariance of first n=firstFixedParameter() parameters()
unsigned int firstFixedParameter_
derivatives with respect to parameters_
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::vector< Scalar > parameters_
type of parameterisation (0 means undefined)
float chi2_
first non-free parameter in (local) fit
AlgebraicMatrix derivatives_
cov. matrix of &#39;free&#39; params. (dim=firstFixedParameter_)
void setParameters(unsigned int parametrisation, const std::vector< Scalar > &params, const AlgebraicSymMatrix &paramCovariance, const AlgebraicMatrix &derivatives, unsigned int firstFixedParam, float chi2)