CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Friends
CSCDBCrosstalk Class Reference

#include <CSCDBCrosstalk.h>

Classes

struct  Item
 

Public Types

typedef std::vector< ItemCrosstalkContainer
 
enum  factors { FSLOPE = 10000000, FINTERCEPT = 100000 }
 

Public Member Functions

 CSCDBCrosstalk ()
 
int iscale () const
 
const Itemitem (int index) const
 
short int linter (int index) const
 
short int lslope (int index) const
 
short int rinter (int index) const
 
short int rslope (int index) const
 
int sscale () const
 
 ~CSCDBCrosstalk ()
 

Public Attributes

CrosstalkContainer crosstalk
 
int factor_intercept
 
int factor_slope
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 9 of file CSCDBCrosstalk.h.

Member Typedef Documentation

Definition at line 27 of file CSCDBCrosstalk.h.

Member Enumeration Documentation

Enumerator
FSLOPE 
FINTERCEPT 

Definition at line 25 of file CSCDBCrosstalk.h.

Constructor & Destructor Documentation

CSCDBCrosstalk::CSCDBCrosstalk ( )
inline

Definition at line 11 of file CSCDBCrosstalk.h.

11 {}
CSCDBCrosstalk::~CSCDBCrosstalk ( )
inline

Definition at line 12 of file CSCDBCrosstalk.h.

12 {}

Member Function Documentation

int CSCDBCrosstalk::iscale ( ) const
inline

Definition at line 36 of file CSCDBCrosstalk.h.

References factor_intercept.

Referenced by CSCConditions::crossTalk(), and CSCConditions::crosstalkIntercept().

36 { return factor_intercept; }
const Item& CSCDBCrosstalk::item ( int  index) const
inline
short int CSCDBCrosstalk::linter ( int  index) const
inline

Definition at line 34 of file CSCDBCrosstalk.h.

Referenced by CSCConditions::crossTalk(), and CSCConditions::crosstalkIntercept().

34 { return crosstalk[index].xtalk_intercept_left; }
CrosstalkContainer crosstalk
short int CSCDBCrosstalk::lslope ( int  index) const
inline

Definition at line 33 of file CSCDBCrosstalk.h.

Referenced by CSCConditions::crossTalk(), and CSCConditions::crosstalkSlope().

33 { return crosstalk[index].xtalk_slope_left; }
CrosstalkContainer crosstalk
short int CSCDBCrosstalk::rinter ( int  index) const
inline

Definition at line 32 of file CSCDBCrosstalk.h.

Referenced by CSCConditions::crossTalk(), and CSCConditions::crosstalkIntercept().

32 { return crosstalk[index].xtalk_intercept_right; }
CrosstalkContainer crosstalk
short int CSCDBCrosstalk::rslope ( int  index) const
inline

Definition at line 31 of file CSCDBCrosstalk.h.

Referenced by CSCConditions::crossTalk(), and CSCConditions::crosstalkSlope().

31 { return crosstalk[index].xtalk_slope_right; }
CrosstalkContainer crosstalk
template<class Archive >
void CSCDBCrosstalk::serialize ( Archive &  ar,
const unsigned int  version 
)
private
int CSCDBCrosstalk::sscale ( ) const
inline

Definition at line 35 of file CSCDBCrosstalk.h.

References factor_slope.

Referenced by CSCConditions::crossTalk(), and CSCConditions::crosstalkSlope().

35 { return factor_slope; }

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 38 of file CSCDBCrosstalk.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 38 of file CSCDBCrosstalk.h.

Member Data Documentation

CrosstalkContainer CSCDBCrosstalk::crosstalk
int CSCDBCrosstalk::factor_intercept
int CSCDBCrosstalk::factor_slope