CMS 3D CMS Logo

Public Member Functions | Private Attributes

ESThresholds Class Reference

#include <ESThresholds.h>

List of all members.

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

float ts2_
float zs_

Detailed Description

Definition at line 5 of file ESThresholds.h.


Constructor & Destructor Documentation

ESThresholds::ESThresholds ( )

Definition at line 3 of file ESThresholds.cc.

References ts2_, and zs_.

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

Definition at line 9 of file ESThresholds.cc.

References ts2_, and zs_.

                                                              {
  ts2_ = ts2;
  zs_ = zs;
}
ESThresholds::~ESThresholds ( )

Definition at line 14 of file ESThresholds.cc.

                            {

}

Member Function Documentation

float ESThresholds::getTS2Threshold ( ) const [inline]

Definition at line 14 of file ESThresholds.h.

References ts2_.

Referenced by ESZeroSuppressionProducer::produce().

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

Definition at line 16 of file ESThresholds.h.

References zs_.

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

Definition at line 18 of file ESThresholds.h.

References ts2_, and zs_.

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

Definition at line 13 of file ESThresholds.h.

References ts2_, and relativeConstraints::value.

{ ts2_ = value; }
void ESThresholds::setZSThreshold ( const float &  value) [inline]

Definition at line 15 of file ESThresholds.h.

References relativeConstraints::value, and zs_.

{ zs_ = value; }

Member Data Documentation

float ESThresholds::ts2_ [private]

Definition at line 24 of file ESThresholds.h.

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

float ESThresholds::zs_ [private]

Definition at line 25 of file ESThresholds.h.

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