EIC Software
Reference for
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
MatchCandidateGroup.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MatchCandidateGroup.h
1
//
2
// AYK (ayk@bnl.gov)
3
//
4
// Match candidate group (overlap via hits) class;
5
//
6
//
7
8
#include <map>
9
10
#include <
MatchCandidate.h
>
11
12
#ifndef _MATCH_CANDIDATE_GROUP_
13
#define _MATCH_CANDIDATE_GROUP_
14
15
class
MatchCandidateGroup
16
{
17
public
:
18
MatchCandidateGroup
(
MatchCandidate
*match) {
AddCandidate
(match); };
19
~MatchCandidateGroup
() {};
20
21
void
AddCandidate
(
MatchCandidate
*match);
22
23
unsigned
GetCandidateCount
()
const
{
return
mMatchCandidates
.size(); };
24
25
// FIXME: allocate iterators once?;
26
std::multimap<__u64, MatchCandidate*>::iterator
Begin
() {
return
mMatchCandidates
.begin(); };
27
std::multimap<__u64, MatchCandidate*>::iterator
End
() {
return
mMatchCandidates
.end(); };
28
29
private
:
30
std::set<GroupMember*>
mHits
;
31
std::multimap<__u64, MatchCandidate*>
mMatchCandidates
;
32
};
33
34
#endif
EicRoot
blob
master
eic
htree
MatchCandidateGroup.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration