CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
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 Attributes

 COND_SERIALIZABLE
 
float ts2_
 
float zs_
 

Detailed Description

Definition at line 7 of file ESThresholds.h.

Constructor & Destructor Documentation

ESThresholds::ESThresholds ( )

Definition at line 3 of file ESThresholds.cc.

References ts2_, and zs_.

4 {
5  ts2_=0.;
6  zs_=0.;
7 }
ESThresholds::ESThresholds ( const float &  ts2,
const float &  zs 
)

Definition at line 9 of file ESThresholds.cc.

References ts2_, and zs_.

9  {
10  ts2_ = ts2;
11  zs_ = zs;
12 }
ESThresholds::~ESThresholds ( )

Definition at line 14 of file ESThresholds.cc.

14  {
15 
16 }

Member Function Documentation

float ESThresholds::getTS2Threshold ( ) const
inline

Definition at line 16 of file ESThresholds.h.

References ts2_.

Referenced by ESZeroSuppressionProducer::produce().

16 { return ts2_; }
float ESThresholds::getZSThreshold ( ) const
inline

Definition at line 18 of file ESThresholds.h.

References zs_.

18 { return zs_; }
void ESThresholds::print ( std::ostream &  s) const
inline

Definition at line 20 of file ESThresholds.h.

References ts2_, and zs_.

20  {
21  s << "ESThresholds: 2nd time sample / ZS threshold" << ts2_ << " / " << zs_ <<" [ADC count]";
22  }
void ESThresholds::setTS2Threshold ( const float &  value)
inline

Definition at line 15 of file ESThresholds.h.

References ts2_, and relativeConstraints::value.

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

Definition at line 17 of file ESThresholds.h.

References relativeConstraints::value, and zs_.

Member Data Documentation

ESThresholds::COND_SERIALIZABLE
private

Definition at line 29 of file ESThresholds.h.

float ESThresholds::ts2_
private

Definition at line 26 of file ESThresholds.h.

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

float ESThresholds::zs_
private

Definition at line 27 of file ESThresholds.h.

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