Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
class
TrackerTopology
;
25
namespace
align
26
{
27
typedef
unsigned
int (*
Counter
)(
align::ID
,
const
TrackerTopology
*);
28
}
29
30
class
Counters
31
{
32
public
:
33
35
Counters
() {}
36
37
virtual
~Counters
() {}
38
40
virtual
align::Counter
get
(
align::StructureType
)
const
;
41
42
protected
:
43
std::map<align::StructureType, align::Counter>
theCounters
;
44
45
};
46
47
#endif
align::ID
uint32_t ID
Definition:
Definitions.h:26
Counters::~Counters
virtual ~Counters()
Definition:
Counters.h:37
TrackerTopology
Definition:
TrackerTopology.h:18
Counters
Definition:
Counters.h:30
Counters::theCounters
std::map< align::StructureType, align::Counter > theCounters
Definition:
Counters.h:43
align::Counter
unsigned int(* Counter)(align::ID, const TrackerTopology *)
Definition:
Counters.h:27
Definitions.h
StructureType.h
Counters::Counters
Counters()
Build the counters map.
Definition:
Counters.h:35
align::StructureType
StructureType
Definition:
StructureType.h:17
Generated for CMSSW Reference Manual by
1.8.5