2 /**************************************************************************
3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
6 * Primary Authors: Oystein Djuvsland *
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 **************************************************************************/
18 #ifndef ALIHLTPHOSRCUTREEMAKER_H
19 #define ALIHLTPHOSRCUTREEMAKER_H
21 #include "AliHLTPHOSBase.h"
23 class AliHLTPHOSRcuDigitContainerDataStruct;
28 class AliHLTPHOSRcuTreeMaker : public AliHLTPHOSBase
32 AliHLTPHOSRcuTreeMaker();
33 ~AliHLTPHOSRcuTreeMaker();
35 Int_t MakeDigitArray(AliHLTPHOSRcuDigitContainerDataStruct* digitContainer, Int_t nDigits);
39 void ResetDigitTree() { fDigitTreePtr->Reset(); }
41 void SetDigitTree(TTree* tree);
43 TTree* GetDigitTree() { return fDigitTreePtr; }
46 TClonesArray *fDigitArrayPtr;
49 ClassDef(AliHLTPHOSRcuTreeMaker, 1);