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 int const amc_ = 0x2000
 
static unsigned int const debug_ = 0x0100
 
static unsigned int const error_ = 0x0400
 
static unsigned int const event_mask_ = 0x00ff
 
static unsigned int const fatal_ = 0x0500
 
static unsigned int const fed_ = 0x1000
 
static unsigned int const group_mask_ = 0x7000
 
static unsigned int const info_ = 0x0200
 
static unsigned int const input_ = 0x3000
 
static unsigned int const level_mask_ = 0x0700
 
static unsigned int const not_set_ = 0x0000
 
static unsigned int const 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.

References event_mask_.

34 { return (id & event_mask_); }
static unsigned int const event_mask_

◆ getGroup()

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

Definition at line 30 of file RPCAMCLinkEvent.h.

References group_mask_.

30 { return (id & group_mask_); }
static unsigned int const 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.

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

36  {
37  return ((event & event_mask_) | (group & group_mask_) | (level & level_mask_));
38 }
static unsigned int const group_mask_
static unsigned int const event_mask_
static unsigned int const level_mask_
Definition: event.py:1

◆ getLevel()

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

Definition at line 32 of file RPCAMCLinkEvent.h.

References level_mask_.

32 { return (id & level_mask_); }
static unsigned int const level_mask_

Member Data Documentation

◆ amc_

unsigned int const RPCAMCLinkEvent::amc_ = 0x2000
static

Definition at line 13 of file RPCAMCLinkEvent.h.

◆ debug_

unsigned int const RPCAMCLinkEvent::debug_ = 0x0100
static

Definition at line 16 of file RPCAMCLinkEvent.h.

◆ error_

unsigned int const RPCAMCLinkEvent::error_ = 0x0400
static

Definition at line 19 of file RPCAMCLinkEvent.h.

◆ event_mask_

unsigned int const RPCAMCLinkEvent::event_mask_ = 0x00ff
static

Definition at line 8 of file RPCAMCLinkEvent.h.

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

◆ fatal_

unsigned int const RPCAMCLinkEvent::fatal_ = 0x0500
static

Definition at line 20 of file RPCAMCLinkEvent.h.

◆ fed_

unsigned int const RPCAMCLinkEvent::fed_ = 0x1000
static

Definition at line 12 of file RPCAMCLinkEvent.h.

◆ group_mask_

unsigned int const RPCAMCLinkEvent::group_mask_ = 0x7000
static

Definition at line 6 of file RPCAMCLinkEvent.h.

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

◆ info_

unsigned int const RPCAMCLinkEvent::info_ = 0x0200
static

Definition at line 17 of file RPCAMCLinkEvent.h.

◆ input_

unsigned int const RPCAMCLinkEvent::input_ = 0x3000
static

Definition at line 14 of file RPCAMCLinkEvent.h.

◆ level_mask_

unsigned int const RPCAMCLinkEvent::level_mask_ = 0x0700
static

Definition at line 7 of file RPCAMCLinkEvent.h.

Referenced by getId(), and getLevel().

◆ not_set_

unsigned int const RPCAMCLinkEvent::not_set_ = 0x0000
static

Definition at line 10 of file RPCAMCLinkEvent.h.

◆ warn_

unsigned int const RPCAMCLinkEvent::warn_ = 0x0300
static

Definition at line 18 of file RPCAMCLinkEvent.h.