ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
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 <iostream>
// for cout, ostream
15
#include <map>
16
#include <utility>
// for pair
17
#include <climits>
18
24
class
TrkrClusterHitAssoc
:
public
PHObject
25
{
26
public
:
27
28
using
Map
= std::multimap<TrkrDefs::cluskey, TrkrDefs::hitkey>;
29
using
ConstIterator
= Map::const_iterator;
30
using
ConstRange
= std::pair<Map::const_iterator, Map::const_iterator>;
31
32
void
Reset
()
override
;
33
39
virtual
void
addAssoc
(
TrkrDefs::cluskey
ckey,
unsigned
int
hidx) = 0;
40
42
virtual
Map
*
getClusterMap
(
TrkrDefs::hitsetkey
) {
return
nullptr
;}
43
50
virtual
ConstRange
getHits
(
TrkrDefs::cluskey
) = 0;
51
52
virtual
unsigned
int
size
()
const
{
return
0;}
53
54
protected
:
55
TrkrClusterHitAssoc
() =
default
;
56
57
private
:
58
59
ClassDefOverride
(
TrkrClusterHitAssoc
, 1);
60
};
61
62
#endif // TRACKBASE_TRKRCLUSTERHITASSOC_H
coresoftware
blob
master
offline
packages
trackbase
TrkrClusterHitAssoc.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration