CMS 3D CMS Logo

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 ()=default
 

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 23 of file L1TUtmObject.h.

Constructor & Destructor Documentation

◆ L1TUtmObject()

L1TUtmObject::L1TUtmObject ( )
inline

Definition at line 25 of file L1TUtmObject.h.

26  : name_(),
27  type_(),
29  bx_offset_(),
30  threshold_(),
33  cuts_(),
34  version(0){};
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:94
int comparison_operator_
Definition: L1TUtmObject.h:89
std::string ext_signal_name_
Definition: L1TUtmObject.h:92
double threshold_
Definition: L1TUtmObject.h:91
unsigned int version
Definition: L1TUtmObject.h:95
std::string name_
Definition: L1TUtmObject.h:84
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:93

◆ ~L1TUtmObject()

virtual L1TUtmObject::~L1TUtmObject ( )
virtualdefault

Member Function Documentation

◆ getBxOffset()

const int L1TUtmObject::getBxOffset ( ) const
inline

get BX offset of the object

Definition at line 72 of file L1TUtmObject.h.

References bx_offset_.

72 { return bx_offset_; };

◆ getComparisonOperator()

const int L1TUtmObject::getComparisonOperator ( ) const
inline

get comparison operator for threshold cut

Definition at line 69 of file L1TUtmObject.h.

References comparison_operator_.

69 { return comparison_operator_; };
int comparison_operator_
Definition: L1TUtmObject.h:89

◆ getCuts()

const std::vector<L1TUtmCut>& L1TUtmObject::getCuts ( ) const
inline

get cuts on the object

Definition at line 84 of file L1TUtmObject.h.

84 { return cuts_; };
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:94

◆ getExternalChannelId()

const unsigned int L1TUtmObject::getExternalChannelId ( ) const
inline

get external channel id

Definition at line 81 of file L1TUtmObject.h.

References ext_channel_id_.

81 { return ext_channel_id_; };
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:93

◆ getExternalSignalName()

const std::string& L1TUtmObject::getExternalSignalName ( ) const
inline

get external name

Definition at line 78 of file L1TUtmObject.h.

References ext_signal_name_.

78 { return ext_signal_name_; };
std::string ext_signal_name_
Definition: L1TUtmObject.h:92

◆ getName()

const std::string& L1TUtmObject::getName ( ) const
inline

get object name

Definition at line 63 of file L1TUtmObject.h.

References name_.

Referenced by plotting.Plot::draw().

63 { return name_; };
std::string name_
Definition: L1TUtmObject.h:84

◆ getThreshold()

const double L1TUtmObject::getThreshold ( ) const
inline

get Et/pT threshold in GeV

Definition at line 75 of file L1TUtmObject.h.

References threshold_.

75 { return threshold_; };
double threshold_
Definition: L1TUtmObject.h:91

◆ getType()

const int L1TUtmObject::getType ( ) const
inline

get object type

Definition at line 66 of file L1TUtmObject.h.

References type_.

66 { return type_; };

◆ serialize()

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

◆ setBxOffset()

void L1TUtmObject::setBxOffset ( const int  x)
inline

set BX offset of the object

Definition at line 48 of file L1TUtmObject.h.

References bx_offset_, and x.

48 { bx_offset_ = x; };

◆ setComparisonOperator()

void L1TUtmObject::setComparisonOperator ( const int  x)
inline

set comparison operator for threshold

Definition at line 45 of file L1TUtmObject.h.

References comparison_operator_, and x.

◆ setCuts()

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

set cuts

Definition at line 60 of file L1TUtmObject.h.

References cuts_, and x.

60 { cuts_ = x; };
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:94

◆ setExternalChannelId()

void L1TUtmObject::setExternalChannelId ( const unsigned int  x)
inline

set external channel id

Definition at line 57 of file L1TUtmObject.h.

References ext_channel_id_, and x.

57 { ext_channel_id_ = x; };
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:93

◆ setExternalSignalName()

void L1TUtmObject::setExternalSignalName ( const std::string &  x)
inline

set external name

Definition at line 54 of file L1TUtmObject.h.

References ext_signal_name_, and x.

54 { ext_signal_name_ = x; };
std::string ext_signal_name_
Definition: L1TUtmObject.h:92

◆ setName()

void L1TUtmObject::setName ( const std::string &  x)
inline

set object name

Definition at line 39 of file L1TUtmObject.h.

References name_, and x.

39 { name_ = x; };
std::string name_
Definition: L1TUtmObject.h:84

◆ setThreshold()

void L1TUtmObject::setThreshold ( double  x)
inline

set Et/pT threshold in GeV

Definition at line 51 of file L1TUtmObject.h.

References threshold_, and x.

51 { threshold_ = x; };
double threshold_
Definition: L1TUtmObject.h:91

◆ setType()

void L1TUtmObject::setType ( const int  x)
inline

set object type

Definition at line 42 of file L1TUtmObject.h.

References type_, and x.

42 { type_ = x; };

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 96 of file L1TUtmObject.h.

◆ cond::serialization::access

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

Definition at line 96 of file L1TUtmObject.h.

Member Data Documentation

◆ bx_offset_

int L1TUtmObject::bx_offset_
protected

bunch crossing offset of object

Definition at line 90 of file L1TUtmObject.h.

Referenced by getBxOffset(), and setBxOffset().

◆ comparison_operator_

int L1TUtmObject::comparison_operator_
protected

comparison operator for threshold cut

Definition at line 89 of file L1TUtmObject.h.

Referenced by getComparisonOperator(), and setComparisonOperator().

◆ cuts_

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

list of cuts applied on object

Definition at line 94 of file L1TUtmObject.h.

Referenced by setCuts().

◆ ext_channel_id_

unsigned int L1TUtmObject::ext_channel_id_
protected

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

Definition at line 93 of file L1TUtmObject.h.

Referenced by getExternalChannelId(), and setExternalChannelId().

◆ ext_signal_name_

std::string L1TUtmObject::ext_signal_name_
protected

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

Definition at line 92 of file L1TUtmObject.h.

Referenced by getExternalSignalName(), and setExternalSignalName().

◆ name_

std::string L1TUtmObject::name_
protected

name of object

Definition at line 84 of file L1TUtmObject.h.

Referenced by getName(), and setName().

◆ threshold_

double L1TUtmObject::threshold_
protected

threshold in GeV

Definition at line 91 of file L1TUtmObject.h.

Referenced by getThreshold(), and setThreshold().

◆ type_

int L1TUtmObject::type_
protected

◆ version

unsigned int L1TUtmObject::version
protected