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
ESRecHitRatioCuts Class Reference

#include <ESRecHitRatioCuts.h>

Public Member Functions

 ESRecHitRatioCuts ()
 
 ESRecHitRatioCuts (const float &r12Low, const float &r23Low, const float &r12High, const float &r23High)
 
float getR12High () const
 
float getR12Low () const
 
float getR23High () const
 
float getR23Low () const
 
void print (std::ostream &s) const
 
void setR12High (const float &value)
 
void setR12Low (const float &value)
 
void setR23High (const float &value)
 
void setR23Low (const float &value)
 
 ~ESRecHitRatioCuts ()
 

Private Attributes

float r12High_
 
float r12Low_
 
float r23High_
 
float r23Low_
 

Detailed Description

Definition at line 5 of file ESRecHitRatioCuts.h.

Constructor & Destructor Documentation

ESRecHitRatioCuts::ESRecHitRatioCuts ( )

Definition at line 3 of file ESRecHitRatioCuts.cc.

References r12High_, r12Low_, r23High_, and r23Low_.

3  {
4  r12Low_=0.;
5  r12High_=0.;
6  r23Low_=0.;
7  r23High_=0.;
8 }
ESRecHitRatioCuts::ESRecHitRatioCuts ( const float &  r12Low,
const float &  r23Low,
const float &  r12High,
const float &  r23High 
)

Definition at line 10 of file ESRecHitRatioCuts.cc.

References r12High_, r12Low_, r23High_, and r23Low_.

10  {
11  r12Low_ = r12Low;
12  r12High_ = r12High;
13  r23Low_ = r23Low;
14  r23High_ = r23High;
15 }
ESRecHitRatioCuts::~ESRecHitRatioCuts ( )

Definition at line 17 of file ESRecHitRatioCuts.cc.

17  {
18 
19 }

Member Function Documentation

float ESRecHitRatioCuts::getR12High ( ) const
inline
float ESRecHitRatioCuts::getR12Low ( ) const
inline

Definition at line 15 of file ESRecHitRatioCuts.h.

References r12Low_.

15 { return r12Low_; }
float ESRecHitRatioCuts::getR23High ( ) const
inline
float ESRecHitRatioCuts::getR23Low ( ) const
inline

Definition at line 17 of file ESRecHitRatioCuts.h.

References r23Low_.

17 { return r23Low_; }
void ESRecHitRatioCuts::print ( std::ostream &  s) const
inline

Definition at line 24 of file ESRecHitRatioCuts.h.

References r12High_, r12Low_, r23High_, and r23Low_.

24  {
25  s << "ESRecHitRatioCuts: ES low cut (r12, r23) / high cut (r12, r23)" << r12Low_ << " " << r23Low_<< " / " << r12High_ <<" "<< r23High_;
26  }
void ESRecHitRatioCuts::setR12High ( const float &  value)
inline

Definition at line 19 of file ESRecHitRatioCuts.h.

References r12High_, and relativeConstraints::value.

void ESRecHitRatioCuts::setR12Low ( const float &  value)
inline

Definition at line 14 of file ESRecHitRatioCuts.h.

References r12Low_, and relativeConstraints::value.

void ESRecHitRatioCuts::setR23High ( const float &  value)
inline

Definition at line 21 of file ESRecHitRatioCuts.h.

References r23High_, and relativeConstraints::value.

void ESRecHitRatioCuts::setR23Low ( const float &  value)
inline

Definition at line 16 of file ESRecHitRatioCuts.h.

References r23Low_, and relativeConstraints::value.

Member Data Documentation

float ESRecHitRatioCuts::r12High_
private

Definition at line 32 of file ESRecHitRatioCuts.h.

Referenced by ESRecHitRatioCuts(), getR12High(), print(), and setR12High().

float ESRecHitRatioCuts::r12Low_
private

Definition at line 30 of file ESRecHitRatioCuts.h.

Referenced by ESRecHitRatioCuts(), getR12Low(), print(), and setR12Low().

float ESRecHitRatioCuts::r23High_
private

Definition at line 33 of file ESRecHitRatioCuts.h.

Referenced by ESRecHitRatioCuts(), getR23High(), print(), and setR23High().

float ESRecHitRatioCuts::r23Low_
private

Definition at line 31 of file ESRecHitRatioCuts.h.

Referenced by ESRecHitRatioCuts(), getR23Low(), print(), and setR23Low().