fContainer(0x0)
{
//
- // default constructor
+ // named constructor
//
+ AliInfo("Deprecated, will be removed soon !!");
}
//____________________________________________________________________
//
// main constructor
//
+ AliInfo("Deprecated, will be removed soon !!\nUse AliCFDataGrid(name,title,container,step) instead");
+}
+
+//____________________________________________________________________
+AliCFDataGrid::AliCFDataGrid(const Char_t* name, const Char_t* title, const AliCFContainer &c, Int_t step) :
+ AliCFGridSparse(name,title),
+ fSelData(step),
+ fContainer(&c)
+{
+ //
+ // main constructor
+ // assign directly the selection step
+ //
+
+ //simply clones the container's data at specified step
+ fData = (THnSparse*) fContainer->GetGrid(fSelData)->GetGrid()->Clone();
+ SumW2();
+ AliInfo(Form("retrieving measured data from Container %s at selection step %i.",fContainer->GetName(),fSelData));
}
//____________________________________________________________________
//
// Deposit observed data over the grid
//
+ AliInfo("Deprecated, will be removed soon !!\nPlease specify selection step in constructor.");
fSelData = istep ;
//simply clones the container's data at specified step