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 Member Functions | Private Attributes | Friends
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 Member Functions

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

Private Attributes

float r12High_
 
float r12Low_
 
float r23High_
 
float r23Low_
 

Friends

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

Detailed Description

Definition at line 7 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 17 of file ESRecHitRatioCuts.h.

References r12Low_.

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

Definition at line 19 of file ESRecHitRatioCuts.h.

References r23Low_.

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

Definition at line 26 of file ESRecHitRatioCuts.h.

References r12High_, r12Low_, r23High_, and r23Low_.

26  {
27  s << "ESRecHitRatioCuts: ES low cut (r12, r23) / high cut (r12, r23)" << r12Low_ << " " << r23Low_<< " / " << r12High_ <<" "<< r23High_;
28  }
template<class Archive >
void ESRecHitRatioCuts::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void ESRecHitRatioCuts::setR12High ( const float &  value)
inline

Definition at line 21 of file ESRecHitRatioCuts.h.

References r12High_, and relativeConstraints::value.

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

Definition at line 16 of file ESRecHitRatioCuts.h.

References r12Low_, and relativeConstraints::value.

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

Definition at line 23 of file ESRecHitRatioCuts.h.

References r23High_, and relativeConstraints::value.

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

Definition at line 18 of file ESRecHitRatioCuts.h.

References r23Low_, and relativeConstraints::value.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 37 of file ESRecHitRatioCuts.h.

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

Definition at line 37 of file ESRecHitRatioCuts.h.

Member Data Documentation

float ESRecHitRatioCuts::r12High_
private

Definition at line 34 of file ESRecHitRatioCuts.h.

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

float ESRecHitRatioCuts::r12Low_
private

Definition at line 32 of file ESRecHitRatioCuts.h.

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

float ESRecHitRatioCuts::r23High_
private

Definition at line 35 of file ESRecHitRatioCuts.h.

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

float ESRecHitRatioCuts::r23Low_
private

Definition at line 33 of file ESRecHitRatioCuts.h.

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