CMS 3D CMS Logo

Public Member Functions | Protected Attributes

CSCPairConstraint Class Reference

#include <CSCPairConstraint.h>

Inheritance diagram for CSCPairConstraint:
CSCPairResidualsConstraint

List of all members.

Public Member Functions

 CSCPairConstraint (int i, int j, double value, double error)
virtual double error () const
virtual int i () const
virtual int j () const
virtual bool valid () const
virtual double value () const
virtual ~CSCPairConstraint ()

Protected Attributes

double m_error
int m_i
int m_j
double m_value

Detailed Description

Date:
2010/05/05 04:00:38
Revision:
1.2
Author:
J. Pivarski - Texas A&M University <pivarski@physics.tamu.edu>

Definition at line 14 of file CSCPairConstraint.h.


Constructor & Destructor Documentation

CSCPairConstraint::CSCPairConstraint ( int  i,
int  j,
double  value,
double  error 
) [inline]

Definition at line 16 of file CSCPairConstraint.h.

    : m_i(i), m_j(j), m_value(value), m_error(error) {};
virtual CSCPairConstraint::~CSCPairConstraint ( ) [inline, virtual]

Definition at line 18 of file CSCPairConstraint.h.

{};

Member Function Documentation

virtual double CSCPairConstraint::error ( ) const [inline, virtual]

Reimplemented in CSCPairResidualsConstraint.

Definition at line 23 of file CSCPairConstraint.h.

References m_error.

{ return m_error; };
virtual int CSCPairConstraint::i ( ) const [inline, virtual]

Definition at line 20 of file CSCPairConstraint.h.

References m_i.

Referenced by CSCPairResidualsConstraint::read(), and CSCPairResidualsConstraint::write().

{ return m_i; };
virtual int CSCPairConstraint::j ( ) const [inline, virtual]

Definition at line 21 of file CSCPairConstraint.h.

References m_j.

Referenced by CSCPairResidualsConstraint::read(), and CSCPairResidualsConstraint::write().

{ return m_j; };
virtual bool CSCPairConstraint::valid ( ) const [inline, virtual]

Reimplemented in CSCPairResidualsConstraint.

Definition at line 24 of file CSCPairConstraint.h.

{ return true; };
virtual double CSCPairConstraint::value ( ) const [inline, virtual]

Reimplemented in CSCPairResidualsConstraint.

Definition at line 22 of file CSCPairConstraint.h.

References m_value.

{ return m_value; };

Member Data Documentation

double CSCPairConstraint::m_error [protected]

Definition at line 28 of file CSCPairConstraint.h.

Referenced by error().

int CSCPairConstraint::m_i [protected]

Definition at line 24 of file CSCPairConstraint.h.

Referenced by i(), and CSCPairResidualsConstraint::read().

int CSCPairConstraint::m_j [protected]

Definition at line 24 of file CSCPairConstraint.h.

Referenced by j(), and CSCPairResidualsConstraint::read().

double CSCPairConstraint::m_value [protected]

Definition at line 28 of file CSCPairConstraint.h.

Referenced by value().