CFEL - ASG Software Suite
2.5.0
CASS
|
delete all root histograms that are not on the list More...
Public Member Functions | |
deleteObsoleteHistogram (const list< string > &allkeys) | |
constructor More... | |
void | operator() (TObject *obj) const |
the operator More... | |
Public Attributes | |
const list< string > & | _allkeys |
the list with all cass histogram keys More... | |
delete all root histograms that are not on the list
go through the list of objects in memory and erase it if it not on the list
Definition at line 71 of file histo_updater.cpp.
|
inline |
constructor
allkeys | all available keys on the server |
Definition at line 77 of file histo_updater.cpp.
|
inline |
the operator
if the object is a TH1 and its name is not on the allkeys list, check if the title is the same as the name of the object. If so it is most likely a cass histogram, that is not on the list anymore, so delete it.
obj | The object that potentially will be deleted |
Definition at line 89 of file histo_updater.cpp.
const list<string>& lucassview::deleteObsoleteHistogram::_allkeys |
the list with all cass histogram keys
Definition at line 105 of file histo_updater.cpp.