]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSRcuTreeMaker.h
New component for writing calibration data to fxs (Oystein)
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRcuTreeMaker.h
CommitLineData
f3ab4848 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"
23class AliHLTPHOSRcuDigitContainerDataStruct;
24
25class TClonesArray;
26//class TTree;
27
28class AliHLTPHOSRcuTreeMaker : public AliHLTPHOSBase
29{
30public:
31
32 AliHLTPHOSRcuTreeMaker();
33 ~AliHLTPHOSRcuTreeMaker();
34
35 Int_t MakeDigitArray(AliHLTPHOSRcuDigitContainerDataStruct* digitContainer, Int_t nDigits);
36
37 void FillDigitTree();
38
39 void ResetDigitTree() { fDigitTreePtr->Reset(); }
40
41 void SetDigitTree(TTree* tree);
42
43 TTree* GetDigitTree() { return fDigitTreePtr; }
44
45private:
46 TClonesArray *fDigitArrayPtr;
47 TTree* fDigitTreePtr;
48
49 ClassDef(AliHLTPHOSRcuTreeMaker, 1);
50
51};
52
53
54#endif