CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes
RPCAMCLinkCounters Class Reference

#include <RPCAMCLinkCounters.h>

Public Types

typedef std::map< std::pair< unsigned int, std::uint32_t >, unsigned int > map_type
 

Public Member Functions

void add (unsigned int event, RPCAMCLink const &link, unsigned int count=1)
 
map_type const & getCounters () const
 
void reset ()
 
void reset (unsigned int event)
 
void reset (unsigned int event, RPCAMCLink const &link)
 
 RPCAMCLinkCounters ()
 

Protected Attributes

map_type type_link_count_
 

Detailed Description

Definition at line 9 of file RPCAMCLinkCounters.h.

Member Typedef Documentation

◆ map_type

typedef std::map<std::pair<unsigned int, std::uint32_t>, unsigned int> RPCAMCLinkCounters::map_type

Definition at line 11 of file RPCAMCLinkCounters.h.

Constructor & Destructor Documentation

◆ RPCAMCLinkCounters()

RPCAMCLinkCounters::RPCAMCLinkCounters ( )

Definition at line 3 of file RPCAMCLinkCounters.cc.

3 {}

Member Function Documentation

◆ add()

void RPCAMCLinkCounters::add ( unsigned int  event,
RPCAMCLink const &  link,
unsigned int  count = 1 
)

◆ getCounters()

map_type const& RPCAMCLinkCounters::getCounters ( ) const

◆ reset() [1/3]

void RPCAMCLinkCounters::reset ( )

◆ reset() [2/3]

void RPCAMCLinkCounters::reset ( unsigned int  event)

◆ reset() [3/3]

void RPCAMCLinkCounters::reset ( unsigned int  event,
RPCAMCLink const &  link 
)

Member Data Documentation

◆ type_link_count_

map_type RPCAMCLinkCounters::type_link_count_
protected

Definition at line 24 of file RPCAMCLinkCounters.h.