First page Back Continue Last page Overview Graphics
Data Cash
Data objects in STAR frame work are kept in Data Cash. Methods:
- StMaker::AddData(TDataSet *ptr) adds produced object into Data Cash;
- TDataSet *ptr = StMaker::GetDataSet(name); requests object from Cash by name;
Data Cash in STAR is structured and based on Maker Tree. Search by name is not arbitrary. The strategy is:
Search data from sub-makers. If not:
Search data from the same level makers, already processed.
Search from upper processed makers;
Etc…
This allows to resolve name clashes. Maker gets data from the nearest maker sub-tree. It allows to organize the different streams of data with the same name. Makers do not need to account it in code.
Notes: