X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FPHOS%2FAliHLTPHOSRecPointDataStruct.h;h=7fcf9e29250ae64262094421141a4dcee0e885c8;hb=483895def21a2c16f7e08d5ae7e0c76f124f1188;hp=7cbe32d3a67307e0c2e5b2869614ea2d8a227272;hpb=6e709a0db099597d2b0bfc43932c945c576e46b1;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/PHOS/AliHLTPHOSRecPointDataStruct.h b/HLT/PHOS/AliHLTPHOSRecPointDataStruct.h index 7cbe32d3a67..7fcf9e29250 100644 --- a/HLT/PHOS/AliHLTPHOSRecPointDataStruct.h +++ b/HLT/PHOS/AliHLTPHOSRecPointDataStruct.h @@ -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 * + * 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