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

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 33 of file L1TUtmAlgorithm.h.

Constructor & Destructor Documentation

◆ L1TUtmAlgorithm()

L1TUtmAlgorithm::L1TUtmAlgorithm ( )
inline

Definition at line 36 of file L1TUtmAlgorithm.h.

37  : name_(),
38  expression_(),
40  rpn_vector_(),
41  index_(),
42  module_id_(),
43  module_index_(),
44  version(0){};

◆ ~L1TUtmAlgorithm()

virtual L1TUtmAlgorithm::~L1TUtmAlgorithm ( )
inlinevirtual

Definition at line 47 of file L1TUtmAlgorithm.h.

47 {};

Member Function Documentation

◆ getExpression()

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

get algorithm expression in grammar

Definition at line 56 of file L1TUtmAlgorithm.h.

56 { return expression_; };

References expression_.

◆ getExpressionInCondition()

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

get algorithm expression in condition

Definition at line 59 of file L1TUtmAlgorithm.h.

59 { return expression_in_condition_; };

References expression_in_condition_.

◆ getIndex()

unsigned int L1TUtmAlgorithm::getIndex ( ) const
inline

get algorithm index

Definition at line 65 of file L1TUtmAlgorithm.h.

65 { return index_; };

References index_.

◆ getModuleId()

unsigned int L1TUtmAlgorithm::getModuleId ( ) const
inline

get module id

Definition at line 68 of file L1TUtmAlgorithm.h.

68 { return module_id_; };

References module_id_.

◆ getModuleIndex()

unsigned int L1TUtmAlgorithm::getModuleIndex ( ) const
inline

get module index

Definition at line 71 of file L1TUtmAlgorithm.h.

71 { return module_index_; };

◆ getName()

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

get algorithm name

Definition at line 53 of file L1TUtmAlgorithm.h.

53 { 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 62 of file L1TUtmAlgorithm.h.

62 { 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 50 of file L1TUtmAlgorithm.h.

50 { 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 82 of file L1TUtmAlgorithm.h.

◆ cond::serialization::access

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

Definition at line 82 of file L1TUtmAlgorithm.h.

Member Data Documentation

◆ expression_

std::string L1TUtmAlgorithm::expression_
protected

algorithm expression in grammar

Definition at line 75 of file L1TUtmAlgorithm.h.

Referenced by getExpression().

◆ expression_in_condition_

std::string L1TUtmAlgorithm::expression_in_condition_
protected

algorithm expression in condition

Definition at line 76 of file L1TUtmAlgorithm.h.

Referenced by getExpressionInCondition().

◆ index_

unsigned int L1TUtmAlgorithm::index_
protected

index of algorithm (global)

Definition at line 78 of file L1TUtmAlgorithm.h.

Referenced by getIndex().

◆ module_id_

unsigned int L1TUtmAlgorithm::module_id_
protected

module id

Definition at line 79 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 80 of file L1TUtmAlgorithm.h.

◆ name_

std::string L1TUtmAlgorithm::name_
protected

name of algorithm

Definition at line 71 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 77 of file L1TUtmAlgorithm.h.

Referenced by getRpnVector(), and setRpnVector().

◆ version

unsigned int L1TUtmAlgorithm::version
protected
L1TUtmAlgorithm::expression_
std::string expression_
Definition: L1TUtmAlgorithm.h:75
L1TUtmAlgorithm::index_
unsigned int index_
Definition: L1TUtmAlgorithm.h:78
L1TUtmAlgorithm::version
unsigned int version
Definition: L1TUtmAlgorithm.h:81
DDAxes::x
L1TUtmAlgorithm::rpn_vector_
std::vector< std::string > rpn_vector_
Definition: L1TUtmAlgorithm.h:77
L1TUtmAlgorithm::expression_in_condition_
std::string expression_in_condition_
Definition: L1TUtmAlgorithm.h:76
L1TUtmAlgorithm::module_index_
unsigned int module_index_
Definition: L1TUtmAlgorithm.h:80
L1TUtmAlgorithm::module_id_
unsigned int module_id_
Definition: L1TUtmAlgorithm.h:79
L1TUtmAlgorithm::name_
std::string name_
Definition: L1TUtmAlgorithm.h:71