]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/BASE/util/AliHLTCaloDigitDataStruct.h
Major update required to handle old and new AliHLTEventDDL structures within HLT...
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTCaloDigitDataStruct.h
1 //-*- Mode: C++ -*-
2 // $Id: AliHLTCaloDigitDataStruct.h 35319 2009-10-07 15:27:09Z odjuvsla $
3
4
5 /**************************************************************************
6  * This file is property of and copyright by the ALICE HLT Project        *
7  * All rights reserved.                                                   *
8  *                                                                        *
9  * Primary Authors: Oystein Djuvsland                                     *
10  *                                                                        *
11  * Permission to use, copy, modify and distribute this software and its   *
12  * documentation strictly for non-commercial purposes is hereby granted   *
13  * without fee, provided that the above copyright notice appears in all   *
14  * copies and that both the copyright notice and this permission notice   *
15  * appear in the supporting documentation. The authors make no claims     *
16  * about the suitability of this software for any purpose. It is          *
17  * provided "as is" without express or implied warranty.                  *
18  **************************************************************************/
19
20 #ifndef ALIHLTCALODIGITDATASTRUCT_H
21 #define ALIHLTCALODIGITDATASTRUCT_H
22
23 #include "Rtypes.h"
24
25 /**
26  * Digit struct for Calo HLT
27  *
28  * @file   AliHLTCaloDigitDataStruct.h
29  * @author Oystein Djuvsland
30  * @date
31  * @brief  Digit struct for calo HLT
32  */
33
34 // see below for class documentation
35 // or
36 // refer to README to build package
37 // or
38 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
39
40 /**
41  * @struct AliHLTCaloDigitDataStruct
42  * Digit struct for Calo HLT
43  *
44  * @ingroup alihlt_calo
45  */
46 struct AliHLTCaloDigitDataStruct
47 {
48
49   /** Unique ID (in the module) for this digit */
50   UInt_t fID;
51   
52   /** The x coordinate */
53   UShort_t fX;
54
55   /** The z coordinate */
56   UShort_t fZ;
57
58   /** The module number */
59   Int_t fModule;
60
61   /** The amplitude in ADC counts */
62   Float_t fAmplitude;
63
64   /** The time in sample count */ 
65   Float_t fTime;
66
67   /** The energy in GeV */
68   Float_t fEnergy;
69
70   /** The gain */
71   Int_t fGain;
72   
73   /** The crazyness */
74   Int_t fCrazyness; 
75
76   /** The baseline */
77   Float_t fBaseline;
78
79   /** Energy from overflow in channel? */
80   Bool_t fOverflow;
81
82   /** ID of associated  cluster (-1 for no cluster) */
83   Short_t fAssociatedCluster;
84   
85 };
86
87 #endif
88