+//-*- Mode: C++ -*-
+// $Id$
+
/**************************************************************************
* This file is property of and copyright by the ALICE HLT Project *
#ifndef ALIHLTPHOSDIGITDATASTRUCT_H
#define ALIHLTPHOSDIGITDATASTRUCT_H
-#include "AliHLTPHOSBase.h"
+/**
+ * Digit struct for PHOS HLT
+ *
+ * @file AliHLTPHOSDigitDataStruct.h
+ * @author Oystein Djuvsland
+ * @date
+ * @brief Digit struct for PHOS HLT
+ */
+
+// see below for class documentation
+// or
+// refer to README to build package
+// or
+// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
+/**
+ * @struct AliHLTPHOSDigitDataStruct
+ * Digit struct for PHOS HLT
+ *
+ * @ingroup alihlt_phos
+ */
struct AliHLTPHOSDigitDataStruct
{
+ /** The x coordinate */
Int_t fX;
+
+ /** The x coordinate */
Int_t fZ;
+
+ /** The module number */
Int_t fModule;
+
+ /** The amplitude in ADC counts */
Float_t fAmplitude;
+
+ /** The time in sample count */
Float_t fTime;
+
+ /* The energy in GeV */
Float_t fEnergy;
+
+ /** The gain */
Int_t fGain;
- Int_t fData[512];
-
+ /** The crazyness */
Int_t fCrazyness;
+
+ /** The baseline */
Float_t fBaseline;
- void SetRawData(Int_t *data)
- {
- for(Int_t i = 0; i < 512; i++)
- {
- fData[i] = data[i];
- }
- }
};
#endif