27#ifndef G4DNAEventSet_hh
28#define G4DNAEventSet_hh 1
51 Event(
G4double time,
unsigned int key, std::unique_ptr<JumpingData>&&);
71 std::unique_ptr<Event>
const& lhs)
const;
84 using Key =
unsigned int;
86 using EventMap = std::map<Key, EventSet::iterator>;
93 std::unique_ptr<Event::JumpingData> jum);
95 void AddEvent(std::unique_ptr<Event> pEvent);
unsigned int GetKey() const
ReactionData * GetReactionData() const
std::pair< MolType, Index > JumpingData
Event(G4double time, unsigned int key, ReactionData *)
JumpingData * GetJumpingData() const
std::pair< std::unique_ptr< JumpingData >, ReactionData * > Data
EventSet::reverse_iterator rend()
EventSet::reverse_iterator rbegin()
EventSet::const_iterator begin() const
std::map< Key, EventSet::iterator > EventMap
void RemoveEventOfVoxel(const size_t &key)
void AddEvent(std::unique_ptr< Event > pEvent)
std::set< std::unique_ptr< Event >, comparatorEventSet > EventSet
EventSet::iterator begin()
void RemoveEvent(EventSet::iterator iter)
void CreateEvent(G4double time, Key index, Event::ReactionData *pReactionData)
EventSet::const_iterator end() const
G4bool operator()(std::unique_ptr< Event > const &rhs, std::unique_ptr< Event > const &lhs) const