26 #ifndef G4MoleculeCounter_h
27 #define G4MoleculeCounter_h
57 #if __cplusplus > 199711L && !defined __clang__
virtual void AddAMoleculeAtTime(const G4Molecule &, G4double)
CounterMapType fCounterMap
static G4MoleculeCounter * GetMoleculeCounter()
std::map< const G4MoleculeDefinition *, G4bool > fDontRegister
virtual void RegisterAll()
RecordedMolecules GetRecordedMolecules()
virtual void DontRegister(const G4MoleculeDefinition *)
virtual ~G4MoleculeCounter()
void Use(G4bool flag=true)
std::auto_ptr< std::vector< G4Molecule > > RecordedMolecules
bool operator()(const double &a, const double &b) const
virtual void ResetCounter()
static G4ThreadLocal double fPrecision
std::map< G4Molecule, NbMoleculeAgainstTime > CounterMapType
static G4ThreadLocal G4MoleculeCounter * fpInstance
std::map< G4double, G4int, compDoubleWithPrecision > NbMoleculeAgainstTime
Class Description The dynamic molecule holds all the data that change for a molecule It has a pointer...
virtual void RemoveAMoleculeAtTime(const G4Molecule &, G4double)
const NbMoleculeAgainstTime & GetNbMoleculeAgainstTime(const G4Molecule &molecule)
void SetTimeSlice(double)
static void DeleteInstance()