CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
cscdqm Namespace Reference

Namespaces

 h
 

Classes

struct  Address
 Structure to store detector addresses of any granularity: from whole detector to the single HV element. More...
 
struct  AddressBox
 Area covered by Address in eta/phy space. More...
 
struct  AddressMask
 Mask of the address which is used to switch on and off appropriate Address fields. More...
 
class  Cache
 MonitorObject cache - list objects and routines to manage cache. More...
 
struct  ChamberCounterKeyType
 Chamber Counters key type. More...
 
class  ClusterLocalMax
 Local Maximum of the Cluster. More...
 
class  Collection
 Manage collection of histograms, load histogram definitions from XML file and book histograms by calling MonitorObjectProvider routines. More...
 
class  Configuration
 CSCDQM Framework Global Configuration. More...
 
class  CSCHistoDef
 CSC Level Histogram Type. More...
 
struct  CSCHistoKeyType
 Chamber MO List object definition. More...
 
struct  CSCKeyType
 Chamber List object definition. More...
 
struct  DCSAddressType
 
struct  DCSBoardUtility
 
class  DCSData
 CSC DCS Data type. More...
 
class  DDUHistoDef
 DDU Level Histogram Definition. More...
 
class  Detector
 Detector geometry and addressing related imformation and routines. More...
 
class  Dispatcher
 CSCDQM Framework frontend and Histogram Cache controller. More...
 
class  EMUHistoDef
 EMU Level Histogram Definition. More...
 
class  EventProcessor
 Object used to process Events and compute statistics. More...
 
class  EventProcessorMutex
 Locking object (wrapper) that holds a separate EventProcessor. This object can be used (theoretically) in separate thread. More...
 
class  Exception
 Application level Exception that is used to cut-off application execution in various cases. More...
 
class  FEDHistoDef
 FED Level Histogram Definition. More...
 
struct  HistoBookRequest
 
class  HistoDef
 Abstract Base Histogram Definition. More...
 
struct  HVVMeasType
 
struct  HWStandbyType
 
class  Lock
 Lockable interface that blocks thread. More...
 
struct  LockType
 
class  LogCout
 Simple logger that prints stuff to std::cout. Use LOG_COUT macros instead, i.e. LOG_COUT << "x = " << x;. More...
 
class  LogError
 Error level logger. Use LOG_ERROR macros instead, i.e. LOG_ERROR << "x = " << x;. More...
 
class  Logger
 Base Logger Object (empty) More...
 
class  LogInfo
 Information level logger. Use LOG_INFO macros instead, i.e. LOG_INFO << "x = " << x;. More...
 
class  LogWarn
 Warning level logger. Use LOG_WARN macros instead, i.e. LOG_WARN << "x = " << x;. More...
 
struct  LookupKeyType
 MO Lookup List object definition. More...
 
struct  LVIMeasType
 
struct  LVVMeasType
 
struct  MOFilterItem
 MO filter Item definition (loaded from XML/PSet) More...
 
class  MonitorObject
 Monitoring Object interface used to cover Root object and provide common interface to EventProcessor and Collection objects. Used by HistoProvider interface. More...
 
class  MonitorObjectProvider
 Interface for Histogram providing objects. Used by Event Processor to retrieve MonitorObject 's and by Collection to book MonitorObject 's. More...
 
class  ParHistoDef
 Parameter Histogram Definition. More...
 
class  StripCluster
 Strip Cluster. More...
 
class  StripClusterFinder
 Object used to find Strip Clusters. More...
 
class  StripClusterFitData
 Strip Cluster Fit Data Object. More...
 
class  Summary
 Hardware and Physics Efficiency data structures and routines. More...
 
struct  TempMeasType
 
class  Utility
 General and CSCDQM Framework related utility routines. More...
 
class  XercesStringTranscoder
 This is a simple class that lets us do easy (though not terribly efficient) trancoding of char* data to XMLCh data. More...
 
class  XMLFileErrorHandler
 Takes care of errors and warnings while parsing XML files file in XML format. More...
 

Typedefs

typedef std::map
< ChamberCounterType, uint32_t > 
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 > > > > > 
ChamberMapCounterMapType
 
typedef std::map< std::string,
CoHistoProps
CoHisto
 
typedef std::map< std::string,
CoHisto
CoHistoMap
 
typedef std::map< std::string,
std::string > 
CoHistoProps
 
typedef std::map< CSCIdType,
ExaminerStatusType
CSCExaminerMapType
 
typedef
boost::multi_index_container
< CSCHistoKeyType,
boost::multi_index::indexed_by
< boost::multi_index::ordered_unique
< boost::multi_index::composite_key
< CSCHistoKeyType,
boost::multi_index::member
< CSCHistoKeyType, HistoId,&CSCHistoKeyType::id >
, boost::multi_index::member
< CSCHistoKeyType, HwId,&CSCHistoKeyType::addId > > > > > 
CSCHistoMapType
 
typedef
boost::multi_index_container
< CSCKeyType,
boost::multi_index::indexed_by
< boost::multi_index::ordered_unique
< boost::multi_index::composite_key
< CSCKeyType,
boost::multi_index::member
< CSCKeyType, HwId,&CSCKeyType::crateId >
, boost::multi_index::member
< CSCKeyType, HwId,&CSCKeyType::dmbId > > > > > 
CSCMapType
 
typedef std::vector< DDUIdTypeDDUExaminerVectorType
 
typedef std::map< HwId,
MonitorObject ** > 
DDUMapType
 
typedef std::map< HwId,
MonitorObject ** > 
FEDMapType
 
typedef unsigned int HistoId
 
typedef std::string HistoName
 
typedef unsigned int HwId
 
typedef std::bitset< 14 > HWStatusBitSet
 Hardware Status Bits structure used in Summary efficiency calculation and storage. More...
 
typedef
boost::multi_index_container
< LookupKeyType,
boost::multi_index::indexed_by
< boost::multi_index::ordered_unique
< boost::multi_index::member
< LookupKeyType, HistoDef,&LookupKeyType::histo >
>, boost::multi_index::ordered_non_unique
< boost::multi_index::member
< LookupKeyType, std::string,&LookupKeyType::path > > > > 
LookupMapType
 
typedef std::map< const
unsigned int, std::vector
< unsigned int > > 
PartitionMap
 
typedef PartitionMap::iterator PartitionMapIterator
 
typedef long long TimeType
 

Enumerations

enum  ChamberCounterType {
  DMB_EVENTS, BAD_EVENTS, DMB_TRIGGERS, ALCT_TRIGGERS,
  CLCT_TRIGGERS, CFEB_TRIGGERS, EVENT_DISPLAY_PLOT
}
 Chamber level counter types. More...
 
enum  DCSBoardType { ANY = 0, ALCT = 1, CFEB = 2, DMB = 3 }
 
enum  HistoType {
  INT, FLOAT, STRING, H1D,
  H2D, H3D, PROFILE, PROFILE2D
}
 
enum  HWStatusBit {
  DATA, MASKED, HOT, COLD,
  FORMAT_ERR, L1SYNC_ERR, FIFOFULL_ERR, INPUTTO_ERR,
  NODATA_ALCT, NODATA_CLCT, NODATA_CFEB, CFEB_BWORDS,
  STANDBY, WAS_ON
}
 Hardware Status Bit values used in Summary efficiency calculation. More...
 

Functions

static const TPRegexp REGEXP_ONDEMAND ("^.*%d.*$")
 
template<class T >
bool stringToNumber (T &t, const std::string &s, std::ios_base &(*f)(std::ios_base &))
 Converting from string to whatever number (failsafe!) More...
 
template<typename T >
CSCCFEBDataWord const *const timeSample (T const &data, int nCFEB, int nSample, int nLayer, int nStrip)
 
template<typename T >
CSCCFEBTimeSlice const *const timeSlice (T const &data, int nCFEB, int nSample)
 
template<class T >
const std::string toString (T &t)
 Converting from whatever to string (failsafe!) More...
 

Variables

static const std::type_info & CSCHistoDefT = typeid(cscdqm::CSCHistoDef)
 
static const std::type_info & DDUHistoDefT = typeid(cscdqm::DDUHistoDef)
 
static const int DEF_HISTO_COLOR = 48
 
static const std::type_info & EMUHistoDefT = typeid(cscdqm::EMUHistoDef)
 
static const std::type_info & FEDHistoDefT = typeid(cscdqm::FEDHistoDef)
 
static const std::type_info & ParHistoDefT = typeid(cscdqm::ParHistoDef)
 
static const char PATH_CSC [] = "CSC_%03d_%02d"
 
static const char PATH_DDU [] = "DDU_%02d"
 
static const char PATH_FED [] = "FED_%03d"
 
static const char XML_BOOK_DEFINITION [] = "Definition"
 
static const char XML_BOOK_DEFINITION_ID [] = "id"
 
static const char XML_BOOK_DEFINITION_REF [] = "ref"
 
static const char XML_BOOK_HISTO_NAME [] = "Name"
 
static const char XML_BOOK_HISTO_PREFIX [] = "Prefix"
 
static const char XML_BOOK_HISTO_TITLE [] = "Title"
 
static const char XML_BOOK_HISTO_TYPE [] = "Type"
 
static const char XML_BOOK_HISTOGRAM [] = "Histogram"
 
static const char XML_BOOK_NAME_FROM [] = "Name_from"
 
static const char XML_BOOK_NAME_TO [] = "Name_to"
 
static const char XML_BOOK_ONDEMAND [] = "OnDemand"
 
static const char XML_BOOK_ONDEMAND_FALSE [] = "0"
 
static const char XML_BOOK_ONDEMAND_TRUE [] = "1"
 

Typedef Documentation

Single Chamber counters type

Definition at line 193 of file CSCDQM_Configuration.h.

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

Map of Chamber Counters Type

Definition at line 215 of file CSCDQM_Configuration.h.

typedef std::map<std::string, CoHistoProps> cscdqm::CoHisto

List of Histograms

Definition at line 64 of file CSCDQM_Collection.h.

typedef std::map<std::string, CoHisto> cscdqm::CoHistoMap

List of Histogram Types

Definition at line 66 of file CSCDQM_Collection.h.

typedef std::map<std::string, std::string> cscdqm::CoHistoProps

List of Single Histogram properties

Definition at line 62 of file CSCDQM_Collection.h.

Definition at line 104 of file CSCDQM_EventProcessor.h.

typedef boost::multi_index_container< CSCHistoKeyType, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::composite_key< CSCHistoKeyType, boost::multi_index::member<CSCHistoKeyType, HistoId, &CSCHistoKeyType::id>, boost::multi_index::member<CSCHistoKeyType, HwId, &CSCHistoKeyType::addId> > > > > cscdqm::CSCHistoMapType

Chamber MO List definition

Definition at line 59 of file CSCDQM_Cache.h.

typedef boost::multi_index_container< CSCKeyType, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::composite_key< CSCKeyType, boost::multi_index::member<CSCKeyType, HwId, &CSCKeyType::crateId>, boost::multi_index::member<CSCKeyType, HwId, &CSCKeyType::dmbId> > > > > cscdqm::CSCMapType

Chamber List definition

Definition at line 81 of file CSCDQM_Cache.h.

Definition at line 105 of file CSCDQM_EventProcessor.h.

typedef std::map<HwId, MonitorObject**> cscdqm::DDUMapType

DDU List definition (static MO list)

Definition at line 87 of file CSCDQM_Cache.h.

typedef std::map<HwId, MonitorObject**> cscdqm::FEDMapType

FED List definition (static MO list)

Definition at line 84 of file CSCDQM_Cache.h.

typedef unsigned int cscdqm::HistoId

Type for histogram id constants

Definition at line 35 of file CSCDQM_HistoDef.h.

typedef std::string cscdqm::HistoName

Type for histogram name constants

Definition at line 32 of file CSCDQM_HistoDef.h.

typedef unsigned int cscdqm::HwId

Type for detector component (HW) id parameters

Definition at line 38 of file CSCDQM_HistoDef.h.

typedef std::bitset< 14 > cscdqm::HWStatusBitSet

Hardware Status Bits structure used in Summary efficiency calculation and storage.

Definition at line 72 of file CSCDQM_Summary.h.

typedef boost::multi_index_container< LookupKeyType, boost::multi_index::indexed_by< boost::multi_index::ordered_unique<boost::multi_index::member<LookupKeyType, HistoDef, &LookupKeyType::histo> >, boost::multi_index::ordered_non_unique<boost::multi_index::member<LookupKeyType, std::string, &LookupKeyType::path> > > > cscdqm::LookupMapType

MO Lookup List definition

Definition at line 106 of file CSCDQM_Cache.h.

typedef std::map<const unsigned int, std::vector<unsigned int> > cscdqm::PartitionMap

Map of partitions and partition covering adresses indexes type

Definition at line 174 of file CSCDQM_Detector.h.

typedef PartitionMap::iterator cscdqm::PartitionMapIterator

Iterator type of PartitionMap

Definition at line 177 of file CSCDQM_Detector.h.

typedef long long cscdqm::TimeType

Type to store Unix timetamp

Definition at line 32 of file CSCDQM_DCSBase.h.

Enumeration Type Documentation

Chamber level counter types.

Enumerator
DMB_EVENTS 
BAD_EVENTS 
DMB_TRIGGERS 
ALCT_TRIGGERS 
CLCT_TRIGGERS 
CFEB_TRIGGERS 
EVENT_DISPLAY_PLOT 

Definition at line 182 of file CSCDQM_Configuration.h.

Enumeration of Board Types

Enumerator
ANY 
ALCT 
CFEB 
DMB 

Definition at line 35 of file CSCDQM_DCSBase.h.

35  {
36  ANY = 0,
37  ALCT = 1,
38  CFEB = 2,
39  DMB = 3
40  };

Hardware Status Bit values used in Summary efficiency calculation.

Enumerator
DATA 
MASKED 

Data available (reporting)

HOT 

HW element was masked out (not in readout)

COLD 

HW element is hot by comparing with reference histogram.

FORMAT_ERR 

HW element is cold comparing with reference histogram.

L1SYNC_ERR 

Format errors.

FIFOFULL_ERR 

L1A out of sync errors.

INPUTTO_ERR 

DMB FIFO full error.

NODATA_ALCT 

DMB Input timeout error.

NODATA_CLCT 

No ALCT data.

NODATA_CFEB 

No CLCT data.

CFEB_BWORDS 

No CFEB data.

STANDBY 

Data with CFEB BWORDS.

WAS_ON 

HW element in standby mode.

HW element ever in the run was ON (off standby mode)

Definition at line 45 of file CSCDQM_Summary.h.

45  {
46 
47  DATA,
48  MASKED,
49 
50  HOT,
51  COLD,
52 
53  FORMAT_ERR,
54  L1SYNC_ERR,
55  FIFOFULL_ERR,
56  INPUTTO_ERR,
57 
58  NODATA_ALCT,
59  NODATA_CLCT,
60  NODATA_CFEB,
61  CFEB_BWORDS,
62 
63  STANDBY,
64  WAS_ON
65 
66 };
HW element in standby mode.
Data with CFEB BWORDS.
HW element was masked out (not in readout)
HW element is cold comparing with reference histogram.
Format errors.
Data available (reporting)
HW element is hot by comparing with reference histogram.
No CFEB data.
DMB Input timeout error.
L1A out of sync errors.
DMB FIFO full error.
No CLCT data.
No ALCT data.

Function Documentation

static const TPRegexp cscdqm::REGEXP_ONDEMAND ( "^.*%d.*$"  )
static
template<class T >
bool cscdqm::stringToNumber ( T t,
const std::string &  s,
std::ios_base &(*)(std::ios_base &)  f 
)

Converting from string to whatever number (failsafe!)

Parameters
tresult number
ssource string
fbase
Returns
true if success, else - false

Definition at line 62 of file CSCDQM_Utility.h.

References f, cmsPerfPublish::fail(), and tree::t.

62  {
63  std::istringstream iss(s);
64  return !(iss >> f >> t).fail();
65  }
tuple t
Definition: tree.py:139
double f[11][100]
template<typename T >
CSCCFEBDataWord const* const cscdqm::timeSample ( T const &  data,
int  nCFEB,
int  nSample,
int  nLayer,
int  nStrip 
)
inline

Definition at line 26 of file CSCDQM_EventProcessor_processCSC.cc.

Referenced by cscdqm::EventProcessor::processCSC().

26  {
27  return data.cfebData(nCFEB)->timeSlice(nSample)->timeSample(nLayer,nStrip,data.cfebData(nCFEB)->isDCFEB());
28  }
template<typename T >
CSCCFEBTimeSlice const* const cscdqm::timeSlice ( T const &  data,
int  nCFEB,
int  nSample 
)
inline

Definition at line 31 of file CSCDQM_EventProcessor_processCSC.cc.

Referenced by cscdqm::EventProcessor::processCSC().

31 { return (CSCCFEBTimeSlice *)(data.cfebData(nCFEB)->timeSlice(nSample));}
template<class T >
const std::string cscdqm::toString ( T t)

Converting from whatever to string (failsafe!)

Parameters
twhatever
Returns
result string

Definition at line 47 of file CSCDQM_Utility.h.

References query::result, AlCaHLTBitMon_QueryRunRegistry::string, and tree::t.

47  {
48  std::ostringstream st;
49  st << t;
50  std::string result = st.str();
51  return result;
52  }
tuple t
Definition: tree.py:139
tuple result
Definition: query.py:137

Variable Documentation

const std::type_info& cscdqm::CSCHistoDefT = typeid(cscdqm::CSCHistoDef)
static
const std::type_info& cscdqm::DDUHistoDefT = typeid(cscdqm::DDUHistoDef)
static
const int cscdqm::DEF_HISTO_COLOR = 48
static

Default histogram color

Definition at line 59 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::book().

const std::type_info& cscdqm::EMUHistoDefT = typeid(cscdqm::EMUHistoDef)
static

Definition at line 474 of file CSCDQM_HistoDef.h.

Referenced by cscdqm::Cache::get(), and cscdqm::Cache::put().

const std::type_info& cscdqm::FEDHistoDefT = typeid(cscdqm::FEDHistoDef)
static
const std::type_info& cscdqm::ParHistoDefT = typeid(cscdqm::ParHistoDef)
static
const char cscdqm::PATH_CSC[] = "CSC_%03d_%02d"
static

CSC path pattern. Arguments are Create ID and DMB ID

Definition at line 52 of file CSCDQM_HistoDef.h.

Referenced by cscdqm::CSCHistoDef::getPath().

const char cscdqm::PATH_DDU[] = "DDU_%02d"
static

DDU path pattern. Argument is DDU ID

Definition at line 49 of file CSCDQM_HistoDef.h.

Referenced by cscdqm::DDUHistoDef::getPath().

const char cscdqm::PATH_FED[] = "FED_%03d"
static

DDU path pattern. Argument is FED ID

Definition at line 46 of file CSCDQM_HistoDef.h.

Referenced by cscdqm::FEDHistoDef::getPath().

const char cscdqm::XML_BOOK_DEFINITION[] = "Definition"
static

Constants used for element recognition in Booking XML.

Definition at line 44 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::load().

const char cscdqm::XML_BOOK_DEFINITION_ID[] = "id"
static

Definition at line 45 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::load().

const char cscdqm::XML_BOOK_DEFINITION_REF[] = "ref"
static

Definition at line 47 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::load().

const char cscdqm::XML_BOOK_HISTO_NAME[] = "Name"
static

Definition at line 48 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::load().

const char cscdqm::XML_BOOK_HISTO_PREFIX[] = "Prefix"
static

Definition at line 49 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::load().

const char cscdqm::XML_BOOK_HISTO_TITLE[] = "Title"
static

Definition at line 51 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::book().

const char cscdqm::XML_BOOK_HISTO_TYPE[] = "Type"
static

Definition at line 50 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::book().

const char cscdqm::XML_BOOK_HISTOGRAM[] = "Histogram"
static

Definition at line 46 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::load().

const char cscdqm::XML_BOOK_NAME_FROM[] = "Name_from"
static

Definition at line 55 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::bookCSCHistos().

const char cscdqm::XML_BOOK_NAME_TO[] = "Name_to"
static

Definition at line 56 of file CSCDQM_Collection.h.

Referenced by cscdqm::Collection::bookCSCHistos().

const char cscdqm::XML_BOOK_ONDEMAND[] = "OnDemand"
static
const char cscdqm::XML_BOOK_ONDEMAND_FALSE[] = "0"
static
const char cscdqm::XML_BOOK_ONDEMAND_TRUE[] = "1"
static