change to obey coding rule RN4
[u/mrichter/AliRoot.git] / MUON / AliMUONDigit.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONDIGIT_H
2#define ALIMUONDIGIT_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#include <TObject.h>
9
cb73aa80 10static const Int_t kMAXTRACKS=10;
0e88acc2 11
a9e2aefa 12class AliMUONDigit : public TObject {
a450cfad 13
a9e2aefa 14 public:
a450cfad 15 AliMUONDigit() {}
16 AliMUONDigit(Int_t *digits);
17 AliMUONDigit(Int_t *tracks, Int_t *charges, Int_t *digits);
18 virtual ~AliMUONDigit();
19
20 virtual Int_t PadX() {return fPadX;}
21 virtual Int_t PadY() {return fPadY;}
22 virtual Int_t Signal() {return fSignal;}
23 virtual Int_t Physics() {return fPhysics;}
24 virtual Int_t Hit() {return fHit;}
25 virtual Int_t Cathode() {return fCathode;}
26 virtual Int_t Track(Int_t i) {return fTracks[i];}
27 virtual Int_t TrackCharge(Int_t i) {return fTcharges[i];}
28 virtual void AddSignal(Int_t q) {fSignal += q;}
29 virtual void AddPhysicsSignal(Int_t q) {fPhysics += q;}
30 private:
a9e2aefa 31 Int_t fPadX; // Pad number along x
a450cfad 32 Int_t fPadY; // Pad number along y
33 Int_t fCathode; // Cathode number
34
a9e2aefa 35 Int_t fSignal; // Signal amplitude
cb73aa80 36 Int_t fTcharges[kMAXTRACKS]; // charge per track making this digit (up to 10)
37 Int_t fTracks[kMAXTRACKS]; // primary tracks making this digit (up to 10)
a9e2aefa 38 Int_t fPhysics; // physics contribution to signal
39 Int_t fHit; // hit number - temporary solution
a450cfad 40
a1001283 41 ClassDef(AliMUONDigit,1) //Digits for MUON
a9e2aefa 42};
43#endif