CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/Alignment/MuonAlignmentAlgorithms/interface/CSCPairConstraint.h

Go to the documentation of this file.
00001 #ifndef Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
00002 #define Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
00003 
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 #include "DataFormats/DetId/interface/DetId.h"
00012 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
00013 
00014 class CSCPairConstraint {
00015 public:
00016   CSCPairConstraint(int i, int j, double value, double error)
00017     : m_i(i), m_j(j), m_value(value), m_error(error) {};
00018   virtual ~CSCPairConstraint() {};
00019 
00020   virtual int i() const { return m_i; };
00021   virtual int j() const { return m_j; };
00022   virtual double value() const { return m_value; };
00023   virtual double error() const { return m_error; };
00024   virtual bool valid() const { return true; };
00025 
00026 protected:
00027   int m_i, m_j;
00028   double m_value, m_error;
00029 };
00030 
00031 #endif // Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H