|
GGS(GenericGEANT4Simulation)Software
2.6.0
|
Class for reading output of GGSMCTruthAction. More...
#include <GGSTMCTruthReader.h>


Public Member Functions | |
| GGSTMCTruthReader () | |
| Constructor. | |
| ~GGSTMCTruthReader () | |
| Destructor. | |
| bool | SetChain (TChain *mcTruthChain) |
| Sets the chain. More... | |
| void | GetEntry (Long64_t entry) |
| GGSTParticle * | GetPrimaryParticle (UInt_t particleNumber) |
| Returns a primary particle. More... | |
| UInt_t | GetNPrimaries () |
| Returns the number of primaries in current event. More... | |
| UInt_t | GetNDiscarded () |
| Returns the number of discarded events before the current one. More... | |
Public Member Functions inherited from GGSTChainReader | |
| virtual | ~GGSTChainReader () |
| Destructor. | |
Class for reading output of GGSMCTruthAction.
This class provides methods to read the information about MC truth as saved by GGSMCTruthAction.
Definition at line 25 of file GGSTMCTruthReader.h.
|
virtual |
@ brief Reads the specified entry from the MC truth branch.
| entry | The desired entry. |
Implements GGSTChainReader.
Definition at line 39 of file GGSTMCTruthReader.cpp.
|
inline |
Returns the number of discarded events before the current one.
Definition at line 77 of file GGSTMCTruthReader.h.
|
inline |
Returns the number of primaries in current event.
Definition at line 65 of file GGSTMCTruthReader.h.
|
inline |
Returns a primary particle.
| particleNumber | The particle to retrieve. |
Definition at line 54 of file GGSTMCTruthReader.h.
|
virtual |
Sets the chain.
This method sets the MC truth chain, from which the informations will be read.
| mcTruthChain | The chain containing the MC truth. |
Implements GGSTChainReader.
Definition at line 27 of file GGSTMCTruthReader.cpp.
1.8.5