27#ifndef G4DNAEventSet_hh
28#define G4DNAEventSet_hh 1
68 std::unique_ptr<Event>
const& lhs)
const;
83 using EventMap = std::unordered_map<Index, EventSet::iterator,G4VDNAMesh::hashFunc>;
90 std::unique_ptr<Event::JumpingData> jum);
92 void AddEvent(std::unique_ptr<Event> pEvent);
100 EventSet::iterator
end() {
return fEventSet.end(); }
101 EventSet::iterator
begin() {
return fEventSet.begin(); }
103 EventSet::reverse_iterator
rend() {
return fEventSet.rend(); }
104 EventSet::reverse_iterator
rbegin() {
return fEventSet.rbegin(); }
105 EventSet::const_iterator
end()
const {
return fEventSet.end(); }
106 EventSet::const_iterator
begin()
const {
return fEventSet.begin(); }
107 size_t size() {
return fEventSet.size(); }
ReactionData * GetReactionData() const
Event(const G4double &time, const Index &index, ReactionData *)
std::pair< MolType, Index > JumpingData
JumpingData * GetJumpingData() const
std::pair< std::unique_ptr< JumpingData >, ReactionData * > Data
EventSet::reverse_iterator rend()
EventSet::reverse_iterator rbegin()
EventSet::const_iterator begin() const
void RemoveEventOfVoxel(const Index &key)
std::unordered_map< Index, EventSet::iterator, G4VDNAMesh::hashFunc > EventMap
void AddEvent(std::unique_ptr< Event > pEvent)
void CreateEvent(const G4double &time, const Index &index, Event::ReactionData *pReactionData)
std::set< std::unique_ptr< Event >, comparatorEventSet > EventSet
EventSet::iterator begin()
void RemoveEvent(EventSet::iterator iter)
EventSet::const_iterator end() const
G4bool operator()(std::unique_ptr< Event > const &rhs, std::unique_ptr< Event > const &lhs) const