CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Public Attributes
RPCAMCLinkEvent Class Reference

#include <RPCAMCLinkEvent.h>

Static Public Member Functions

static unsigned int getEvent (unsigned int id)
 
static unsigned int getGroup (unsigned int id)
 
static unsigned int getId (unsigned int event, unsigned int group=not_set_, unsigned int level=not_set_)
 
static unsigned int getLevel (unsigned int id)
 

Static Public Attributes

static unsigned const int amc_ = 0x2000
 
static unsigned const int debug_ = 0x0100
 
static unsigned const int error_ = 0x0400
 
static unsigned const int event_mask_ = 0x00ff
 
static unsigned const int fatal_ = 0x0500
 
static unsigned const int fed_ = 0x1000
 
static unsigned const int group_mask_ = 0x7000
 
static unsigned const int info_ = 0x0200
 
static unsigned const int input_ = 0x3000
 
static unsigned const int level_mask_ = 0x0700
 
static unsigned const int not_set_ = 0x0000
 
static unsigned const int warn_ = 0x0300
 

Detailed Description

Definition at line 4 of file RPCAMCLinkEvent.h.

Member Function Documentation

◆ getEvent()

unsigned int RPCAMCLinkEvent::getEvent ( unsigned int  id)
inlinestatic

Definition at line 34 of file RPCAMCLinkEvent.h.

34 { return (id & event_mask_); }

References event_mask_.

◆ getGroup()

unsigned int RPCAMCLinkEvent::getGroup ( unsigned int  id)
inlinestatic

Definition at line 30 of file RPCAMCLinkEvent.h.

30 { return (id & group_mask_); }

References group_mask_.

◆ getId()

unsigned int RPCAMCLinkEvent::getId ( unsigned int  event,
unsigned int  group = not_set_,
unsigned int  level = not_set_ 
)
inlinestatic

Definition at line 36 of file RPCAMCLinkEvent.h.

36  {
37  return ((event & event_mask_) | (group & group_mask_) | (level & level_mask_));
38 }

References event_mask_, watchdog::group, group_mask_, personalPlayback::level, and level_mask_.

◆ getLevel()

unsigned int RPCAMCLinkEvent::getLevel ( unsigned int  id)
inlinestatic

Definition at line 32 of file RPCAMCLinkEvent.h.

32 { return (id & level_mask_); }

References level_mask_.

Member Data Documentation

◆ amc_

unsigned const int RPCAMCLinkEvent::amc_ = 0x2000
static

Definition at line 13 of file RPCAMCLinkEvent.h.

◆ debug_

unsigned const int RPCAMCLinkEvent::debug_ = 0x0100
static

Definition at line 16 of file RPCAMCLinkEvent.h.

◆ error_

unsigned const int RPCAMCLinkEvent::error_ = 0x0400
static

Definition at line 19 of file RPCAMCLinkEvent.h.

◆ event_mask_

unsigned const int RPCAMCLinkEvent::event_mask_ = 0x00ff
static

Definition at line 8 of file RPCAMCLinkEvent.h.

Referenced by getEvent(), RPCAMCLinkEvents::getEventName(), and getId().

◆ fatal_

unsigned const int RPCAMCLinkEvent::fatal_ = 0x0500
static

Definition at line 20 of file RPCAMCLinkEvent.h.

◆ fed_

unsigned const int RPCAMCLinkEvent::fed_ = 0x1000
static

Definition at line 12 of file RPCAMCLinkEvent.h.

◆ group_mask_

unsigned const int RPCAMCLinkEvent::group_mask_ = 0x7000
static

Definition at line 6 of file RPCAMCLinkEvent.h.

Referenced by RPCAMCLinkEvents::getEventName(), getGroup(), and getId().

◆ info_

unsigned const int RPCAMCLinkEvent::info_ = 0x0200
static

Definition at line 17 of file RPCAMCLinkEvent.h.

◆ input_

unsigned const int RPCAMCLinkEvent::input_ = 0x3000
static

Definition at line 14 of file RPCAMCLinkEvent.h.

◆ level_mask_

unsigned const int RPCAMCLinkEvent::level_mask_ = 0x0700
static

Definition at line 7 of file RPCAMCLinkEvent.h.

Referenced by getId(), and getLevel().

◆ not_set_

unsigned const int RPCAMCLinkEvent::not_set_ = 0x0000
static

Definition at line 10 of file RPCAMCLinkEvent.h.

◆ warn_

unsigned const int RPCAMCLinkEvent::warn_ = 0x0300
static

Definition at line 18 of file RPCAMCLinkEvent.h.

personalPlayback.level
level
Definition: personalPlayback.py:22
RPCAMCLinkEvent::group_mask_
static unsigned const int group_mask_
Definition: RPCAMCLinkEvent.h:6
RPCAMCLinkEvent::level_mask_
static unsigned const int level_mask_
Definition: RPCAMCLinkEvent.h:7
RPCAMCLinkEvent::event_mask_
static unsigned const int event_mask_
Definition: RPCAMCLinkEvent.h:8
event
Definition: event.py:1
watchdog.group
group
Definition: watchdog.py:82