#include <G4DNAEventSet.hh>
Definition at line 37 of file G4DNAEventSet.hh.
◆ Data
◆ Index
◆ JumpingData
◆ MolType
◆ ReactionData
◆ Event() [1/2]
Definition at line 31 of file G4DNAEventSet.cc.
32 : fTimeStep(time)
33 , fIndex(index)
34 , fData(std::pair<std::unique_ptr<JumpingData>,
ReactionData*>(
nullptr,
35 pReactionData))
36{}
const G4DNAMolecularReactionData ReactionData
◆ Event() [2/2]
Definition at line 38 of file G4DNAEventSet.cc.
40 : fTimeStep(time)
41 , fIndex(index)
42 , fData(std::pair<std::unique_ptr<JumpingData>,
ReactionData*>(
43 std::move(jumping), nullptr))
44{}
◆ ~Event()
◆ GetIndex()
Index Event::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetJumpingData()
◆ GetReactionData()
◆ GetTime()
◆ PrintEvent()
void Event::PrintEvent |
( |
| ) |
const |
Definition at line 48 of file G4DNAEventSet.cc.
49{
51 << " index : " << fIndex << " action : ";
52 if(std::get<0>(fData) == nullptr)
53 {
54 G4cout << std::get<1>(fData)->GetReactant1()->GetName() << " + "
55 << std::get<1>(fData)->GetReactant2()->GetName() << " -> "
56 << std::get<1>(fData)->GetProducts()->size() <<
G4endl;
57 }
58 else
59 {
60 G4cout << std::get<0>(fData)->first->GetName() << " jumping to "
61 << std::get<0>(fData)->second <<
G4endl;
62 }
63}
G4GLOB_DLL std::ostream G4cout
The documentation for this class was generated from the following files: