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::value
virtual double value() const
Definition: CSCPairConstraint.h:21
CSCPairConstraint::m_value
double m_value
Definition: CSCPairConstraint.h:27
CSCPairConstraint::m_error
double m_error
Definition: CSCPairConstraint.h:27
CSCPairConstraint::CSCPairConstraint
CSCPairConstraint(int i, int j, double value, double error)
Definition: CSCPairConstraint.h:16
CSCPairConstraint::~CSCPairConstraint
virtual ~CSCPairConstraint()
Definition: CSCPairConstraint.h:17
CSCDetId.h
CSCPairConstraint::m_j
int m_j
Definition: CSCPairConstraint.h:23
CSCPairConstraint::valid
virtual bool valid() const
Definition: CSCPairConstraint.h:23
value
Definition: value.py:1
CSCPairConstraint::i
virtual int i() const
Definition: CSCPairConstraint.h:19
DetId.h
CSCPairConstraint::m_i
int m_i
Definition: CSCPairConstraint.h:23
CSCPairConstraint
Definition: CSCPairConstraint.h:14
ParameterSet.h
CSCPairConstraint::j
virtual int j() const
Definition: CSCPairConstraint.h:20
CSCPairConstraint::error
virtual double error() const
Definition: CSCPairConstraint.h:22