CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Macros | Variables
CSCDQM_HistoNames.h File Reference
#include <boost/preprocessor/tuple/elem.hpp>
#include <boost/preprocessor/seq/for_each_i.hpp>
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/comparison/less.hpp>
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/arithmetic/add.hpp>
#include <boost/preprocessor/arithmetic/inc.hpp>
#include <boost/preprocessor/slot/slot.hpp>
#include <boost/preprocessor/stringize.hpp>

Go to the source code of this file.

Namespaces

 h
 

Macros

#define BOOST_PP_VALUE   BOOST_PP_SEQ_SIZE(CONFIG_HISTONAMES_SEQ_01) + BOOST_PP_SEQ_SIZE(CONFIG_HISTONAMES_SEQ_02)
 
#define CONFIG_HISTONAMES_SEQ_01
 
#define CONFIG_HISTONAMES_SEQ_02
 
#define CONFIG_MACRO_ID(r, data, i, elem)   const HistoId BOOST_PP_TUPLE_ELEM(2, 0, elem) = data + i;
 
#define CONFIG_MACRO_KEY(r, data, i, elem)
 
#define CONFIG_MACRO_NAME(r, data, i, elem)
 

Variables

static const HistoName h::keys []
 
static const HistoName h::names []
 
static const unsigned int h::namesSize = BOOST_PP_SLOT(1)
 

Macro Definition Documentation

#define BOOST_PP_VALUE   BOOST_PP_SEQ_SIZE(CONFIG_HISTONAMES_SEQ_01) + BOOST_PP_SEQ_SIZE(CONFIG_HISTONAMES_SEQ_02)

Definition at line 440 of file CSCDQM_HistoNames.h.

#define CONFIG_HISTONAMES_SEQ_01

List of histogram identifiers and names. Please add or update list items in a form: (( ID, "name" )) \ , where ID should be unique with prefix CSC, DDU, EMU or PAR, name should correlate with histogram name from XML Booking file or just to be unique in type.

Definition at line 43 of file CSCDQM_HistoNames.h.

#define CONFIG_HISTONAMES_SEQ_02

Definition at line 301 of file CSCDQM_HistoNames.h.

#define CONFIG_MACRO_ID (   r,
  data,
  i,
  elem 
)    const HistoId BOOST_PP_TUPLE_ELEM(2, 0, elem) = data + i;

Histogram name definition

Definition at line 444 of file CSCDQM_HistoNames.h.

#define CONFIG_MACRO_KEY (   r,
  data,
  i,
  elem 
)
Value:
BOOST_PP_STRINGIZE(BOOST_PP_TUPLE_ELEM(2, 0, elem))\
BOOST_PP_COMMA_IF(BOOST_PP_LESS(BOOST_PP_INC(i), data))
int i
Definition: DBlmapReader.cc:9
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Item of keys list definition

Definition at line 453 of file CSCDQM_HistoNames.h.

#define CONFIG_MACRO_NAME (   r,
  data,
  i,
  elem 
)
Value:
BOOST_PP_TUPLE_ELEM(2, 1, elem)\
BOOST_PP_COMMA_IF(BOOST_PP_LESS(BOOST_PP_INC(i), data))
int i
Definition: DBlmapReader.cc:9
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Item of names list definition

Definition at line 448 of file CSCDQM_HistoNames.h.