3 /**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * All rights reserved. *
7 * Primary Authors: Oystein Djuvsland *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
18 #include "AliHLTPHOSDigit.h"
19 #include "AliHLTPHOSAltroConfig.h"
22 * Digit class for PHOS HLT
24 * @file AliHLTPHOSDigit.cxx
25 * @author Oystein Djuvsland
27 * @brief Digit class for PHOS HLT
30 // see header file for class documentation
32 // refer to README to build package
34 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
36 ClassImp(AliHLTPHOSDigit);
38 AliHLTPHOSDigit::AliHLTPHOSDigit() :
55 //See header file for documentation
58 fPreSamples = fNPresamples;
59 fTotalSamples = fNTotalSamples;
60 // fData = new Int_t[fNTotalSamples];
61 fData = new Int_t[fNTotalSamples];
65 AliHLTPHOSDigit::~AliHLTPHOSDigit()
67 //See header file for documentation
71 AliHLTPHOSDigit::SetRawData(Int_t *dataPtr)
73 // See header file for documentation
75 // for(Int_t i = 0; i < 70; i++)
77 // fData[i] = dataPtr[i];
79 for(Int_t i = 0; i < fNTotalSamples; i++)
81 fData[i] = dataPtr[i];
87 AliHLTPHOSDigit::ResetDigit()
89 // See header file for documentation