]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRcuTreeMaker.h
Coding conventions and minor fixes
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRcuTreeMaker.h
1  
2  /**************************************************************************
3  * This file is property of and copyright by the ALICE HLT Project        * 
4  * All rights reserved.                                                   *
5  *                                                                        *
6  * Primary Authors: Oystein Djuvsland                                     *
7  *                                                                        *
8  * Permission to use, copy, modify and distribute this software and its   *
9  * documentation strictly for non-commercial purposes is hereby granted   *
10  * without fee, provided that the above copyright notice appears in all   *
11  * copies and that both the copyright notice and this permission notice   *
12  * appear in the supporting documentation. The authors make no claims     *
13  * about the suitability of this software for any purpose. It is          * 
14  * provided "as is" without express or implied warranty.                  *
15  **************************************************************************/
16
17
18 #ifndef ALIHLTPHOSRCUTREEMAKER_H
19 #define ALIHLTPHOSRCUTREEMAKER_H
20
21 #include "AliHLTPHOSBase.h"
22 #include "TTree.h"
23 class AliHLTPHOSRcuDigitContainerDataStruct;
24
25 class TClonesArray;
26 //class TTree;
27
28
29
30 class AliHLTPHOSRcuTreeMaker : public AliHLTPHOSBase
31 {
32 public:
33
34   AliHLTPHOSRcuTreeMaker();
35   ~AliHLTPHOSRcuTreeMaker();
36
37   Int_t MakeDigitArray(AliHLTPHOSRcuDigitContainerDataStruct* digitContainer, Int_t nDigits);
38   void FUCK();
39   void FillDigitTree();
40   
41   void ResetDigitTree() { fDigitTreePtr->Reset(); }
42   
43   void SetDigitTree(TTree* tree);
44   
45   TTree* GetDigitTree() { return fDigitTreePtr; }
46   
47 private:
48   TClonesArray *fDigitArrayPtr;
49   TTree* fDigitTreePtr;
50  
51   ClassDef(AliHLTPHOSRcuTreeMaker, 1);
52
53 };
54
55
56 #endif