////////////////////////////////////////////////////////////////////////////// // // // Loader for T0 digits and RecPoints inherit from AliBaseDataLoader // // T0Digits is TObject consists time flight signal from each PMTtube, // // mean time right and left array (start signal) and time differnce // // (vertex z position) // // T0 RecPoints is TObject with mean time (start signal) // // and evrtex position (cm) // ///////////////////////////////////////////////////////////////////////////// #include "AliT0Loader.h" #include "AliConfig.h" #include "AliRunLoader.h" ClassImp(AliT0Loader) /*****************************************************************************/ void AliT0Loader::InitObjectLoaders() { // use an object instead of a tree for digits and rec points // D I G I T S if (fDataLoaders->At(kDigits)) { delete fDataLoaders->Remove(fDataLoaders->At(kDigits)); } AliDataLoader* dl = new AliDataLoader(fDetectorName + ".Digits.root","T0_D", "Digits","O");//we want to have object data not tree fDataLoaders->AddAt(dl,kDigits); // 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 if (fDataLoaders->At(kRecPoints)) { delete fDataLoaders->Remove(fDataLoaders->At(kRecPoints)); } dl = new AliDataLoader(fDetectorName + ".RecPoints.root","T0_V", "Reconstructed Points","O");//we want to have object data not tree fDataLoaders->AddAt(dl,kRecPoints); }