43 double time1 = rhs->GetTime();
44 double time2 = lhs->GetTime();
47 return rhs->GetHash() < lhs->GetHash();
49 return rhs->GetTime() < lhs->GetTime();
58 seed ^= v + 0x9e3779b9 + (seed << 6) + (seed >> 2);
69 G4ITReaction::G4ITReaction(
double time,
G4Track* trackA,
G4Track* trackB) :
72 fReactants(trackA,trackB)
94 it->first->RemoveThisReaction(it->second);
std::size_t GetHash() const
#define G4enable_shared_from_this
bool operator()(G4ITReactionPtr rhs, G4ITReactionPtr lhs) const
G4shared_ptr< G4ITReaction > G4ITReactionPtr
static G4ITReactionSet * Instance()
G4ITReactionPerTime & GetReactionsPerTime()
void hash_combine(std::size_t &seed, const T &v)
static unsigned long FASTCALL hash(XML_Parser parser, KEY s)
void RemoveReactionPerTrack(G4ITReactionPerTrackPtr reactionPerTrack)
static G4ThreadLocal G4ITReactionSet * fpInstance
std::pair< G4Track *, G4Track * > fReactants
G4ITReactionList fReactions
bool RemoveThisReaction(G4ITReactionList::iterator it)
G4ITReactionPerTimeIt * fReactionPerTimeIt
G4ReactionPerTrackIt fReactionPerTrack