test
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
L1TUtmObject Class Reference

#include <L1TUtmObject.h>

Public Member Functions

const int getBxOffset () const
 
const int getComparisonOperator () const
 
const std::vector< L1TUtmCut > & getCuts () const
 
const unsigned int getExternalChannelId () const
 
const std::string & getExternalSignalName () const
 
const std::string & getName () const
 
const double getThreshold () const
 
const int getType () const
 
 L1TUtmObject ()
 
void setBxOffset (const int x)
 
void setComparisonOperator (const int x)
 
void setCuts (const std::vector< L1TUtmCut > &x)
 
void setExternalChannelId (const unsigned int x)
 
void setExternalSignalName (const std::string &x)
 
void setName (const std::string &x)
 
void setThreshold (double x)
 
void setType (const int x)
 
virtual ~L1TUtmObject ()
 

Protected Attributes

int bx_offset_
 
int comparison_operator_
 
std::vector< L1TUtmCutcuts_
 
unsigned int ext_channel_id_
 
std::string ext_signal_name_
 
std::string name_
 
double threshold_
 
int 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: 12 Mar 2015

This class implements data structure for Object

Definition at line 36 of file L1TUtmObject.h.

Constructor & Destructor Documentation

L1TUtmObject::L1TUtmObject ( )
inline

Definition at line 40 of file L1TUtmObject.h.

43  cuts_() { };
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:105
int comparison_operator_
Definition: L1TUtmObject.h:100
std::string ext_signal_name_
Definition: L1TUtmObject.h:103
double threshold_
Definition: L1TUtmObject.h:102
std::string name_
Definition: L1TUtmObject.h:94
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:104
virtual L1TUtmObject::~L1TUtmObject ( )
inlinevirtual

Definition at line 46 of file L1TUtmObject.h.

46 { };

Member Function Documentation

const int L1TUtmObject::getBxOffset ( ) const
inline

get BX offset of the object

Definition at line 82 of file L1TUtmObject.h.

References bx_offset_.

82 { return bx_offset_; };
const int L1TUtmObject::getComparisonOperator ( ) const
inline

get comparison operator for threshold cut

Definition at line 79 of file L1TUtmObject.h.

References comparison_operator_.

79 { return comparison_operator_ ; };
int comparison_operator_
Definition: L1TUtmObject.h:100
const std::vector<L1TUtmCut>& L1TUtmObject::getCuts ( ) const
inline

get cuts on the object

Definition at line 94 of file L1TUtmObject.h.

94 { return cuts_; };
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:105
const unsigned int L1TUtmObject::getExternalChannelId ( ) const
inline

get external channel id

Definition at line 91 of file L1TUtmObject.h.

References ext_channel_id_.

91 { return ext_channel_id_; };
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:104
const std::string& L1TUtmObject::getExternalSignalName ( ) const
inline

get external name

Definition at line 88 of file L1TUtmObject.h.

References ext_signal_name_.

88 { return ext_signal_name_; };
std::string ext_signal_name_
Definition: L1TUtmObject.h:103
const std::string& L1TUtmObject::getName ( ) const
inline

get object name

Definition at line 73 of file L1TUtmObject.h.

References name_.

Referenced by plotting.Plot::draw().

73 { return name_; };
std::string name_
Definition: L1TUtmObject.h:94
const double L1TUtmObject::getThreshold ( ) const
inline

get Et/pT threshold in GeV

Definition at line 85 of file L1TUtmObject.h.

References threshold_.

85 { return threshold_; };
double threshold_
Definition: L1TUtmObject.h:102
const int L1TUtmObject::getType ( ) const
inline
template<class Archive >
void L1TUtmObject::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1TUtmObject::setBxOffset ( const int  x)
inline

set BX offset of the object

Definition at line 58 of file L1TUtmObject.h.

References bx_offset_, and x.

58 { bx_offset_ = x; };
void L1TUtmObject::setComparisonOperator ( const int  x)
inline

set comparison operator for threshold

Definition at line 55 of file L1TUtmObject.h.

References comparison_operator_, and x.

void L1TUtmObject::setCuts ( const std::vector< L1TUtmCut > &  x)
inline

set cuts

Definition at line 70 of file L1TUtmObject.h.

References cuts_, and x.

70 { cuts_ = x; };
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:105
void L1TUtmObject::setExternalChannelId ( const unsigned int  x)
inline

set external channel id

Definition at line 67 of file L1TUtmObject.h.

References ext_channel_id_, and x.

67 { ext_channel_id_ = x; };
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:104
void L1TUtmObject::setExternalSignalName ( const std::string &  x)
inline

set external name

Definition at line 64 of file L1TUtmObject.h.

References ext_signal_name_, and x.

64 { ext_signal_name_ = x; };
std::string ext_signal_name_
Definition: L1TUtmObject.h:103
void L1TUtmObject::setName ( const std::string &  x)
inline

set object name

Definition at line 49 of file L1TUtmObject.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: L1TUtmObject.h:94
void L1TUtmObject::setThreshold ( double  x)
inline

set Et/pT threshold in GeV

Definition at line 61 of file L1TUtmObject.h.

References threshold_, and x.

61 { threshold_ = x; };
double threshold_
Definition: L1TUtmObject.h:102
void L1TUtmObject::setType ( const int  x)
inline

set object type

Definition at line 52 of file L1TUtmObject.h.

References type_, and x.

52 { type_ = x; };

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 107 of file L1TUtmObject.h.

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

Definition at line 107 of file L1TUtmObject.h.

Member Data Documentation

int L1TUtmObject::bx_offset_
protected

bunch crossing offset of object

Definition at line 101 of file L1TUtmObject.h.

Referenced by getBxOffset(), and setBxOffset().

int L1TUtmObject::comparison_operator_
protected

comparison operator for threshold cut

Definition at line 100 of file L1TUtmObject.h.

Referenced by getComparisonOperator(), and setComparisonOperator().

std::vector<L1TUtmCut> L1TUtmObject::cuts_
protected

list of cuts applied on object

Definition at line 105 of file L1TUtmObject.h.

Referenced by setCuts().

unsigned int L1TUtmObject::ext_channel_id_
protected

channel id of external signal, only valid when esObjectType == EXT

Definition at line 104 of file L1TUtmObject.h.

Referenced by getExternalChannelId(), and setExternalChannelId().

std::string L1TUtmObject::ext_signal_name_
protected

name of extenal signal, only valid when esObjectType == EXT

Definition at line 103 of file L1TUtmObject.h.

Referenced by getExternalSignalName(), and setExternalSignalName().

std::string L1TUtmObject::name_
protected

name of object

Definition at line 94 of file L1TUtmObject.h.

Referenced by getName(), and setName().

double L1TUtmObject::threshold_
protected

threshold in GeV

Definition at line 102 of file L1TUtmObject.h.

Referenced by getThreshold(), and setThreshold().

int L1TUtmObject::type_
protected
unsigned int L1TUtmObject::version
protected