CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Member Functions | Friends
L1TUtmAlgorithm Class Reference

#include <L1TUtmAlgorithm.h>

Public Member Functions

const std::string & getExpression () const
 
const std::string & getExpressionInCondition () const
 
unsigned int getIndex () const
 
unsigned int getModuleId () const
 
unsigned int getModuleIndex () const
 
const std::string & getName () const
 
const std::vector< std::string > & getRpnVector () const
 
 L1TUtmAlgorithm ()
 
void setRpnVector (const std::vector< std::string > &x)
 
virtual ~L1TUtmAlgorithm ()=default
 

Protected Attributes

std::string expression_
 
std::string expression_in_condition_
 
unsigned int index_
 
unsigned int module_id_
 
unsigned int module_index_
 
std::string name_
 
std::vector< std::string > rpn_vector_
 
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 Algorithm

Definition at line 21 of file L1TUtmAlgorithm.h.

Constructor & Destructor Documentation

◆ L1TUtmAlgorithm()

L1TUtmAlgorithm::L1TUtmAlgorithm ( )
inline

Definition at line 23 of file L1TUtmAlgorithm.h.

24  : name_(),
25  expression_(),
27  rpn_vector_(),
28  index_(),
29  module_id_(),
30  module_index_(),
31  version(0){};

◆ ~L1TUtmAlgorithm()

virtual L1TUtmAlgorithm::~L1TUtmAlgorithm ( )
virtualdefault

Member Function Documentation

◆ getExpression()

const std::string& L1TUtmAlgorithm::getExpression ( ) const
inline

get algorithm expression in grammar

Definition at line 42 of file L1TUtmAlgorithm.h.

42 { return expression_; };

References expression_.

◆ getExpressionInCondition()

const std::string& L1TUtmAlgorithm::getExpressionInCondition ( ) const
inline

get algorithm expression in condition

Definition at line 45 of file L1TUtmAlgorithm.h.

45 { return expression_in_condition_; };

References expression_in_condition_.

◆ getIndex()

unsigned int L1TUtmAlgorithm::getIndex ( ) const
inline

get algorithm index

Definition at line 51 of file L1TUtmAlgorithm.h.

51 { return index_; };

References index_.

◆ getModuleId()

unsigned int L1TUtmAlgorithm::getModuleId ( ) const
inline

get module id

Definition at line 54 of file L1TUtmAlgorithm.h.

54 { return module_id_; };

References module_id_.

◆ getModuleIndex()

unsigned int L1TUtmAlgorithm::getModuleIndex ( ) const
inline

get module index

Definition at line 57 of file L1TUtmAlgorithm.h.

57 { return module_index_; };

◆ getName()

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

get algorithm name

Definition at line 39 of file L1TUtmAlgorithm.h.

39 { return name_; };

References name_.

Referenced by plotting.Plot::draw().

◆ getRpnVector()

const std::vector<std::string>& L1TUtmAlgorithm::getRpnVector ( ) const
inline

get reverse polish notion of algorithm expression in condition

Definition at line 48 of file L1TUtmAlgorithm.h.

48 { return rpn_vector_; };

References rpn_vector_.

◆ serialize()

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

◆ setRpnVector()

void L1TUtmAlgorithm::setRpnVector ( const std::vector< std::string > &  x)
inline

set rpn_vector_

Definition at line 36 of file L1TUtmAlgorithm.h.

36 { rpn_vector_ = x; };

References rpn_vector_, and x.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 69 of file L1TUtmAlgorithm.h.

◆ cond::serialization::access

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

Definition at line 69 of file L1TUtmAlgorithm.h.

Member Data Documentation

◆ expression_

std::string L1TUtmAlgorithm::expression_
protected

algorithm expression in grammar

Definition at line 61 of file L1TUtmAlgorithm.h.

Referenced by getExpression().

◆ expression_in_condition_

std::string L1TUtmAlgorithm::expression_in_condition_
protected

algorithm expression in condition

Definition at line 62 of file L1TUtmAlgorithm.h.

Referenced by getExpressionInCondition().

◆ index_

unsigned int L1TUtmAlgorithm::index_
protected

index of algorithm (global)

Definition at line 64 of file L1TUtmAlgorithm.h.

Referenced by getIndex().

◆ module_id_

unsigned int L1TUtmAlgorithm::module_id_
protected

module id

Definition at line 65 of file L1TUtmAlgorithm.h.

Referenced by getModuleId().

◆ module_index_

unsigned int L1TUtmAlgorithm::module_index_
protected

index of algorithm in module (local to module id)

Definition at line 66 of file L1TUtmAlgorithm.h.

◆ name_

std::string L1TUtmAlgorithm::name_
protected

name of algorithm

Definition at line 57 of file L1TUtmAlgorithm.h.

Referenced by getName().

◆ rpn_vector_

std::vector<std::string> L1TUtmAlgorithm::rpn_vector_
protected

reverse polish notation of algorithm expression in condition

Definition at line 63 of file L1TUtmAlgorithm.h.

Referenced by getRpnVector(), and setRpnVector().

◆ version

unsigned int L1TUtmAlgorithm::version
protected
L1TUtmAlgorithm::expression_
std::string expression_
Definition: L1TUtmAlgorithm.h:61
L1TUtmAlgorithm::index_
unsigned int index_
Definition: L1TUtmAlgorithm.h:64
L1TUtmAlgorithm::version
unsigned int version
Definition: L1TUtmAlgorithm.h:67
DDAxes::x
L1TUtmAlgorithm::rpn_vector_
std::vector< std::string > rpn_vector_
Definition: L1TUtmAlgorithm.h:63
L1TUtmAlgorithm::expression_in_condition_
std::string expression_in_condition_
Definition: L1TUtmAlgorithm.h:62
L1TUtmAlgorithm::module_index_
unsigned int module_index_
Definition: L1TUtmAlgorithm.h:66
L1TUtmAlgorithm::module_id_
unsigned int module_id_
Definition: L1TUtmAlgorithm.h:65
L1TUtmAlgorithm::name_
std::string name_
Definition: L1TUtmAlgorithm.h:57