GGS(GenericGEANT4Simulation)Software
2.7.0
|
Class for reading output of GGSPrimaryDisAction. More...
#include <GGSTPrimaryDisReader.h>
Public Member Functions | |
GGSTPrimaryDisReader () | |
Constructor. | |
~GGSTPrimaryDisReader () | |
Destructor. | |
bool | SetChain (TChain *disInfoChain) |
Sets the chain. More... | |
void | GetEntry (Long64_t entry) |
GGSTPrimaryDisInfo * | GetDisInfo (Int_t trackID=1) |
Retrieves the disappearance information for the given primary. More... | |
![]() | |
virtual | ~GGSTChainReader () |
Destructor. | |
Class for reading output of GGSPrimaryDisAction.
This class provides methods to read the information about the disappearance of primary particles as saved by GGSPrimaryDisAction.
Definition at line 26 of file GGSTPrimaryDisReader.h.
GGSTPrimaryDisInfo * GGSTPrimaryDisReader::GetDisInfo | ( | Int_t | trackID = 1 | ) |
Retrieves the disappearance information for the given primary.
trackID | The track ID of the primary particle. |
Definition at line 32 of file GGSTPrimaryDisReader.cpp.
|
virtual |
@ brief Reads the specified entry from the primary disappearance information branch.
entry | The desired entry. |
Implements GGSTChainReader.
Definition at line 26 of file GGSTPrimaryDisReader.cpp.
|
virtual |
Sets the chain.
This method sets the disappearance info chain, from which the informations will be read.
disInfoChain | The chain containing the primary disappearance information. |
Implements GGSTChainReader.
Definition at line 16 of file GGSTPrimaryDisReader.cpp.