CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions | Friends
L1TUtmCut Class Reference

#include <L1TUtmCut.h>

Public Member Functions

const int getCutType () const
 
const std::string & getData () const
 
const std::string & getKey () const
 
const L1TUtmCutValuegetMaximum () const
 
const unsigned int getMaximumIndex () const
 
const double getMaximumValue () const
 
const L1TUtmCutValuegetMinimum () const
 
const unsigned int getMinimumIndex () const
 
const double getMinimumValue () const
 
const std::string & getName () const
 
const int getObjectType () const
 
 L1TUtmCut ()
 
void setCutType (const int x)
 
void setMaximum (const double x)
 
void setMaximum (const unsigned int x)
 
void setMaximum (const L1TUtmCutValue &x)
 
void setMinimum (const double x)
 
void setMinimum (const unsigned int x)
 
void setMinimum (const L1TUtmCutValue &x)
 
void setName (const std::string &x)
 
void setObjectType (const int x)
 
virtual ~L1TUtmCut ()
 

Protected Attributes

int cut_type_
 
std::string data_
 
std::string key_
 
L1TUtmCutValue maximum_
 
L1TUtmCutValue minimum_
 
std::string name_
 
int object_type_
 
unsigned int version
 

Private Member Functions

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

Friends

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

Detailed Description

Author
Takashi Matsushita Created: 8 Nov 2015

This class implements data structure for Cut

Definition at line 36 of file L1TUtmCut.h.

Constructor & Destructor Documentation

L1TUtmCut::L1TUtmCut ( )
inline

Definition at line 40 of file L1TUtmCut.h.

41  : name_(), object_type_(), cut_type_(),
42  minimum_(), maximum_(), data_() { };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
int cut_type_
Definition: L1TUtmCut.h:112
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
int object_type_
Definition: L1TUtmCut.h:111
std::string name_
Definition: L1TUtmCut.h:106
std::string data_
Definition: L1TUtmCut.h:115
virtual L1TUtmCut::~L1TUtmCut ( )
inlinevirtual

Definition at line 45 of file L1TUtmCut.h.

45 { };

Member Function Documentation

const int L1TUtmCut::getCutType ( ) const
inline

get cut type

Definition at line 82 of file L1TUtmCut.h.

References cut_type_.

82 { return cut_type_; };
int cut_type_
Definition: L1TUtmCut.h:112
const std::string& L1TUtmCut::getData ( ) const
inline

get data

Definition at line 103 of file L1TUtmCut.h.

References data_.

103 { return data_; };
std::string data_
Definition: L1TUtmCut.h:115
const std::string& L1TUtmCut::getKey ( ) const
inline
const L1TUtmCutValue& L1TUtmCut::getMaximum ( ) const
inline

get L1TUtmCutValue struct for maximum value of cut range

Definition at line 88 of file L1TUtmCut.h.

References maximum_.

88 { return maximum_; };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
const unsigned int L1TUtmCut::getMaximumIndex ( ) const
inline

get L1TUtmCutValue struct for maximum value of cut range

Definition at line 100 of file L1TUtmCut.h.

References L1TUtmCutValue::index, and maximum_.

100 { return maximum_.index; };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
unsigned int index
const double L1TUtmCut::getMaximumValue ( ) const
inline

get L1TUtmCutValue struct for maximum value of cut range

Definition at line 94 of file L1TUtmCut.h.

References maximum_, and L1TUtmCutValue::value.

94 { return maximum_.value; };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
const L1TUtmCutValue& L1TUtmCut::getMinimum ( ) const
inline

get L1TUtmCutValue struct for minimum value of cut range

Definition at line 85 of file L1TUtmCut.h.

References minimum_.

85 { return minimum_; };
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
const unsigned int L1TUtmCut::getMinimumIndex ( ) const
inline

get L1TUtmCutValue struct for minimum value of cut range

Definition at line 97 of file L1TUtmCut.h.

References L1TUtmCutValue::index, and minimum_.

97 { return minimum_.index; };
unsigned int index
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
const double L1TUtmCut::getMinimumValue ( ) const
inline

get L1TUtmCutValue struct for minimum value of cut range

Definition at line 91 of file L1TUtmCut.h.

References minimum_, and L1TUtmCutValue::value.

91 { return minimum_.value; };
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
const std::string& L1TUtmCut::getName ( ) const
inline

get cut name

Definition at line 76 of file L1TUtmCut.h.

References name_.

Referenced by plotting.Plot::draw().

76 { return name_; };
std::string name_
Definition: L1TUtmCut.h:106
const int L1TUtmCut::getObjectType ( ) const
inline

get target object type : combination of esObjectType and esFunctionType enums

Definition at line 79 of file L1TUtmCut.h.

References object_type_.

79 { return object_type_; };
int object_type_
Definition: L1TUtmCut.h:111
template<class Archive >
void L1TUtmCut::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1TUtmCut::setCutType ( const int  x)
inline

set cut type

Definition at line 55 of file L1TUtmCut.h.

References cut_type_, and x.

55 { cut_type_ = x; };
int cut_type_
Definition: L1TUtmCut.h:112
void L1TUtmCut::setMaximum ( const double  x)
inline

set maximum value of cut range (double)

Definition at line 67 of file L1TUtmCut.h.

References maximum_, L1TUtmCutValue::value, and x.

67 { maximum_.value = x; };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
void L1TUtmCut::setMaximum ( const unsigned int  x)
inline

set maximum value of cut range (HW index)

Definition at line 70 of file L1TUtmCut.h.

References L1TUtmCutValue::index, maximum_, and x.

70 { maximum_.index = x; };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
unsigned int index
void L1TUtmCut::setMaximum ( const L1TUtmCutValue x)
inline

set maximum value of cut range (L1TUtmCutValue struct)

Definition at line 73 of file L1TUtmCut.h.

References maximum_, and x.

73 { maximum_ = x; };
L1TUtmCutValue maximum_
Definition: L1TUtmCut.h:114
void L1TUtmCut::setMinimum ( const double  x)
inline

set minimum value of cut range (double)

Definition at line 58 of file L1TUtmCut.h.

References minimum_, L1TUtmCutValue::value, and x.

58 { minimum_.value = x; };
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
void L1TUtmCut::setMinimum ( const unsigned int  x)
inline

set minimum value of cut range (HW index)

Definition at line 61 of file L1TUtmCut.h.

References L1TUtmCutValue::index, minimum_, and x.

61 { minimum_.index = x; };
unsigned int index
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
void L1TUtmCut::setMinimum ( const L1TUtmCutValue x)
inline

set minimum value of cut range (L1TUtmCutValue struct)

Definition at line 64 of file L1TUtmCut.h.

References minimum_, and x.

64 { minimum_ = x; };
L1TUtmCutValue minimum_
Definition: L1TUtmCut.h:113
void L1TUtmCut::setName ( const std::string &  x)
inline

set cut name

Definition at line 49 of file L1TUtmCut.h.

References name_, and x.

Referenced by Vispa.Gui.PortWidget.PortWidget::__init__(), and Vispa.Views.PropertyView.Property::__init__().

49 { name_ = x; };
std::string name_
Definition: L1TUtmCut.h:106
void L1TUtmCut::setObjectType ( const int  x)
inline

set object type

Definition at line 52 of file L1TUtmCut.h.

References object_type_, and x.

52 { object_type_ = x; };
int object_type_
Definition: L1TUtmCut.h:111

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 118 of file L1TUtmCut.h.

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

Definition at line 118 of file L1TUtmCut.h.

Member Data Documentation

int L1TUtmCut::cut_type_
protected

type of cut

Definition at line 112 of file L1TUtmCut.h.

Referenced by getCutType(), and setCutType().

std::string L1TUtmCut::data_
protected

data for charge/quality/isolation/charge correlation

Definition at line 115 of file L1TUtmCut.h.

Referenced by getData().

std::string L1TUtmCut::key_
protected

key for accessing a scale

Definition at line 116 of file L1TUtmCut.h.

L1TUtmCutValue L1TUtmCut::maximum_
protected

maximum value of cut range

Definition at line 114 of file L1TUtmCut.h.

Referenced by getMaximum(), getMaximumIndex(), getMaximumValue(), and setMaximum().

L1TUtmCutValue L1TUtmCut::minimum_
protected

minimum value of cut range

Definition at line 113 of file L1TUtmCut.h.

Referenced by getMinimum(), getMinimumIndex(), getMinimumValue(), and setMinimum().

std::string L1TUtmCut::name_
protected

name of cut

Definition at line 106 of file L1TUtmCut.h.

Referenced by getName(), and setName().

int L1TUtmCut::object_type_
protected

target object type

Definition at line 111 of file L1TUtmCut.h.

Referenced by getObjectType(), and setObjectType().

unsigned int L1TUtmCut::version
protected