1 #ifndef ALIMUONDIGITIZER_H
2 #define ALIMUONDIGITIZER_H
3 /* Copyright(c) 1998-2001, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 #include "AliDigitizer.h"
11 class AliMUONHitMapA1;
13 class AliMUONDigitizer : public AliDigitizer {
17 AliMUONDigitizer(AliRunDigitizer * manager);
18 virtual ~AliMUONDigitizer();
21 virtual Bool_t Exists(const AliMUONPadHit * sdigit) const;
23 virtual void Update(AliMUONPadHit *sdigit);
25 virtual void CreateNew(AliMUONPadHit *sdigit);
27 // Initialize merging and digitization
28 virtual Bool_t Init();
31 virtual void Exec(Option_t* option=0);
33 Int_t GetDebug() const {return fDebug;} // get debug level
34 void SetDebug(Int_t level){fDebug = level;} // set debug level
38 void SortTracks(Int_t *tracks,Int_t *charges,Int_t ntr);
42 TClonesArray* fPadHits;
43 AliMUONHitMapA1 **fHitMap; //! pointer to array of pointers to hitmaps
44 Int_t fNch; //! chamber nr (loop variable)
45 Int_t fTrack; //! track nr (loop variable)
46 TObjArray *fTDList; //! list of AliMUONTransientDigits
47 Int_t fCounter; //! nr. of AliMUONTransientDigit
48 Bool_t fSignal; //! kTRUE if signal file is processed
49 Int_t fMask; //! mask dependent on input file
50 Int_t fDigits[6]; //! array with digits
51 Int_t fDebug; //! debug level
53 ClassDef(AliMUONDigitizer,1) // MUON merging/digitization