1 //////////////////////////////////////////////////////////////////////////////
3 // Loader for T0 digits and RecPoints inherit from AliBaseDataLoader //
4 // T0Digits is TObject consists time flight signal from each PMTtube, //
5 // mean time right and left array (start signal) and time differnce //
6 // (vertex z position) //
7 // T0 RecPoints is TObject with mean time (start signal) //
8 // and evrtex position (cm) //
9 /////////////////////////////////////////////////////////////////////////////
10 #include "AliT0Loader.h"
11 #include "AliConfig.h"
12 #include "AliRunLoader.h"
17 /*****************************************************************************/
18 void AliT0Loader::InitObjectLoaders()
20 // use an object instead of a tree for digits and rec points
23 if (fDataLoaders->At(kDigits)) {
24 delete fDataLoaders->Remove(fDataLoaders->At(kDigits));
26 AliDataLoader* dl = new AliDataLoader(fDetectorName + ".Digits.root","T0_D", "Digits","O");//we want to have object data not tree
27 fDataLoaders->AddAt(dl,kDigits);
29 // R E C O N S T R U C T E D P O I N T S, here: V E R T E X
30 if (fDataLoaders->At(kRecPoints)) {
31 delete fDataLoaders->Remove(fDataLoaders->At(kRecPoints));
33 dl = new AliDataLoader(fDetectorName + ".RecPoints.root","T0_V", "Reconstructed Points","O");//we want to have object data not tree
34 fDataLoaders->AddAt(dl,kRecPoints);