1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
5 * Primary Authors: Oystein Djuvsland *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 #include "AliHLTPHOSDigit.h"
17 #include "AliHLTPHOSAltroConfig.h"
20 * Digit class for PHOS HLT
22 * @file AliHLTPHOSDigit.cxx
23 * @author Oystein Djuvsland
25 * @brief Digit class for PHOS HLT
28 // see header file for class documentation
30 // refer to README to build package
32 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
34 ClassImp(AliHLTPHOSDigit);
36 AliHLTPHOSDigit::AliHLTPHOSDigit() :
50 //See header file for documentation
53 fPreSamples = fNPresamples;
54 fTotalSamples = fNTotalSamples;
55 // fData = new Int_t[fNTotalSamples];
56 fData = new Int_t[fNTotalSamples];
60 AliHLTPHOSDigit::~AliHLTPHOSDigit()
62 //See header file for documentation
66 AliHLTPHOSDigit::SetRawData(Int_t *dataPtr)
68 // See header file for documentation
70 // for(Int_t i = 0; i < 70; i++)
72 // fData[i] = dataPtr[i];
74 for(Int_t i = 0; i < fNTotalSamples; i++)
76 fData[i] = dataPtr[i];
82 AliHLTPHOSDigit::ResetDigit()
84 // See header file for documentation