DataFormats
RPCDigi
interface
RPCAMCLinkCounters.h
Go to the documentation of this file.
1
#ifndef DataFormats_RPCDigi_RPCAMCLinkCounters_h
2
#define DataFormats_RPCDigi_RPCAMCLinkCounters_h
3
4
#include <cstdint>
5
#include <map>
6
7
#include "
CondFormats/RPCObjects/interface/RPCAMCLink.h
"
8
9
class
RPCAMCLinkCounters
{
10
public
:
11
typedef
std::map<std::pair<unsigned int, std::uint32_t>,
unsigned
int
>
map_type
;
12
13
public
:
14
RPCAMCLinkCounters
();
15
16
void
add
(
unsigned
int
event
,
RPCAMCLink
const
&
link
,
unsigned
int
count
= 1);
17
void
reset
();
18
void
reset
(
unsigned
int
event
);
19
void
reset
(
unsigned
int
event
,
RPCAMCLink
const
&
link
);
20
21
map_type
const
&
getCounters
()
const
;
22
23
protected
:
24
map_type
type_link_count_
;
25
};
26
27
#include "DataFormats/RPCDigi/interface/RPCAMCLinkCounters.icc"
28
29
#endif // DataFormats_RPCDigi_RPCAMCLinkCounters_h
MainPageGenerator.link
link
Definition:
MainPageGenerator.py:271
RPCAMCLinkCounters::map_type
std::map< std::pair< unsigned int, std::uint32_t >, unsigned int > map_type
Definition:
RPCAMCLinkCounters.h:11
RPCAMCLinkCounters::type_link_count_
map_type type_link_count_
Definition:
RPCAMCLinkCounters.h:24
submitPVResolutionJobs.count
count
Definition:
submitPVResolutionJobs.py:352
RPCAMCLink.h
RPCAMCLinkCounters::reset
void reset()
RPCAMCLinkCounters::RPCAMCLinkCounters
RPCAMCLinkCounters()
Definition:
RPCAMCLinkCounters.cc:3
RPCAMCLinkCounters::add
void add(unsigned int event, RPCAMCLink const &link, unsigned int count=1)
RPCAMCLinkCounters::getCounters
map_type const & getCounters() const
RPCAMCLink
Definition:
RPCAMCLink.h:12
event
Definition:
event.py:1
RPCAMCLinkCounters
Definition:
RPCAMCLinkCounters.h:9
Generated for CMSSW Reference Manual by
1.8.16