Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:42

0001 #ifndef Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
0002 #define Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H
0003 
0004 /** \class CSCPairConstraint
0005  *  $Date: 2010/05/04 01:16:04 $
0006  *  $Revision: 1.1 $
0007  *  \author J. Pivarski - Texas A&M University <pivarski@physics.tamu.edu>
0008  */
0009 
0010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0011 #include "DataFormats/DetId/interface/DetId.h"
0012 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0013 
0014 class CSCPairConstraint {
0015 public:
0016   CSCPairConstraint(int i, int j, double value, double error) : m_i(i), m_j(j), m_value(value), m_error(error){};
0017   virtual ~CSCPairConstraint(){};
0018 
0019   virtual int i() const { return m_i; };
0020   virtual int j() const { return m_j; };
0021   virtual double value() const { return m_value; };
0022   virtual double error() const { return m_error; };
0023   virtual bool valid() const { return true; };
0024 
0025 protected:
0026   int m_i, m_j;
0027   double m_value, m_error;
0028 };
0029 
0030 #endif  // Alignment_MuonAlignmentAlgorithms_CSCPairConstraint_H