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
TrkrClusterHitAssoc.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrClusterHitAssoc.h
1
7
#ifndef TRACKBASE_TRKRCLUSTERHITASSOC_H
8
#define TRACKBASE_TRKRCLUSTERHITASSOC_H
9
10
#include "
TrkrDefs.h
"
11
12
#include <
phool/PHObject.h
>
13
14
#include <climits>
15
#include <iostream>
// for cout, ostream
16
#include <map>
17
#include <utility>
// for pair
18
24
class
TrkrClusterHitAssoc
:
public
PHObject
25
{
26
public
:
27
using
Map
= std::multimap<TrkrDefs::cluskey, TrkrDefs::hitkey>;
28
using
ConstIterator
= Map::const_iterator;
29
using
ConstRange
= std::pair<Map::const_iterator, Map::const_iterator>;
30
31
void
Reset
()
override
;
32
38
virtual
void
addAssoc
(
TrkrDefs::cluskey
ckey,
unsigned
int
hidx) = 0;
39
41
virtual
Map
*
getClusterMap
(
TrkrDefs::hitsetkey
) {
return
nullptr
; }
42
49
virtual
ConstRange
getHits
(
TrkrDefs::cluskey
) = 0;
50
51
virtual
unsigned
int
size
()
const
{
return
0; }
52
53
protected
:
54
TrkrClusterHitAssoc
() =
default
;
55
56
private
:
57
ClassDefOverride
(
TrkrClusterHitAssoc
, 1);
58
};
59
60
#endif // TRACKBASE_TRKRCLUSTERHITASSOC_H
coresoftware
blob
master
offline
packages
trackbase
TrkrClusterHitAssoc.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration