CMS 3D CMS Logo

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 
8 
10 public:
11  typedef std::map<std::pair<unsigned int, std::uint32_t>, unsigned int> map_type;
12 
13 public:
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:
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
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
event
Definition: event.py:1
RPCAMCLinkCounters
Definition: RPCAMCLinkCounters.h:9