Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:59

0001 /*!
0002  *  \file       SpacepointMeasurement.h
0003  *  \brief      Handles the palnar type of measurements.
0004  *  \author     Haiwang Yu <yuhw@nmsu.edu>
0005  */
0006 
0007 #ifndef PHGENFIT_SPACEPOINTMEASUREMENT_H
0008 #define PHGENFIT_SPACEPOINTMEASUREMENT_H
0009 
0010 #include "Measurement.h"
0011 
0012 #include <TMatrixDSymfwd.h>
0013 
0014 class TVector3;
0015 
0016 namespace PHGenFit
0017 {
0018   class SpacepointMeasurement : public Measurement
0019   {
0020    public:
0021     /*!
0022      * Ctor
0023      * \param pos measurement position
0024      * \param resolution standard dev for diagnal elements of the cov, other elements are zero
0025      */
0026     SpacepointMeasurement(const TVector3& pos, const double resolution);
0027     /*!
0028      * Ctor
0029      * \param pos measurement position
0030      * \param resolution standard dev for each diagnal element of the cov, other elements are zero
0031      */
0032     SpacepointMeasurement(const TVector3& pos, const TVector3& resolution);
0033     /*!
0034      * Ctor
0035      * \param pos measurement position
0036      * \param covariance matrix
0037      */
0038     SpacepointMeasurement(const TVector3& pos, const TMatrixDSym& cov);
0039 
0040     void init(const TVector3& pos, const TMatrixDSym& cov);
0041 
0042     //! dtor
0043     ~SpacepointMeasurement() override {}
0044 
0045    protected:
0046   };
0047 }  // namespace PHGenFit
0048 
0049 #endif