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){};

◆ ~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.

72 { return bx_offset_; };

References bx_offset_.

◆ getComparisonOperator()

const int L1TUtmObject::getComparisonOperator ( ) const
inline

get comparison operator for threshold cut

Definition at line 69 of file L1TUtmObject.h.

69 { return comparison_operator_; };

References comparison_operator_.

◆ 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_; };

◆ getExternalChannelId()

const unsigned int L1TUtmObject::getExternalChannelId ( ) const
inline

get external channel id

Definition at line 81 of file L1TUtmObject.h.

81 { return ext_channel_id_; };

References ext_channel_id_.

◆ getExternalSignalName()

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

get external name

Definition at line 78 of file L1TUtmObject.h.

78 { return ext_signal_name_; };

References ext_signal_name_.

◆ getName()

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

get object name

Definition at line 63 of file L1TUtmObject.h.

63 { return name_; };

References name_.

Referenced by plotting.Plot::draw().

◆ getThreshold()

const double L1TUtmObject::getThreshold ( ) const
inline

get Et/pT threshold in GeV

Definition at line 75 of file L1TUtmObject.h.

75 { return threshold_; };

References threshold_.

◆ getType()

const int L1TUtmObject::getType ( ) const
inline

get object type

Definition at line 66 of file L1TUtmObject.h.

66 { return type_; };

References 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.

48 { bx_offset_ = x; };

References bx_offset_, and x.

◆ setComparisonOperator()

void L1TUtmObject::setComparisonOperator ( const int  x)
inline

set comparison operator for threshold

Definition at line 45 of file L1TUtmObject.h.

45 { comparison_operator_ = x; };

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.

60 { cuts_ = x; };

References cuts_, and x.

◆ setExternalChannelId()

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

set external channel id

Definition at line 57 of file L1TUtmObject.h.

57 { ext_channel_id_ = x; };

References ext_channel_id_, and x.

◆ setExternalSignalName()

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

set external name

Definition at line 54 of file L1TUtmObject.h.

54 { ext_signal_name_ = x; };

References ext_signal_name_, and x.

◆ setName()

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

set object name

Definition at line 39 of file L1TUtmObject.h.

39 { name_ = x; };

References name_, and x.

◆ setThreshold()

void L1TUtmObject::setThreshold ( double  x)
inline

set Et/pT threshold in GeV

Definition at line 51 of file L1TUtmObject.h.

51 { threshold_ = x; };

References threshold_, and x.

◆ setType()

void L1TUtmObject::setType ( const int  x)
inline

set object type

Definition at line 42 of file L1TUtmObject.h.

42 { type_ = x; };

References type_, and 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
L1TUtmObject::bx_offset_
int bx_offset_
Definition: L1TUtmObject.h:90
L1TUtmObject::threshold_
double threshold_
Definition: L1TUtmObject.h:91
DDAxes::x
L1TUtmObject::type_
int type_
Definition: L1TUtmObject.h:88
L1TUtmObject::version
unsigned int version
Definition: L1TUtmObject.h:95
L1TUtmObject::name_
std::string name_
Definition: L1TUtmObject.h:84
L1TUtmObject::ext_channel_id_
unsigned int ext_channel_id_
Definition: L1TUtmObject.h:93
L1TUtmObject::comparison_operator_
int comparison_operator_
Definition: L1TUtmObject.h:89
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
L1TUtmObject::ext_signal_name_
std::string ext_signal_name_
Definition: L1TUtmObject.h:92
L1TUtmObject::cuts_
std::vector< L1TUtmCut > cuts_
Definition: L1TUtmObject.h:94