/*
$Log$
+Revision 1.4 2001/10/18 14:44:09 jchudoba
+Define constant MAXTRACKS for maximum number of tracks associated with 1 digit
+
Revision 1.3 2001/01/26 21:26:58 morsch
All data members private. Access functions provided.
fPhysics = digits[4];
fHit = digits[5];
- for(Int_t i=0; i<MAXTRACKS; i++) {
+ for(Int_t i=0; i<kMAXTRACKS; i++) {
fTcharges[i] = charges[i];
fTracks[i] = tracks[i];
}
#include <TObject.h>
-#define MAXTRACKS 10
+static const Int_t kMAXTRACKS=10;
class AliMUONDigit : public TObject {
Int_t fCathode; // Cathode number
Int_t fSignal; // Signal amplitude
- Int_t fTcharges[MAXTRACKS]; // charge per track making this digit (up to 10)
- Int_t fTracks[MAXTRACKS]; // primary tracks making this digit (up to 10)
+ Int_t fTcharges[kMAXTRACKS]; // charge per track making this digit (up to 10)
+ Int_t fTracks[kMAXTRACKS]; // primary tracks making this digit (up to 10)
Int_t fPhysics; // physics contribution to signal
Int_t fHit; // hit number - temporary solution