Remove obsolete class AliTPCclusterLMI (Marian)
[u/mrichter/AliRoot.git] / MUON / AliMUONDigitMaker.h
CommitLineData
a3283a4c 1#ifndef ALIMUONDIGITMAKER_H
2#define ALIMUONDIGITMAKER_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/// \ingroup rec
9/// \class AliMUONDigitMaker
10/// \brief Raw data class for trigger and tracker chambers
11///
12/// Readding Raw data class for trigger and tracker chambers
13
14#include <TObject.h>
15#include "TStopwatch.h"
16
a3283a4c 17class AliMpBusPatch;
18class AliMUONData;
19class AliMUONDigit;
20class AliMUONGlobalTrigger;
21class AliMUONLocalTrigger;
22
23class AliMpSegFactory;
24class AliMUONRawStreamTracker;
25class AliMUONRawStreamTrigger;
26
27class AliMUONDigitMaker : public TObject
28{
29 public:
30 AliMUONDigitMaker(AliMUONData* data); // Constructor
31 virtual ~AliMUONDigitMaker(void); // Destructor
32
33 // write raw data
34 Int_t Raw2Digits(AliRawReader* rawReader);
35
36 Int_t ReadTrackerDDL(AliRawReader* rawReader);
37 Int_t ReadTriggerDDL(AliRawReader* rawReader);
38
39 AliMUONData* GetMUONData() const {return fMUONData;}
40 void SetMUONData(AliMUONData* data) {fMUONData = data;}
41
42 Int_t GetMapping(Int_t buspatchId, UShort_t manuId,
43 UChar_t channelId, AliMUONDigit* digit );
44
45 void SetScalerEvent() {fScalerEvent = kTRUE;}
46
47 protected:
48 AliMUONDigitMaker(); // Default constructor
a3283a4c 49
50 private:
51
829425a5 52 AliMUONData* fMUONData; //!< Data container for MUON subsystem
a3283a4c 53
829425a5 54 AliMpSegFactory* fSegFactory; //!< Mapping segmentation factory
a3283a4c 55
829425a5 56 AliMpBusPatch* fBusPatchManager; //!< buspatch versus DE's & DDL
a3283a4c 57
829425a5 58 Bool_t fScalerEvent; //!< flag to generates scaler event
a3283a4c 59
829425a5 60 AliMUONRawStreamTracker* fRawStreamTracker; //!< pointer of raw stream for tracker
61 AliMUONRawStreamTrigger* fRawStreamTrigger; //!< pointer of raw stream for trigger
a3283a4c 62
ce373c77 63 AliMUONDigit* fDigit; //!< pointer to digits
a3283a4c 64
ce373c77 65 AliMUONLocalTrigger* fLocalTrigger; //!< pointer to local trigger
66 AliMUONGlobalTrigger* fGlobalTrigger; //!< pointer to local trigger
a3283a4c 67
ce373c77 68 TStopwatch fTrackerTimer; //!< time watcher for tracker part
69 TStopwatch fTriggerTimer; //!< time watcher for trigger part
70 TStopwatch fMappingTimer; //!< time watcher for mapping-tracker part
a3283a4c 71
9f5dcca3 72 AliMUONDigitMaker (const AliMUONDigitMaker& rhs); // copy constructor
73 AliMUONDigitMaker& operator=(const AliMUONDigitMaker& rhs); // assignment operator
74
a3283a4c 75 ClassDef(AliMUONDigitMaker,1) // MUON digit maker from rawdata
76};
77
78#endif