]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDclusterMI.h
Replacing array of objects by array of pointers
[u/mrichter/AliRoot.git] / TRD / AliTRDclusterMI.h
CommitLineData
64b82e53 1#ifndef ALITRDCLUSTERMI_H
2#define ALITRDCLUSTERMI_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8
9#include "AliTRDcluster.h"
10#include "TMath.h"
11
12class AliTRDrecPoint;
13
14class AliTRDclusterMI : public AliTRDcluster {
15
16 public:
17 AliTRDclusterMI();
18 AliTRDclusterMI(AliTRDcluster&cl);
19 AliTRDclusterMI(const AliTRDrecPoint &p);
20 void SetRelPos(Float_t pos){fRelPos = TMath::Nint(pos*128.);}
21 Float_t GetRelPos(){return float(fRelPos)/128.;}
22 void SetNPads(Int_t npads){fNPads = npads;}
23 Char_t GetNPads(){return fNPads;}
24 Float_t fRmsY;
25 protected:
26 Char_t fNPads;
27 Char_t fRelPos;
28 ClassDef(AliTRDclusterMI,1) // ClusterMI for the TRD
29
30};
31
32#endif