32 #ifndef G4AccumulableManager_h
33 #define G4AccumulableManager_h 1
92 std::vector<G4VAccumulable*>::iterator
Begin();
93 std::vector<G4VAccumulable*>::iterator
End();
94 std::vector<G4VAccumulable*>::const_iterator
BeginConst()
const;
95 std::vector<G4VAccumulable*>::const_iterator
EndConst()
const;
111 template <
typename T>
123 std::map<G4String, G4VAccumulable*>
fMap;
std::vector< G4VAccumulable * >::const_iterator EndConst() const
static G4ThreadLocal G4AccumulableManager * fgInstance
std::map< G4String, G4VAccumulable * > fMap
std::vector< G4VAccumulable * >::iterator Begin()
G4Accumulable< T > * GetAccumulable(const G4String &name, G4bool warn=true) const
const char * name(G4int ptype)
static G4AccumulableManager * Instance()
G4bool CheckName(const G4String &name, const G4String &where) const
G4int GetNofAccumulables() const
std::vector< G4VAccumulable * > fAccumulablesToDelete
G4bool RegisterAccumulable(G4Accumulable< T > &accumulable)
virtual ~G4AccumulableManager()
G4AccumulableManager(G4bool isMaster)
std::vector< G4VAccumulable * >::iterator End()
G4Accumulable< T > * CreateAccumulable(const G4String &name, T value, G4MergeMode mergeMode=G4MergeMode::kAddition)
std::vector< G4VAccumulable * >::const_iterator BeginConst() const
G4String GenerateName() const
std::vector< G4VAccumulable * > fVector
static G4AccumulableManager * fgMasterInstance