CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
17  : m_i(i), m_j(j), m_value(value), m_error(error) {};
18  virtual ~CSCPairConstraint() {};
19 
20  virtual int i() const { return m_i; };
21  virtual int j() const { return m_j; };
22  virtual double value() const { return m_value; };
23  virtual double error() const { return m_error; };
24  virtual bool valid() const { return true; };
25 
26 protected:
27  int m_i, m_j;
28  double m_value, m_error;
29 };
30 
31 #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
virtual int j() const
virtual double value() const