CMS 3D CMS Logo

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() [1/2]

ESRecHitRatioCuts::ESRecHitRatioCuts ( )

Definition at line 3 of file ESRecHitRatioCuts.cc.

3  {
4  r12Low_ = 0.;
5  r12High_ = 0.;
6  r23Low_ = 0.;
7  r23High_ = 0.;
8 }

References r12High_, r12Low_, r23High_, and r23Low_.

◆ ESRecHitRatioCuts() [2/2]

ESRecHitRatioCuts::ESRecHitRatioCuts ( const float &  r12Low,
const float &  r23Low,
const float &  r12High,
const float &  r23High 
)

Definition at line 10 of file ESRecHitRatioCuts.cc.

13  {
14  r12Low_ = r12Low;
15  r12High_ = r12High;
16  r23Low_ = r23Low;
17  r23High_ = r23High;
18 }

References r12High_, r12Low_, r23High_, and r23Low_.

◆ ~ESRecHitRatioCuts()

ESRecHitRatioCuts::~ESRecHitRatioCuts ( )

Definition at line 20 of file ESRecHitRatioCuts.cc.

20 {}

Member Function Documentation

◆ getR12High()

float ESRecHitRatioCuts::getR12High ( ) const
inline

◆ getR12Low()

float ESRecHitRatioCuts::getR12Low ( ) const
inline

Definition at line 14 of file ESRecHitRatioCuts.h.

14 { return r12Low_; }

References r12Low_.

◆ getR23High()

float ESRecHitRatioCuts::getR23High ( ) const
inline

◆ getR23Low()

float ESRecHitRatioCuts::getR23Low ( ) const
inline

Definition at line 16 of file ESRecHitRatioCuts.h.

16 { return r23Low_; }

References r23Low_.

◆ print()

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

Definition at line 23 of file ESRecHitRatioCuts.h.

23  {
24  s << "ESRecHitRatioCuts: ES low cut (r12, r23) / high cut (r12, r23)" << r12Low_ << " " << r23Low_ << " / "
25  << r12High_ << " " << r23High_;
26  }

References r12High_, r12Low_, r23High_, r23Low_, and alignCSCRings::s.

◆ serialize()

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

◆ setR12High()

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

Definition at line 18 of file ESRecHitRatioCuts.h.

18 { r12High_ = value; }

References r12High_, and relativeConstraints::value.

◆ setR12Low()

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

Definition at line 13 of file ESRecHitRatioCuts.h.

13 { r12Low_ = value; }

References r12Low_, and relativeConstraints::value.

◆ setR23High()

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

Definition at line 20 of file ESRecHitRatioCuts.h.

20 { r23High_ = value; }

References r23High_, and relativeConstraints::value.

◆ setR23Low()

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

Definition at line 15 of file ESRecHitRatioCuts.h.

15 { r23Low_ = value; }

References r23Low_, and relativeConstraints::value.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 34 of file ESRecHitRatioCuts.h.

◆ cond::serialization::access

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

Definition at line 34 of file ESRecHitRatioCuts.h.

Member Data Documentation

◆ r12High_

float ESRecHitRatioCuts::r12High_
private

Definition at line 31 of file ESRecHitRatioCuts.h.

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

◆ r12Low_

float ESRecHitRatioCuts::r12Low_
private

Definition at line 29 of file ESRecHitRatioCuts.h.

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

◆ r23High_

float ESRecHitRatioCuts::r23High_
private

Definition at line 32 of file ESRecHitRatioCuts.h.

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

◆ r23Low_

float ESRecHitRatioCuts::r23Low_
private

Definition at line 30 of file ESRecHitRatioCuts.h.

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

ESRecHitRatioCuts::r12High_
float r12High_
Definition: ESRecHitRatioCuts.h:31
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ESRecHitRatioCuts::r12Low_
float r12Low_
Definition: ESRecHitRatioCuts.h:29
ESRecHitRatioCuts::r23Low_
float r23Low_
Definition: ESRecHitRatioCuts.h:30
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ESRecHitRatioCuts::r23High_
float r23High_
Definition: ESRecHitRatioCuts.h:32