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.

25 { FSLOPE = 10000000, FINTERCEPT = 100000 };

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.

36 { return factor_intercept; }

References factor_intercept.

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

◆ item()

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

Definition at line 30 of file CSCDBCrosstalk.h.

30 { return crosstalk[index]; }

References crosstalk.

◆ linter()

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

Definition at line 34 of file CSCDBCrosstalk.h.

34 { return crosstalk[index].xtalk_intercept_left; }

References crosstalk.

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

◆ lslope()

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

Definition at line 33 of file CSCDBCrosstalk.h.

33 { return crosstalk[index].xtalk_slope_left; }

References crosstalk.

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

◆ rinter()

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

Definition at line 32 of file CSCDBCrosstalk.h.

32 { return crosstalk[index].xtalk_intercept_right; }

References crosstalk.

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

◆ rslope()

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

Definition at line 31 of file CSCDBCrosstalk.h.

31 { return crosstalk[index].xtalk_slope_right; }

References crosstalk.

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

◆ 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.

35 { return factor_slope; }

References factor_slope.

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

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
CSCDBCrosstalk::factor_slope
int factor_slope
Definition: CSCDBCrosstalk.h:22
CSCDBCrosstalk::FINTERCEPT
Definition: CSCDBCrosstalk.h:25
CSCDBCrosstalk::crosstalk
CrosstalkContainer crosstalk
Definition: CSCDBCrosstalk.h:28
CSCDBCrosstalk::FSLOPE
Definition: CSCDBCrosstalk.h:25
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
CSCDBCrosstalk::factor_intercept
int factor_intercept
Definition: CSCDBCrosstalk.h:23