/// Raw data class for trigger and tracker chambers
#include <TObject.h>
-#include <TExMap.h>
+#include "AliMpBusPatch.h"
#include "AliMUONSubEventTracker.h"
class TClonesArray;
class AliMUONSubEventTrigger;
class AliRawReader;
class AliMUONGlobalTrigger;
+class AliMpSegFactory;
class AliMUONRawData : public TObject
{
new(temp[temp.GetEntriesFast()])AliMUONSubEventTracker(*event);
}
-
// could be private function (public for debugging)
Int_t GetInvMapping(const AliMUONDigit* digit, Int_t &busPatchId,
UShort_t &manuId, UChar_t &channelId);
Int_t GetMapping(Int_t buspatchId, UShort_t manuId,
UChar_t channelId, AliMUONDigit* digit );
+ Int_t GetGlobalTriggerPattern(const AliMUONGlobalTrigger* gloTrg) const;
+ AliMUONGlobalTrigger* GetGlobalTriggerPattern(Int_t gloTrg) const;
- Int_t GetGlobalTriggerPattern(const AliMUONGlobalTrigger* gloTrg);
- AliMUONGlobalTrigger* GetGlobalTriggerPattern(Int_t gloTrg);
-
- Int_t GetDEfromBus(Int_t busPatchId);
- TArrayI* GetBusfromDE(Int_t idDE);
protected:
AliMUONRawData(); // Default constructor
AliLoader* fLoader; //! alice loader
+ AliMpSegFactory* fSegFactory; //! Mapping segmentation factory
+
FILE* fFile[2]; //! DDL binary file pointer one per 1/2 chamber
- TClonesArray* fSubEventArray; //! array to sub event tracker
+ TClonesArray* fSubEventArray; //! array to sub event tracker
- AliMUONDDLTracker* fDDLTracker; //! DDL tracker class pointers
- AliMUONDDLTrigger* fDDLTrigger; //! DDL trigger class pointers
+ AliMUONDDLTracker* fDDLTracker; //! DDL tracker class pointers
+ AliMUONDDLTrigger* fDDLTrigger; //! DDL trigger class pointers
- TExMap fDetElemIdToBusPatch;
- TExMap fBusPatchToDetElem;
+ AliMpBusPatch* fBusPatchManager; //! buspatch versus DE's & DDL
// writing raw data
Int_t WriteTrackerDDL(Int_t iCh);
Int_t WriteTriggerDDL();
- void ReadBusPatchFile();
-
ClassDef(AliMUONRawData,1) // MUON cluster reconstructor in ALICE
};