CMS 3D CMS Logo

Classes | Namespaces | Defines | Typedefs | Enumerations

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/CSCMonitorModule/interface/CSCDQM_Configuration.h File Reference

#include <string>
#include <sstream>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOMNodeList.hpp>
#include <xercesc/dom/DOMElement.hpp>
#include <xercesc/dom/DOMComment.hpp>
#include <xercesc/sax/ErrorHandler.hpp>
#include <xercesc/sax/SAXParseException.hpp>
#include <xercesc/dom/DOMImplementation.hpp>
#include <xercesc/dom/DOMWriter.hpp>
#include <xercesc/framework/StdOutFormatTarget.hpp>
#include <xercesc/dom/DOM.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include "boost/tuple/tuple.hpp"
#include <boost/preprocessor/tuple/elem.hpp>
#include <boost/preprocessor/seq/for_each_i.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/comparison/equal.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <boost/timer.hpp>
#include "DQM/CSCMonitorModule/interface/CSCDQM_MonitorObjectProvider.h"
#include "DQM/CSCMonitorModule/interface/CSCDQM_Exception.h"
#include "DQM/CSCMonitorModule/interface/CSCDQM_Utility.h"
#include "DQM/CSCMonitorModule/interface/CSCDQM_Logger.h"

Go to the source code of this file.

Classes

struct  cscdqm::ChamberCounterKeyType
 Chamber Counters key type. More...
class  cscdqm::Configuration
 CSCDQM Framework Global Configuration. More...
struct  cscdqm::MOFilterItem
 MO filter Item definition (loaded from XML/PSet) More...

Namespaces

namespace  cscdqm

Defines

#define CONFIG_PARAMETER_DEFAULT_MACRO(r, data, i, elem)   BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem) = BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 2, elem);
#define CONFIG_PARAMETER_DEFINE_MACRO(r, data, i, elem)   BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 0, elem) BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem);
#define CONFIG_PARAMETER_GETTER_MACRO(r, data, i, elem)
#define CONFIG_PARAMETER_SETTER_MACRO(r, data, i, elem)
#define CONFIG_PARAMETERS_SEQ
#define CONFIG_PARAMETERS_SEQ_LEN   4
#define SEPFIELD
#define STATFIELD(caption, value, units)

Typedefs

typedef std::map
< ChamberCounterType, uint32_t > 
cscdqm::ChamberCounterMapType
typedef
boost::multi_index_container
< ChamberCounterKeyType,
boost::multi_index::indexed_by
< boost::multi_index::ordered_unique
< boost::multi_index::composite_key
< ChamberCounterKeyType,
boost::multi_index::member
< ChamberCounterKeyType, HwId,&ChamberCounterKeyType::crateId >
, boost::multi_index::member
< ChamberCounterKeyType, HwId,&ChamberCounterKeyType::dmbId > > > > > 
cscdqm::ChamberMapCounterMapType

Enumerations

enum  cscdqm::ChamberCounterType {
  cscdqm::DMB_EVENTS, cscdqm::BAD_EVENTS, cscdqm::DMB_TRIGGERS, cscdqm::ALCT_TRIGGERS,
  cscdqm::CLCT_TRIGGERS, cscdqm::CFEB_TRIGGERS, cscdqm::EVENT_DISPLAY_PLOT
}
 

Chamber level counter types.

More...

Define Documentation

#define CONFIG_PARAMETER_DEFAULT_MACRO (   r,
  data,
  i,
  elem 
)    BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem) = BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 2, elem);

Parameter Default value definition (in constructor)

Definition at line 120 of file CSCDQM_Configuration.h.

Referenced by cscdqm::Configuration::init().

#define CONFIG_PARAMETER_DEFINE_MACRO (   r,
  data,
  i,
  elem 
)    BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 0, elem) BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem);

Global Parameter Manipulation macros. Parameter as class property definition

Definition at line 116 of file CSCDQM_Configuration.h.

#define CONFIG_PARAMETER_GETTER_MACRO (   r,
  data,
  i,
  elem 
)
Value:
const BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 0, elem) BOOST_PP_CAT(get, BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem))() const { \
    return BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem); \
  }

Parameter Getter method

Definition at line 124 of file CSCDQM_Configuration.h.

#define CONFIG_PARAMETER_SETTER_MACRO (   r,
  data,
  i,
  elem 
)
Value:
void BOOST_PP_CAT(set, BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem))(BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 0, elem) p) { \
    BOOST_PP_TUPLE_ELEM(CONFIG_PARAMETERS_SEQ_LEN, 1, elem) = p; \
  }

Parameter Setter method

Definition at line 130 of file CSCDQM_Configuration.h.

#define CONFIG_PARAMETERS_SEQ

Sequence of Global Parameters. Add new line or edit existing in form: (( type (C++), name (upper case), default value, "description" )) \

Definition at line 73 of file CSCDQM_Configuration.h.

Referenced by cscdqm::Configuration::init().

#define CONFIG_PARAMETERS_SEQ_LEN   4

Headers for Global DQM Only Length of Global Parameter sequence

Definition at line 67 of file CSCDQM_Configuration.h.

#define SEPFIELD
Value:
logger << std::setfill('-'); \
      logger << std::setw(25) << ""; \
      logger << std::setw(10) << ""; \
      logger << std::setw(2)  << ""; \
      logger << std::endl;

Statistics separator definition

Definition at line 446 of file CSCDQM_Configuration.h.

Referenced by cscdqm::Configuration::printStats().

#define STATFIELD (   caption,
  value,
  units 
)
Value:
logger << std::setfill(' '); \
      logger << std::setiosflags(std::ios::right) << std::setw(25) << caption << " : "; \
      logger << std::setiosflags(std::ios::right) << std::setw(12); \
      if (((double) value) < 0) { \
        logger << "NA"; \
      } else { \
        logger << value; \
      } \
      logger << std::setiosflags(std::ios::left) << std::setw(2) << units; \
      logger << std::endl;

Statistics field definition

Definition at line 433 of file CSCDQM_Configuration.h.

Referenced by cscdqm::Configuration::printStats().