add memory handling for DKS/GPU. No fitting possible, yet.
This commit is contained in:
@ -69,6 +69,8 @@ PMsrHandler::PMsrHandler(const Char_t *fileName, PStartupOptions *startupOptions
|
||||
|
||||
fFuncHandler = 0;
|
||||
|
||||
fNoOfMaps = -1;
|
||||
|
||||
// check if the file name given is a path-file-name, and if yes, split it into path and file name.
|
||||
if (fFileName.Contains("/")) {
|
||||
Int_t idx = -1;
|
||||
@ -5664,6 +5666,17 @@ Bool_t PMsrHandler::CheckMaps()
|
||||
}
|
||||
}
|
||||
|
||||
if (result == true) {
|
||||
PIntVector *map = fRuns[0].GetMap();
|
||||
fNoOfMaps = 0;
|
||||
for (UInt_t i=0; i<map->size(); i++)
|
||||
if (map->at(i) != 0)
|
||||
fNoOfMaps++;
|
||||
if (fNoOfMaps == 0)
|
||||
fNoOfMaps = -1;
|
||||
}
|
||||
cout << "debug> fNoOfMaps=" << fNoOfMaps << endl;
|
||||
|
||||
// clean up
|
||||
mapVec.clear();
|
||||
mapBlock.clear();
|
||||
|
Reference in New Issue
Block a user