CMS 3D CMS Logo

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 
23  TkFittedLasBeam(const TkLasBeam &lasBeam);
24  ~TkFittedLasBeam() override {} // 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,
48  float chi2);
49 
50 private:
51  unsigned int parametrisation_;
52  std::vector<Scalar> parameters_;
55  unsigned int firstFixedParameter_;
56  float chi2_;
57 };
58 
59 // To get the typedef for the collection:
61 
62 #endif
TkFittedLasBeam::paramCovariance_
AlgebraicSymMatrix paramCovariance_
beam parameters (depend on parameterisation_)
Definition: TkFittedLasBeam.h:53
TkFittedLasBeam::TkFittedLasBeam
TkFittedLasBeam()
Definition: TkFittedLasBeam.cc:6
TkFittedLasBeam::parametrisation
unsigned int parametrisation() const
the parametrisation type used (0 means undefined...)
Definition: TkFittedLasBeam.h:27
TkFittedLasBeam::chi2_
float chi2_
first non-free parameter in (local) fit
Definition: TkFittedLasBeam.h:56
TkFittedLasBeam::Scalar
float Scalar
Definition: TkFittedLasBeam.h:20
TkFittedLasBeam::~TkFittedLasBeam
~TkFittedLasBeam() override
Definition: TkFittedLasBeam.h:24
AlgebraicObjects.h
TkFittedLasBeamCollectionFwd.h
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
TkFittedLasBeam::derivatives_
AlgebraicMatrix derivatives_
cov. matrix of 'free' params. (dim=firstFixedParameter_)
Definition: TkFittedLasBeam.h:54
hltPixelTracks_cff.chi2
chi2
Definition: hltPixelTracks_cff.py:25
TkLasBeam.h
TkLasBeam
Definition: TkLasBeam.h:12
TkFittedLasBeam::parameters
const std::vector< Scalar > & parameters() const
parallel to derivatives()
Definition: TkFittedLasBeam.h:29
TkFittedLasBeam::firstFixedParameter_
unsigned int firstFixedParameter_
derivatives with respect to parameters_
Definition: TkFittedLasBeam.h:55
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition: AlgebraicObjects.h:15
TkFittedLasBeam
Definition: TkFittedLasBeam.h:18
TkFittedLasBeam::parametersCov
const AlgebraicSymMatrix & parametersCov() const
covariance of first n=firstFixedParameter() parameters()
Definition: TkFittedLasBeam.h:31
TkFittedLasBeam::setParameters
void setParameters(unsigned int parametrisation, const std::vector< Scalar > &params, const AlgebraicSymMatrix &paramCovariance, const AlgebraicMatrix &derivatives, unsigned int firstFixedParam, float chi2)
Definition: TkFittedLasBeam.cc:11
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
TkFittedLasBeam::firstFixedParameter
unsigned int firstFixedParameter() const
Definition: TkFittedLasBeam.h:36
TkFittedLasBeam::parametrisation_
unsigned int parametrisation_
Definition: TkFittedLasBeam.h:51
TkFittedLasBeam::parameters_
std::vector< Scalar > parameters_
type of parameterisation (0 means undefined)
Definition: TkFittedLasBeam.h:52
TkFittedLasBeam::derivatives
const AlgebraicMatrix & derivatives() const
matrix of local derivatives: columns are parameters, rows are hits
Definition: TkFittedLasBeam.h:33