]> git.uio.no Git - u/mrichter/AliRoot.git/blob - T0/AliT0Loader.h
New generator for the krypton runs of TPC (Marek)
[u/mrichter/AliRoot.git] / T0 / AliT0Loader.h
1 #ifndef ALIT0LOADER_H
2 #define ALIT0LOADER_H
3
4 #include "AliLoader.h"
5 #include "AliObjectLoader.h"
6
7 class AliT0digit;
8
9
10 class AliT0Loader: public AliLoader {
11  public:
12    AliT0Loader() : AliLoader() {};
13    AliT0Loader(const Char_t *detname,const Char_t *eventfoldername) : 
14      AliLoader(detname, eventfoldername) {InitObjectLoaders();};
15    AliT0Loader(const Char_t *detname,TFolder* eventfolder) :
16      AliLoader(detname, eventfolder) {InitObjectLoaders();};
17
18    // Digits
19    AliT0digit*  Digits(){ return (AliT0digit*) GetDigitsDataLoader()->GetBaseDataLoader()->Get();} // returns a pointer to the tree of  RawClusters
20
21  private:
22    void InitObjectLoaders();
23
24    ClassDef(AliT0Loader,1)
25 };
26
27 typedef AliT0Loader AliSTARTLoader; // for backward compatibility
28  
29 #endif
30
31
32