]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/merger-ca/AliHLTTPCGMCluster.h
Analysis task used to extract the VZERO event-plane flatenning parameters.
[u/mrichter/AliRoot.git] / HLT / TPCLib / merger-ca / AliHLTTPCGMCluster.h
CommitLineData
6d869045 1//-*- Mode: C++ -*-
2// $Id: AliHLTTPCGMCluster.h 39008 2010-02-18 17:33:32Z sgorbuno $
3// ************************************************************************
4// This file is property of and copyright by the ALICE HLT Project *
5// ALICE Experiment at CERN, All rights reserved. *
6// See cxx source for full Copyright notice *
7// *
8//*************************************************************************
9
10
11#ifndef ALIHLTTPCGMCLUSTER_H
12#define ALIHLTTPCGMCLUSTER_H
2fba026d 13#include "AliHLTTPCCAMath.h"
6d869045 14/**
15 * @class AliHLTTPCGMCluster
16 *
17 * The class describes TPC clusters used in AliHLTTPCGMMerger
18 */
19class AliHLTTPCGMCluster
20{
21
22 public:
23
24 unsigned char ISlice() const { return fISlice; }
25 unsigned char IRow() const { return fIRow; }
26 int Id() const { return fId; }
27 UChar_t PackedAmp() const { return fPackedAmp; }
28 float X() const { return fX; }
29 float Y() const { return fY; }
30 float Z() const { return fZ; }
31 float Err2Y() const { return fErr2Y; }
32 float Err2Z() const { return fErr2Z; }
33
34 void SetISlice ( unsigned char v ) { fISlice = v; }
35 void SetIRow ( unsigned char v ) { fIRow = v; }
36 void SetId ( int v ) { fId = v; }
37 void SetPackedAmp ( UChar_t v ) { fPackedAmp = v; }
38 void SetX ( float v ) { fX = v; }
39 void SetY ( float v ) { fY = v; }
40 void SetZ ( float v ) { fZ = v; }
41 void SetErr2Y ( float v ) { fErr2Y = v; }
42 void SetErr2Z ( float v ) { fErr2Z = v; }
43
44 //private:
45
46 unsigned char fISlice; // slice number
47 unsigned char fIRow; // row number
48 int fId; // cluster Id
49 UChar_t fPackedAmp; // packed amplitude
50 float fX; // x position (slice coord.system)
51 float fY; // y position (slice coord.system)
52 float fZ; // z position (slice coord.system)
53 float fErr2Y; // Squared measurement error of y position
54 float fErr2Z; // Squared measurement error of z position
55};
56
57#endif