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;
127 #include "G4AccumulableManager.icc"
G4bool CheckName(const G4String &name, const G4String &where) const
static G4ThreadLocal G4AccumulableManager * fgInstance
virtual ~G4AccumulableManager()
G4Accumulable< T > * GetAccumulable(const G4String &name, G4bool warn=true) const
std::map< G4String, G4VAccumulable * > fMap
G4String GenerateName() const
const XML_Char int const XML_Char * value
G4bool RegisterAccumulable(G4Accumulable< T > &accumulable)
G4AccumulableManager(G4bool isMaster)
static G4AccumulableManager * Instance()
static G4AccumulableManager * fgMasterInstance
G4int GetNofAccumulables() const
std::vector< G4VAccumulable * > fVector
std::vector< G4VAccumulable * >::iterator Begin()
G4Accumulable< T > * CreateAccumulable(const G4String &name, T value, G4MergeMode mergeMode=G4MergeMode::kAddition)
std::vector< G4VAccumulable * >::const_iterator BeginConst() const
std::vector< G4VAccumulable * >::const_iterator EndConst() const
std::vector< G4VAccumulable * >::iterator End()
std::vector< G4VAccumulable * > fAccumulablesToDelete