39 std::unique_ptr<JumpingData>&& jumping)
43 std::move(jumping), nullptr))
51 <<
" key : " <<
fKey <<
" action : ";
52 if(std::get<0>(
fData) ==
nullptr)
54 G4cout << std::get<1>(
fData)->GetReactant1()->GetName() <<
" + "
55 << std::get<1>(
fData)->GetReactant2()->GetName() <<
" -> "
56 << std::get<1>(
fData)->GetProducts()->size() <<
G4endl;
60 G4cout << std::get<0>(
fData)->first->GetName() <<
" jumping to "
66 std::unique_ptr<Event>
const& lhs)
const
68 return rhs->GetTime() < lhs->GetTime();
78 auto pEvent = std::make_unique<Event>(time, key, pReactionData);
83 std::unique_ptr<Event::JumpingData> jum)
85 auto pEvent = std::make_unique<Event>(time, key, std::move(jum));
101 auto key = (*iter)->GetKey();
108 auto key = pEvent->GetKey();
110 auto it =
fEventSet.emplace(std::move(pEvent));
G4GLOB_DLL std::ostream G4cout
std::pair< MolType, Index > JumpingData
Event(G4double time, unsigned int key, ReactionData *)
void RemoveEventOfVoxel(const size_t &key)
void AddEvent(std::unique_ptr< Event > pEvent)
void RemoveEvent(EventSet::iterator iter)
void CreateEvent(G4double time, Key index, Event::ReactionData *pReactionData)
G4bool operator()(std::unique_ptr< Event > const &rhs, std::unique_ptr< Event > const &lhs) const