EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicBlackHole Class Reference

#include <EicRoot/blob/master/eic/base/EicBlackHole.h>

+ Collaboration diagram for EicBlackHole:

Public Member Functions

 EicBlackHole ()
 
 ~EicBlackHole ()
 

Static Public Member Functions

static std::pair< int, int > GetParentIDs ()
 
static void ResetTrackList ()
 
static void InsertIntoTrackList (unsigned id)
 
static bool IsInTrackList (unsigned id)
 

Static Private Attributes

static std::set< unsigned > * mTracks = new std::set<unsigned>()
 

Detailed Description

Definition at line 13 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 13 of file EicBlackHole.h

Constructor & Destructor Documentation

EicBlackHole::EicBlackHole ( )
inline

Definition at line 15 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 15 of file EicBlackHole.h

EicBlackHole::~EicBlackHole ( )
inline

Definition at line 16 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 16 of file EicBlackHole.h

Member Function Documentation

std::pair< int, int > EicBlackHole::GetParentIDs ( )
static

Figure out GEANT primary track ID which produced hit in the current volume

Dig parent tree up to the primary particle; want to store this info with every MC hit; useful at least for calorimeter ideal reconstruction;

Definition at line 18 of file EicBlackHole.cxx.

View newest version in sPHENIX GitHub at line 18 of file EicBlackHole.cxx

References IsInTrackList(), and particle.

Referenced by EicDetector::ProcessHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void EicBlackHole::InsertIntoTrackList ( unsigned  id)
inlinestatic

Definition at line 25 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 25 of file EicBlackHole.h

References mTracks.

Referenced by EicMCApplication::Stepping().

+ Here is the caller graph for this function:

static bool EicBlackHole::IsInTrackList ( unsigned  id)
inlinestatic

Definition at line 26 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 26 of file EicBlackHole.h

References mTracks.

Referenced by GetParentIDs().

+ Here is the caller graph for this function:

static void EicBlackHole::ResetTrackList ( )
inlinestatic

Definition at line 24 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 24 of file EicBlackHole.h

References mTracks.

Referenced by EicDetector::BeginEvent().

+ Here is the caller graph for this function:

Member Data Documentation

std::set< unsigned > * EicBlackHole::mTracks = new std::set<unsigned>()
staticprivate

Definition at line 28 of file EicBlackHole.h.

View newest version in sPHENIX GitHub at line 28 of file EicBlackHole.h

Referenced by InsertIntoTrackList(), IsInTrackList(), and ResetTrackList().


The documentation for this class was generated from the following files: