CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESThresholds Class Reference

#include <ESThresholds.h>

Public Member Functions

 ESThresholds ()
 
 ESThresholds (const float &ts2, const float &zs)
 
float getTS2Threshold () const
 
float getZSThreshold () const
 
void print (std::ostream &s) const
 
void setTS2Threshold (const float &value)
 
void setZSThreshold (const float &value)
 
 ~ESThresholds ()
 

Private Member Functions

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

Private Attributes

float ts2_
 
float zs_
 

Friends

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

Detailed Description

Definition at line 7 of file ESThresholds.h.

Constructor & Destructor Documentation

◆ ESThresholds() [1/2]

ESThresholds::ESThresholds ( )

Definition at line 3 of file ESThresholds.cc.

References ts2_, and zs_.

3  {
4  ts2_ = 0.;
5  zs_ = 0.;
6 }

◆ ESThresholds() [2/2]

ESThresholds::ESThresholds ( const float &  ts2,
const float &  zs 
)

Definition at line 8 of file ESThresholds.cc.

References ts2_, and zs_.

8  {
9  ts2_ = ts2;
10  zs_ = zs;
11 }

◆ ~ESThresholds()

ESThresholds::~ESThresholds ( )

Definition at line 13 of file ESThresholds.cc.

13 {}

Member Function Documentation

◆ getTS2Threshold()

float ESThresholds::getTS2Threshold ( ) const
inline

Definition at line 14 of file ESThresholds.h.

References ts2_.

14 { return ts2_; }

◆ getZSThreshold()

float ESThresholds::getZSThreshold ( ) const
inline

Definition at line 16 of file ESThresholds.h.

References zs_.

16 { return zs_; }

◆ print()

void ESThresholds::print ( std::ostream &  s) const
inline

Definition at line 18 of file ESThresholds.h.

References alignCSCRings::s, ts2_, and zs_.

18  {
19  s << "ESThresholds: 2nd time sample / ZS threshold" << ts2_ << " / " << zs_ << " [ADC count]";
20  }

◆ serialize()

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

◆ setTS2Threshold()

void ESThresholds::setTS2Threshold ( const float &  value)
inline

Definition at line 13 of file ESThresholds.h.

References ts2_, and relativeConstraints::value.

◆ setZSThreshold()

void ESThresholds::setZSThreshold ( const float &  value)
inline

Definition at line 15 of file ESThresholds.h.

References relativeConstraints::value, and zs_.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 26 of file ESThresholds.h.

◆ cond::serialization::access

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

Definition at line 26 of file ESThresholds.h.

Member Data Documentation

◆ ts2_

float ESThresholds::ts2_
private

Definition at line 23 of file ESThresholds.h.

Referenced by ESThresholds(), getTS2Threshold(), print(), and setTS2Threshold().

◆ zs_

float ESThresholds::zs_
private

Definition at line 24 of file ESThresholds.h.

Referenced by ESThresholds(), getZSThreshold(), print(), and setZSThreshold().