]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0Loader.cxx
set LookUp table
[u/mrichter/AliRoot.git] / T0 / AliT0Loader.cxx
CommitLineData
dc7ca31d 1//////////////////////////////////////////////////////////////////////////////
2// //
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"
13
14
15ClassImp(AliT0Loader)
16
17/*****************************************************************************/
18void AliT0Loader::InitObjectLoaders()
19{
20// use an object instead of a tree for digits and rec points
21
22 // D I G I T S
23 if (fDataLoaders->At(kDigits)) {
24 delete fDataLoaders->Remove(fDataLoaders->At(kDigits));
25 }
26 AliDataLoader* dl = new AliDataLoader(fDetectorName + ".Digits.root","T0_D", "Digits","O");//we want to have object data not tree
dc7ca31d 27 fDataLoaders->AddAt(dl,kDigits);
28
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));
32 }
33 dl = new AliDataLoader(fDetectorName + ".RecPoints.root","T0_V", "Reconstructed Points","O");//we want to have object data not tree
dc7ca31d 34 fDataLoaders->AddAt(dl,kRecPoints);
35}