]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PMD/AliPMDrechit.h
Fixes for Coverity warnings
[u/mrichter/AliRoot.git] / PMD / AliPMDrechit.h
... / ...
CommitLineData
1#ifndef ALIPMDRECHIT_H
2#define ALIPMDRECHIT_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//-----------------------------------------------------//
6// //
7// Date : February 26 2006 //
8// //
9// Store cellhits associated to a cluster //
10// //
11//-----------------------------------------------------//
12// Author - B.K. Nandi
13//
14#include "TObject.h"
15class TClonesArray;
16
17class AliPMDrechit : public TObject
18{
19 public:
20 AliPMDrechit();
21 AliPMDrechit(Int_t cellx, Int_t celly, Int_t celltr,
22 Int_t cellpid, Float_t celladc);
23 AliPMDrechit(AliPMDrechit *pmdrechit);
24 AliPMDrechit (const AliPMDrechit &alipmdrechit); // copy constructor
25 AliPMDrechit &operator=(const AliPMDrechit &alipmdrechit); // assignment op
26
27 virtual ~AliPMDrechit();
28
29 Int_t GetCellX() const;
30 Int_t GetCellY() const;
31 Int_t GetCellTrack() const;
32 Int_t GetCellPid() const;
33 Float_t GetCellAdc() const;
34
35 protected:
36 Int_t fXcell; // x-position of the cell
37 Int_t fYcell; // y-position of the cell
38 Int_t fTrcell; // track no of the cell
39 Int_t fPidcell; // track pid of the cell
40 Int_t fAdccell; // cell Adc
41
42 ClassDef(AliPMDrechit,4) // To keep cell hit information
43};
44
45#endif