Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:13

0001 #ifndef MeasurementError_H
0002 #define MeasurementError_H
0003 
0004 /** A very simple class for 2D error matrix components,
0005  *  used for the measurement frame.
0006  */
0007 
0008 class MeasurementError {
0009 public:
0010   MeasurementError() : theuu(0), theuv(0), thevv(0) {}
0011 
0012   MeasurementError(float uu, float uv, float vv) : theuu(uu), theuv(uv), thevv(vv) {}
0013 
0014   float uu() const { return theuu; }
0015   float uv() const { return theuv; }
0016   float vv() const { return thevv; }
0017 
0018 private:
0019   float theuu;
0020   float theuv;
0021   float thevv;
0022 };
0023 
0024 #endif  // MeasurementError_H