Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CMFlashDifferenceContainerv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CMFlashDifferenceContainerv1.h
1
7
#ifndef TRACKBASE_CMFLASHDIFFERENCECONTAINERV1_H
8
#define TRACKBASE_CMFLASHDIFFERENCECONTAINERV1_H
9
10
#include "
CMFlashDifferenceContainer.h
"
11
12
#include <
phool/PHObject.h
>
13
14
#include <map>
15
#include <iostream>
// for cout, ostream
16
#include <utility>
// for pair
17
18
class
CMFlashDifference
;
19
25
class
CMFlashDifferenceContainerv1
:
public
CMFlashDifferenceContainer
26
{
27
public
:
28
typedef
std::map<unsigned int, CMFlashDifference *>
Map
;
29
typedef
Map::iterator
Iterator
;
30
typedef
Map::const_iterator
ConstIterator
;
31
typedef
std::pair<Iterator, Iterator>
Range
;
32
typedef
std::pair<ConstIterator, ConstIterator>
ConstRange
;
33
34
CMFlashDifferenceContainerv1
() =
default
;
35
36
void
Reset
()
override
;
37
38
void
identify
(std::ostream &
os
= std::cout)
const override
;
39
40
void
addDifferenceSpecifyKey
(
const
unsigned
int
,
CMFlashDifference
*newClus)
override
;
41
42
void
removeDifference
(
unsigned
int
)
override
;
43
44
ConstRange
getDifferences
()
const override
;
45
46
CMFlashDifference
*
findDifference
(
unsigned
int
key)
const override
;
47
48
unsigned
int
size
()
const override
;
49
50
private
:
51
Map
m_map
;
52
ClassDefOverride(
CMFlashDifferenceContainerv1
, 1)
53
};
54
55
#endif //TRACKBASE_CMFLASHDIFFERENCECONTAINER_H
coresoftware
blob
master
offline
packages
trackbase
CMFlashDifferenceContainerv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration