]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSDigitDataStruct.h
Script to make defauilt reco param
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSDigitDataStruct.h
index 82c0265515e23e373583c7aae9e41dcaaebde084..6531fc6f55721f9ecfccec0d4e5098dd79e2f3ed 100644 (file)
@@ -1,3 +1,6 @@
+//-*- 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