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

◆ CrosstalkContainer

Definition at line 27 of file CSCDBCrosstalk.h.

Member Enumeration Documentation

◆ factors

Enumerator
FSLOPE 
FINTERCEPT 

Definition at line 25 of file CSCDBCrosstalk.h.

Constructor & Destructor Documentation

◆ CSCDBCrosstalk()

CSCDBCrosstalk::CSCDBCrosstalk ( )
inline

Definition at line 11 of file CSCDBCrosstalk.h.

11 {}

◆ ~CSCDBCrosstalk()

CSCDBCrosstalk::~CSCDBCrosstalk ( )
inline

Definition at line 12 of file CSCDBCrosstalk.h.

12 {}

Member Function Documentation

◆ iscale()

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; }

◆ item()

const Item& CSCDBCrosstalk::item ( int  index) const
inline

Definition at line 30 of file CSCDBCrosstalk.h.

References crosstalk.

30 { return crosstalk[index]; }
CrosstalkContainer crosstalk

◆ linter()

short int CSCDBCrosstalk::linter ( int  index) const
inline

Definition at line 34 of file CSCDBCrosstalk.h.

References crosstalk.

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

34 { return crosstalk[index].xtalk_intercept_left; }
CrosstalkContainer crosstalk

◆ lslope()

short int CSCDBCrosstalk::lslope ( int  index) const
inline

Definition at line 33 of file CSCDBCrosstalk.h.

References crosstalk.

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

33 { return crosstalk[index].xtalk_slope_left; }
CrosstalkContainer crosstalk

◆ rinter()

short int CSCDBCrosstalk::rinter ( int  index) const
inline

Definition at line 32 of file CSCDBCrosstalk.h.

References crosstalk.

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

32 { return crosstalk[index].xtalk_intercept_right; }
CrosstalkContainer crosstalk

◆ rslope()

short int CSCDBCrosstalk::rslope ( int  index) const
inline

Definition at line 31 of file CSCDBCrosstalk.h.

References crosstalk.

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

31 { return crosstalk[index].xtalk_slope_right; }
CrosstalkContainer crosstalk

◆ serialize()

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

◆ sscale()

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

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 38 of file CSCDBCrosstalk.h.

◆ cond::serialization::access

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

Definition at line 38 of file CSCDBCrosstalk.h.

Member Data Documentation

◆ crosstalk

CrosstalkContainer CSCDBCrosstalk::crosstalk

◆ factor_intercept

int CSCDBCrosstalk::factor_intercept

◆ factor_slope

int CSCDBCrosstalk::factor_slope