New class AliPHOSCPVDigit
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCPVDigit.h
CommitLineData
16ca5704 1#ifndef ALIPHOSCPV_H
2#define ALIPHOSCPV_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// Digit class for CPV //
10// //
11// Author: Yuri Kharlov, IHEP, Protvino //
12// e-mail: Yuri.Kharlov@cern.ch //
13// Last modified: 23 March 2000 //
14////////////////////////////////////////////////
15
16// --- ROOT system ---
17#include <TObject.h>
18
19class AliPHOSCPVDigit : public TObject {
20
21private:
22 Int_t fXpad; // Digit's pad number in Phi
23 Int_t fYpad; // Digit's pad number in Z
24 Float_t fQpad; // Digit's pad amplitude
25
26public:
27 virtual ~AliPHOSCPVDigit() {}
28 AliPHOSCPVDigit() {}
29 AliPHOSCPVDigit(Int_t x, Int_t y, Float_t q);
30
31 void SetQpad(Float_t q) { fQpad = q; }
32 Int_t GetXpad() { return fXpad; }
33 Int_t GetYpad() { return fYpad; }
34 Float_t GetQpad() { return fQpad; }
35
36 ClassDef(AliPHOSCPVDigit,1) // Digit object in one CPV pad
37};
38
39#endif