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
EicBlackHole.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EicBlackHole.h
1
//
2
// AYK (ayk@bnl.gov), 2015/08/06;
3
//
4
// Parent-hierarchy-related class; see the codes for more details;
5
//
6
7
#include <utility>
8
#include <set>
9
10
#ifndef _EIC_BLACK_HOLE_
11
#define _EIC_BLACK_HOLE_
12
13
class
EicBlackHole
{
14
public
:
15
EicBlackHole
() {};
16
~EicBlackHole
() {};
17
22
static
std::pair<int, int>
GetParentIDs
();
23
24
static
void
ResetTrackList
() {
mTracks
->clear(); };
25
static
void
InsertIntoTrackList
(
unsigned
id
) {
mTracks
->insert(
id
); };
26
static
bool
IsInTrackList
(
unsigned
id
) {
27
return
(
mTracks
->find(
id
) !=
mTracks
->end());
28
};
29
30
private
:
31
static
std::set<unsigned> *
mTracks
;
32
};
33
34
#endif
EicRoot
blob
master
eic
base
EicBlackHole.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration