]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSRecPointDataStruct.h
- fixing compilation errors/warnings
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRecPointDataStruct.h
index 7cbe32d3a67307e0c2e5b2869614ea2d8a227272..7fcf9e29250ae64262094421141a4dcee0e885c8 100644 (file)
@@ -1,48 +1,91 @@
-#ifndef ALIHLTPHOSRECPOINTDATASTRUCT_H
-#define ALIHLTPHOSRECPOINTDATASTRUCT_H
+//-*- Mode: C++ -*-
+// $Id$
+
 
 /**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * This file is property of and copyright by the ALICE HLT Project        * 
+ * All rights reserved.                                                   *
  *                                                                        *
- * Authors: Ã˜ystein Djuvsland <oysteind@ift.uib.no>                       *
+ * Primary Authors: Oystein Djuvsland                                                      *
  *                                                                        *
  * Permission to use, copy, modify and distribute this software and its   *
  * documentation strictly for non-commercial purposes is hereby granted   *
  * without fee, provided that the above copyright notice appears in all   *
  * copies and that both the copyright notice and this permission notice   *
  * appear in the supporting documentation. The authors make no claims     *
- * about the suitability of this software for any purpose. It is          *
+ * about the suitability of this software for any purpose. It is          * 
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+#ifndef ALIHLTPHOSRECPOINTDATASTRUCT_H
+#define ALIHLTPHOSRECPOINTDATASTRUCT_H
+
+/**
+ * Rec point data struct for PHOS HLT
+ *
+ * @file   AliHLTPHOSRecPointDataStruct.h
+ * @author Oystein Djuvsland
+ * @date
+ * @brief  Rec point data 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
+
+#include "AliHLTPHOSDigitDataStruct.h"
+
+/**
+ * @struct AliHLTPHOSRecPointDataStruct
+ * Rec point data struct for PHOS HLT
+ *
+ * @ingroup alihlt_phos
+ */
 struct AliHLTPHOSRecPointDataStruct
 {
-  AliHLTUInt8_t fPHOSModule;
-  AliHLTUInt8_t fMultiplicity;
-  AliHLTUInt8_t fCoordinatesPtr[2]; 
-  Float_t fX;
-  Float_t fZ;
-  Float_t fM2x;
-  Float_t fM2z;
-  Float_t fM3x;
-  Float_t fM4z;
-  Float_t fPhixe;
-  Float_t fDistanceToBadChannel;
-  Float_t* fEnergiesListPtr;
-
-  void New()
-  {
-    fEnergiesListPtr = new Float_t[fMultiplicity];
-  }
-
-  void Del()
-  {
-    if(fEnergiesListPtr)
-      {
-       delete [] fEnergiesListPtr;
-       fEnergiesListPtr = 0;
-      }
-  }
+
+  //AliHLTUInt8_t fMultiplicity; 
+  /** Multiplicity of digits in the rec point */
+  UInt_t fMultiplicity;                       //COMMENT
+
+  /** x coordinate */
+  Float_t fX;                                 //COMMENT
+
+  /** z coordinate */ 
+  Float_t fZ;                                 //COMMENT
+
+  /** Module number */
+  Int_t fModule;                              //COMMENT
+
+  /** The total energy of the rec point */
+  Float_t fAmp;                               //COMMENT
+
+  /** Second moment along x axis */
+  Float_t fM2x;                               //COMMENT
+
+  /** Second moment along z axis */ 
+  Float_t fM2z;                               //COMMENT
+
+  /** Third moment along x axis */
+  Float_t fM3x;                               //COMMENT
+
+  /** Fourth moment along z axis */ 
+  Float_t fM4z;                               //COMMENT
+
+  /** Angle between cog vector and eigen vector */
+  Float_t fPhixe;                             //COMMENT
+
+  /** Distance to nearest bad channel */
+  Float_t fDistanceToBadChannel;              //COMMENT
+
+  /** 
+   * Digit offset for the first digit in the 
+   * rec point.
+   */
+  Int_t fStartDigitOffset;                    //COMMENT
+
 };
 
 #endif