Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Alignment
CommonAlignment
interface
Counters.h
Go to the documentation of this file.
1
#ifndef Alignment_CommonAlignment_Counters_H
2
#define Alignment_CommonAlignment_Counters_H
3
19
#include <map>
20
21
#include "
Alignment/CommonAlignment/interface/StructureType.h
"
22
#include "
CondFormats/Alignment/interface/Definitions.h
"
23
24
namespace
align
25
{
26
typedef
unsigned
int (*
Counter
)(
align::ID
);
27
}
28
29
class
Counters
30
{
31
public
:
32
34
Counters
() {}
35
36
virtual
~Counters
() {}
37
39
virtual
align::Counter
get
(
align::StructureType
)
const
;
40
41
protected
:
42
std::map<align::StructureType, align::Counter>
theCounters
;
43
44
};
45
46
#endif
align::ID
uint32_t ID
Definition:
Definitions.h:26
Counters
Definition:
Counters.h:29
Counters::theCounters
std::map< align::StructureType, align::Counter > theCounters
Definition:
Counters.h:42
align::Counter
unsigned int(* Counter)(align::ID)
Definition:
Counters.h:26
Definitions.h
StructureType.h
Counters::Counters
Counters()
Build the counters map.
Definition:
Counters.h:34
align::StructureType
StructureType
Definition:
StructureType.h:17
Counters::~Counters
virtual ~Counters()
Definition:
Counters.h:36
Generated for CMSSW Reference Manual by
1.8.5