10 GenericFile(TMapFile* file) : mMapFile(file), mHisFile(0) {}
11 GenericFile(TFile* file) : mMapFile(0), mHisFile(file) { }
13 : mMapFile(file->mMapFile), mHisFile(file->mHisFile) {}
15 if (mMapFile )
return mMapFile;
16 if (mHisFile )
return mHisFile;
19 TMapFile* mapFile() {
return mMapFile; }
20 TFile* hisFile() {
return mHisFile; }
21 TObject* Get(
const char* name, TObject* o=0) {
23 return mMapFile->Get(name,o);
25 if ( mHisFile )
return mHisFile->Get(name);