51 fDataInput(&dataInput),
52 fDataSetInfoCollection(),
53 fLogger( new
MsgLogger(
"DataSetManager", kINFO) )
63fDataSetInfoCollection(),
64fLogger( 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) );
Class that contains all the data information.
Class that contains all the data information.
virtual const char * GetName() const
Returns name of object.
void SetDataSetManager(DataSetManager *dsm)
DataSetManager()
constructor
DataSetInfo * GetDataSetInfo(const TString &dsiName)
returns datasetinfo object for given name
~DataSetManager()
destructor fDataSetInfoCollection.SetOwner(); // DSMTEST --> created a segfault because the DataSetIn...
DataSet * CreateDataSet(const TString &dsiName)
Creates the singleton dataset.
DataSetInfo & AddDataSetInfo(DataSetInfo &dsi)
stores a copy of the dataset info object
Class that contains all the data information.
ostringstream derivative to redirect and format output
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
MsgLogger & Endl(MsgLogger &ml)