]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDcell.h
used AliBitPacking
[u/mrichter/AliRoot.git] / PMD / AliPMDcell.h
CommitLineData
36031625 1#ifndef ALIPMDCELL_H
2#define ALIPMDCELL_H
b9746a9e 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
24882f83 5//-----------------------------------------------------//
6// //
7// Date : August 05 2003 //
8// //
9// Store cell/track info which is used to assign //
10// the correct track number to a multiple hit cell //
11// //
12//-----------------------------------------------------//
13
24882f83 14#include "TObject.h"
36031625 15class TClonesArray;
24882f83 16
17class AliPMDcell : public TObject
18{
24882f83 19 public:
20 AliPMDcell();
36031625 21 AliPMDcell(Int_t trnumber, Int_t smnumber,
22 Int_t xpos, Int_t ypos, Float_t edep);
24882f83 23 AliPMDcell(AliPMDcell *pmdcell) {*this = *pmdcell;}
af6d4455 24 AliPMDcell (const AliPMDcell &alipmdcell); // copy constructor
25 AliPMDcell &operator=(const AliPMDcell &alipmdcell); // assignment op
36031625 26
24882f83 27 virtual ~AliPMDcell();
28
29 Int_t GetTrackNumber() const;
30 Int_t GetSMNumber() const;
31 Int_t GetX() const;
32 Int_t GetY() const;
33 Float_t GetEdep() const;
34
36031625 35 protected:
36 Int_t fTrNumber; // Track Number
37 Int_t fSMNumber; // Serial Module Number
38 Int_t fXpos; // x-position of the cell
39 Int_t fYpos; // y-position of the cell
40 Float_t fEdep; // Energy deposition in a cell
41
b9746a9e 42 ClassDef(AliPMDcell,2) // To keep cell information
24882f83 43};
44
45#endif