ROOT logo
// $Id$
// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

/**************************************************************************
 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
 * full copyright notice.                                                 *
 **************************************************************************/

#include <Rtypes.h>
#include "TEveElement.h"
#include "TPolyMarker3D.h"
#include "AliPID.h"

// --------------------------------------------------------------------
// --                             ITS                                --
// --------------------------------------------------------------------

// --------------------------------------------------------------------
struct AliHLTITSSpacePointData {
  Float_t fY;         // Y coordinate in local coordinates  GetY()
  Float_t fZ;         // Z coordinate in local coordinates  GetZ()
  Float_t fSigmaY2;   // error  of the clusters             GetSigmaY2()
  Float_t fSigmaZ2;   // error  of the clusters             GetSigmaZ2()
  Float_t fSigmaYZ;   // error  of the clusters             GetSigmaYZ()
  Float_t fQ;         // Q of cluster (in ADC counts)       GetQ()
  Int_t fNy;          //number of digits in Y direction     GetNy()
  Int_t fNz;          //number of digits in Z direction     GetNz()
  Int_t fLayer;       // layer number                       GetLayer()
  Int_t fTracks[3];   // MC label                           GetLabel(i)
  Int_t fIndex;       // Detector Index                     GetDetectorIndex()
};

// --------------------------------------------------------------------
struct AliHLTITSClusterData {
  Int_t fSpacePointCnt;
  AliHLTITSSpacePointData fSpacePoints[1];
};

// --------------------------------------------------------------------
// --                             TPC                                --
// --------------------------------------------------------------------

// --------------------------------------------------------------------
struct AliHLTTPCSpacePointData {
  Float_t fX;       // == fPadRow in local system
  Float_t fY;
  Float_t fZ;
  UInt_t fID;       //contains slice patch and number
  UChar_t fPadRow;
  Float_t fSigmaY2; //error (former width) of the clusters
  Float_t fSigmaZ2; //error (former width) of the clusters
  UInt_t fCharge;
  UInt_t fQMax;     // QMax of cluster
  Bool_t fUsed;     // only used in AliHLTTPCDisplay
  Int_t fTrackN;    // only used in AliHLTTPCDisplay
};

// --------------------------------------------------------------------
struct AliHLTTPCClusterData {
  Int_t fSpacePointCnt;
  AliHLTTPCSpacePointData fSpacePoints[1];
};

// --------------------------------------------------------------------
// --                            PHOS                                --
// --------------------------------------------------------------------

// struct AliHLTCaloClusterDataStruct
// {

//   UInt_t fNCells;                                //COMMENT
//   Float_t fGlobalPos[3];                      //COMMENT
//   Float_t fEnergy;                            //COMMENT
//   Float_t fTOF;                               //COMMENT
//   Float_t fDispersion;                        //COMMENT
//   Float_t fFitQuality;                        //COMMENT
//   Float_t fM20;                               //COMMENT
//   Float_t fM02;                               //COMMENT
//   Float_t fEmcCpvDistance;                    //COMMENT
//   Float_t fDistToBadChannel;                  //COMMENT
//   Float_t fPID[AliPID::kSPECIESN];            //COMMENT
//   Int_t fID;                                     //COMMENT
//   UChar_t fNExMax;                               //COMMENT 
//   Char_t fClusterType;                           //COMMENT
//   Float_t fDistanceToBadChannel;              //COMMENT
//   UShort_t fCellsAbsId;                      //COMMENT
//   Float_t fCellsAmpFraction;              //COMMENT
// };

// struct AliHLTCaloClusterHeaderStruct
// {
//   Short_t fNClusters;
// };

// --------------------------------------------------------------------
// struct AliHLTPHOSDigitDataStruct {
//   /** The x coordinate */
//   Float_t fX;

//   /** The x coordinate */
//   Float_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;
  
//   /** The crazyness */
//   Int_t fCrazyness; 

//   /**  The baseline */
//   Float_t fBaseline;

// };

// --------------------------------------------------------------------
// --                            MUON                                --
// --------------------------------------------------------------------

// --------------------------------------------------------------------
struct AliHLTMUONTrackerRawData {
  UInt_t fDataId;
  UShort_t fADC;
};

// --------------------------------------------------------------------
struct AliHLTMUONTrackerMappingData {
  Int_t fDetElemId;
  Int_t fIX,fIY;
  Int_t fCath;
  Float_t fRealX,fRealY,fRealZ;
  Int_t fADC;
  Float_t fPed;
  Float_t fSigma;
};

// --------------------------------------------------------------------
struct AliHLTMUONTriggerPointData {
  Int_t fDetElemId;
  Float_t fX,fY,fZ ;
};

// --------------------------------------------------------------------
struct AliHLTMUONTriggerMappingData {
  AliHLTMUONTriggerPointData fLut[8][16][4][2][16];
};

// --------------------------------------------------------------------
// --                            STRUCT                              --
// --------------------------------------------------------------------

// --------------------------------------------------------------------
void hlt_structs() {}
 hlt_structs.C:1
 hlt_structs.C:2
 hlt_structs.C:3
 hlt_structs.C:4
 hlt_structs.C:5
 hlt_structs.C:6
 hlt_structs.C:7
 hlt_structs.C:8
 hlt_structs.C:9
 hlt_structs.C:10
 hlt_structs.C:11
 hlt_structs.C:12
 hlt_structs.C:13
 hlt_structs.C:14
 hlt_structs.C:15
 hlt_structs.C:16
 hlt_structs.C:17
 hlt_structs.C:18
 hlt_structs.C:19
 hlt_structs.C:20
 hlt_structs.C:21
 hlt_structs.C:22
 hlt_structs.C:23
 hlt_structs.C:24
 hlt_structs.C:25
 hlt_structs.C:26
 hlt_structs.C:27
 hlt_structs.C:28
 hlt_structs.C:29
 hlt_structs.C:30
 hlt_structs.C:31
 hlt_structs.C:32
 hlt_structs.C:33
 hlt_structs.C:34
 hlt_structs.C:35
 hlt_structs.C:36
 hlt_structs.C:37
 hlt_structs.C:38
 hlt_structs.C:39
 hlt_structs.C:40
 hlt_structs.C:41
 hlt_structs.C:42
 hlt_structs.C:43
 hlt_structs.C:44
 hlt_structs.C:45
 hlt_structs.C:46
 hlt_structs.C:47
 hlt_structs.C:48
 hlt_structs.C:49
 hlt_structs.C:50
 hlt_structs.C:51
 hlt_structs.C:52
 hlt_structs.C:53
 hlt_structs.C:54
 hlt_structs.C:55
 hlt_structs.C:56
 hlt_structs.C:57
 hlt_structs.C:58
 hlt_structs.C:59
 hlt_structs.C:60
 hlt_structs.C:61
 hlt_structs.C:62
 hlt_structs.C:63
 hlt_structs.C:64
 hlt_structs.C:65
 hlt_structs.C:66
 hlt_structs.C:67
 hlt_structs.C:68
 hlt_structs.C:69
 hlt_structs.C:70
 hlt_structs.C:71
 hlt_structs.C:72
 hlt_structs.C:73
 hlt_structs.C:74
 hlt_structs.C:75
 hlt_structs.C:76
 hlt_structs.C:77
 hlt_structs.C:78
 hlt_structs.C:79
 hlt_structs.C:80
 hlt_structs.C:81
 hlt_structs.C:82
 hlt_structs.C:83
 hlt_structs.C:84
 hlt_structs.C:85
 hlt_structs.C:86
 hlt_structs.C:87
 hlt_structs.C:88
 hlt_structs.C:89
 hlt_structs.C:90
 hlt_structs.C:91
 hlt_structs.C:92
 hlt_structs.C:93
 hlt_structs.C:94
 hlt_structs.C:95
 hlt_structs.C:96
 hlt_structs.C:97
 hlt_structs.C:98
 hlt_structs.C:99
 hlt_structs.C:100
 hlt_structs.C:101
 hlt_structs.C:102
 hlt_structs.C:103
 hlt_structs.C:104
 hlt_structs.C:105
 hlt_structs.C:106
 hlt_structs.C:107
 hlt_structs.C:108
 hlt_structs.C:109
 hlt_structs.C:110
 hlt_structs.C:111
 hlt_structs.C:112
 hlt_structs.C:113
 hlt_structs.C:114
 hlt_structs.C:115
 hlt_structs.C:116
 hlt_structs.C:117
 hlt_structs.C:118
 hlt_structs.C:119
 hlt_structs.C:120
 hlt_structs.C:121
 hlt_structs.C:122
 hlt_structs.C:123
 hlt_structs.C:124
 hlt_structs.C:125
 hlt_structs.C:126
 hlt_structs.C:127
 hlt_structs.C:128
 hlt_structs.C:129
 hlt_structs.C:130
 hlt_structs.C:131
 hlt_structs.C:132
 hlt_structs.C:133
 hlt_structs.C:134
 hlt_structs.C:135
 hlt_structs.C:136
 hlt_structs.C:137
 hlt_structs.C:138
 hlt_structs.C:139
 hlt_structs.C:140
 hlt_structs.C:141
 hlt_structs.C:142
 hlt_structs.C:143
 hlt_structs.C:144
 hlt_structs.C:145
 hlt_structs.C:146
 hlt_structs.C:147
 hlt_structs.C:148
 hlt_structs.C:149
 hlt_structs.C:150
 hlt_structs.C:151
 hlt_structs.C:152
 hlt_structs.C:153
 hlt_structs.C:154
 hlt_structs.C:155
 hlt_structs.C:156
 hlt_structs.C:157
 hlt_structs.C:158
 hlt_structs.C:159
 hlt_structs.C:160
 hlt_structs.C:161
 hlt_structs.C:162
 hlt_structs.C:163
 hlt_structs.C:164
 hlt_structs.C:165