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

Constructor & Destructor Documentation

L1TUtmAlgorithm::L1TUtmAlgorithm ( )
inline

Definition at line 40 of file L1TUtmAlgorithm.h.

42  index_(), module_id_(), module_index_() { };
unsigned int module_index_
std::vector< std::string > rpn_vector_
std::string name_
unsigned int index_
std::string expression_in_condition_
std::string expression_
unsigned int module_id_
virtual L1TUtmAlgorithm::~L1TUtmAlgorithm ( )
inlinevirtual

Definition at line 45 of file L1TUtmAlgorithm.h.

45 { };

Member Function Documentation

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

get algorithm expression in grammar

Definition at line 54 of file L1TUtmAlgorithm.h.

References expression_.

54 { return expression_; };
std::string expression_
const std::string& L1TUtmAlgorithm::getExpressionInCondition ( ) const
inline

get algorithm expression in condition

Definition at line 57 of file L1TUtmAlgorithm.h.

References expression_in_condition_.

57 { return expression_in_condition_; };
std::string expression_in_condition_
unsigned int L1TUtmAlgorithm::getIndex ( ) const
inline

get algorithm index

Definition at line 63 of file L1TUtmAlgorithm.h.

References index_.

63 { return index_; };
unsigned int index_
unsigned int L1TUtmAlgorithm::getModuleId ( ) const
inline

get module id

Definition at line 66 of file L1TUtmAlgorithm.h.

References module_id_.

66 { return module_id_; };
unsigned int module_id_
unsigned int L1TUtmAlgorithm::getModuleIndex ( ) const
inline

get module index

Definition at line 69 of file L1TUtmAlgorithm.h.

69 { return module_index_; };
unsigned int module_index_
const std::string& L1TUtmAlgorithm::getName ( ) const
inline

get algorithm name

Definition at line 51 of file L1TUtmAlgorithm.h.

References name_.

Referenced by plotting.Plot::draw().

51 { return name_; };
std::string name_
const std::vector<std::string>& L1TUtmAlgorithm::getRpnVector ( ) const
inline

get reverse polish notion of algorithm expression in condition

Definition at line 60 of file L1TUtmAlgorithm.h.

References rpn_vector_.

60 { return rpn_vector_; };
std::vector< std::string > rpn_vector_
template<class Archive >
void L1TUtmAlgorithm::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1TUtmAlgorithm::setRpnVector ( const std::vector< std::string > &  x)
inline

set rpn_vector_

Definition at line 48 of file L1TUtmAlgorithm.h.

References rpn_vector_, and x.

48 { rpn_vector_ = x; };
std::vector< std::string > rpn_vector_

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 80 of file L1TUtmAlgorithm.h.

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

Definition at line 80 of file L1TUtmAlgorithm.h.

Member Data Documentation

std::string L1TUtmAlgorithm::expression_
protected

algorithm expression in grammar

Definition at line 73 of file L1TUtmAlgorithm.h.

Referenced by getExpression().

std::string L1TUtmAlgorithm::expression_in_condition_
protected

algorithm expression in condition

Definition at line 74 of file L1TUtmAlgorithm.h.

Referenced by getExpressionInCondition().

unsigned int L1TUtmAlgorithm::index_
protected

index of algorithm (global)

Definition at line 76 of file L1TUtmAlgorithm.h.

Referenced by getIndex().

unsigned int L1TUtmAlgorithm::module_id_
protected

module id

Definition at line 77 of file L1TUtmAlgorithm.h.

Referenced by getModuleId().

unsigned int L1TUtmAlgorithm::module_index_
protected

index of algorithm in module (local to module id)

Definition at line 78 of file L1TUtmAlgorithm.h.

std::string L1TUtmAlgorithm::name_
protected

name of algorithm

Definition at line 69 of file L1TUtmAlgorithm.h.

Referenced by getName().

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

reverse polish notation of algorithm expression in condition

Definition at line 75 of file L1TUtmAlgorithm.h.

Referenced by getRpnVector(), and setRpnVector().

unsigned int L1TUtmAlgorithm::version
protected