The access to several data members was changed from public to protected. The digitisa...
[u/mrichter/AliRoot.git] / RICH / AliRICHDigit.h
CommitLineData
237c933d 1#ifndef ALIRICHDIGIT_H
2#define ALIRICHDIGIT_H
3
4
5/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
8/* $Id$ */
9
10#include "AliDigit.h"
11class AliRICHDigit : public TObject {
6e585aa2 12 protected:
237c933d 13 Int_t fPadX; // Pad number along x
14 Int_t fPadY ; // Pad number along y
15 Int_t fSignal; // Signal amplitude
16
17
18 Int_t fTcharges[100]; // charge per track making this digit (up to 10)
19 Int_t fTracks[100]; // tracks making this digit (up to 10)
20 Int_t fPhysics; // physics contribution to signal
21 Int_t fHit; // hit number - temporary solution
22
23 public:
24 AliRICHDigit() {}
25 AliRICHDigit(Int_t *digits);
26 AliRICHDigit(Int_t *tracks, Int_t *charges, Int_t *digits);
27 virtual ~AliRICHDigit() {}
7eefff76 28
29 virtual Int_t PadX() {return fPadX;}
30 virtual Int_t PadY() {return fPadY;}
31 virtual Int_t Signal() {return fSignal;}
32 virtual Int_t Physics() {return fPhysics;}
33 virtual Int_t Hit() {return fHit;}
34 virtual Int_t Track(Int_t i) {return fTracks[i];}
35 virtual Int_t TrackCharge(Int_t i) {return fTcharges[i];}
36 virtual void AddSignal(Int_t q) {fSignal += q;}
37 virtual void AddPhysicsSignal(Int_t q) {fPhysics += q;}
38
237c933d 39 ClassDef(AliRICHDigit,1) //Digits for set:RICH
40};
41#endif
42
43
44
45
46
47
48