CMS 3D CMS Logo

CSCPairConstraint.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
2 #define Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
3 
13 
15 public:
16  CSCPairConstraint(int i, int j, double value, double error) : m_i(i), m_j(j), m_value(value), m_error(error){};
17  virtual ~CSCPairConstraint(){};
18 
19  virtual int i() const { return m_i; };
20  virtual int j() const { return m_j; };
21  virtual double value() const { return m_value; };
22  virtual double error() const { return m_error; };
23  virtual bool valid() const { return true; };
24 
25 protected:
26  int m_i, m_j;
27  double m_value, m_error;
28 };
29 
30 #endif // Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
CSCPairConstraint(int i, int j, double value, double error)
virtual ~CSCPairConstraint()
virtual bool valid() const
virtual int i() const
virtual double error() const
Definition: value.py:1
virtual int j() const
virtual double value() const