51 fDataInput(&dataInput),
52 fDataSetInfoCollection(),
53 fLogger( new
MsgLogger(
"DataSetManager", kINFO) )
63 fDataSetInfoCollection(),
64 fLogger( new
MsgLogger(
"DataSetManager", kINFO) )
75 if(fDatasetFactory)
delete fDatasetFactory;
86 if (!dsi)
Log() << kFATAL <<
"DataSetInfo object '" << dsiName <<
"' not found" <<
Endl;
87 if (!fDataInput )
Log() << kFATAL <<
"DataInputHandler object 'fDataInput' not found" <<
Endl;
91 return fDatasetFactory->CreateDataSet( *dsi, *fDataInput );
110 if (dsiInList!=0)
return *dsiInList;
111 fDataSetInfoCollection.Add( const_cast<DataSetInfo*>(&dsi) );
DataSetInfo * GetDataSetInfo(const TString &dsiName)
returns datasetinfo object for given name
MsgLogger & Endl(MsgLogger &ml)
DataSet * CreateDataSet(const TString &dsiName)
Creates the singleton dataset.
void SetDataSetManager(DataSetManager *dsm)
virtual const char * GetName() const
Returns name of object.
DataSetManager()
constructor
Class that contains all the data information.
Class that contains all the data information.
Class that contains all the data information.
DataSetInfo & AddDataSetInfo(DataSetInfo &dsi)
stores a copy of the dataset info object
ostringstream derivative to redirect and format output
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
~DataSetManager()
destructor fDataSetInfoCollection.SetOwner(); // DSMTEST –> created a segfault because the DataSetI...