33 #ifndef G4ITREACTIONINFO_HH_
34 #define G4ITREACTIONINFO_HH_
45 #ifndef compTrackPerID__
46 #define compTrackPerID__
102 G4ITReactionList::iterator it)
136 G4ITReactionList::iterator it =
138 reaction->AddIterator(this->shared_from_this(), it);
151 G4ITReactionList::iterator next;
152 for(G4ITReactionList::iterator it =
fReactions.begin() ;
210 reaction->AddIterator(it);
216 std::vector<G4Track*>::iterator it = reactants->begin();
217 for(;it != reactants->end() ; ++it)
229 backItUp->RemoveMe();
241 reaction->RemoveMe();
253 for(std::list<G4ITReactionPerTrackMap::iterator>::iterator it =
254 reactionPerTrack->GetListOfIterators().begin() ;
255 it != reactionPerTrack->GetListOfIterators().end() ;
260 reactionPerTrack->GetListOfIterators().clear();
261 reactionPerTrack->GetReactionList().clear();
270 it->second->RemoveMe();
296 std::pair< G4ITReactionPerTrackMap::iterator,bool>
pos =
298 reactionPerTrack->AddIterator(pos.first);
302 reactionPerTrack = it->second;
305 reactionPerTrack->AddReaction(reaction);
G4ITReactionPerTrackMap fReactionPerTrack
std::size_t GetHash() const
virtual ~G4ITReactionSet()
#define G4enable_shared_from_this
bool operator()(G4ITReactionPtr rhs, G4ITReactionPtr lhs) const
G4ITReactionList & GetReactionList()
std::list< G4ITReactionPerTrackMap::iterator > fReactionSetIt
void RemoveReactionSet(G4Track *track)
void AddReaction(G4Track *track, G4ITReactionPtr reaction)
G4shared_ptr< std::vector< G4Track * > > G4TrackVectorHandle
std::multiset< G4ITReactionPtr, compReactionPerTime > G4ITReactionPerTime
void AddReactions(double time, G4Track *trackA, G4TrackVectorHandle reactants)
G4shared_ptr< G4ITReaction > G4ITReactionPtr
static G4ITReactionPerTrackPtr New()
void AddReaction(double time, G4Track *trackA, G4Track *trackB)
std::map< G4Track *, G4ITReactionPerTrackPtr, compTrackPerID > G4ITReactionPerTrackMap
G4ITReactionPerTrackMap & GetReactionMap()
static G4ITReactionSet * Instance()
void SelectThisReaction(G4ITReactionPtr reaction)
void AddReaction(G4ITReactionPtr reaction)
std::list< G4ITReactionPerTrackMap::iterator > & GetListOfIterators()
std::list< G4ITReactionPtr > G4ITReactionList
void AddIterator(G4ITReactionPerTimeIt it)
G4ITReactionPerTime & GetReactionsPerTime()
G4ITReactionPerTime fReactionPerTime
G4Track * GetReactant(G4Track *trackA)
std::pair< G4Track *, G4Track * > GetReactants() const
void RemoveReactionPerTrack(G4ITReactionPerTrackPtr reactionPerTrack)
static G4ThreadLocal G4ITReactionSet * fpInstance
static G4ITReactionPtr New(double time, G4Track *trackA, G4Track *trackB)
G4shared_ptr< G4ITReactionPerTrack > G4ITReactionPerTrackPtr
std::pair< G4Track *, G4Track * > fReactants
G4ITReactionList fReactions
void AddIterator(G4ITReactionPerTrackPtr reactionPerTrack, G4ITReactionList::iterator it)
bool RemoveThisReaction(G4ITReactionList::iterator it)
void AddIterator(G4ITReactionPerTrackMap::iterator it)
std::list< std::pair< G4ITReactionPerTrackPtr, G4ITReactionList::iterator > > G4ReactionPerTrackIt
G4ITReactionPerTimeIt * fReactionPerTimeIt
G4ReactionPerTrackIt fReactionPerTrack
std::multiset< G4ITReactionPtr, compReactionPerTime >::iterator G4ITReactionPerTimeIt
bool operator()(G4Track *rhs, G4Track *lhs) const
static const G4double pos
virtual ~G4ITReactionPerTrack()