1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 /// \class AliMUONTriggerUtilities
6 /// \brief Utilities for trigger (check if pad is masked)
10 #ifndef ALIMUONTRIGGERUTILITIES_H
11 #define ALIMUONTRIGGERUTILITIES_H
16 class AliMUONCalibrationData;
19 class AliMUONVDigitStore;
21 class AliMUONTriggerUtilities : public TObject
24 AliMUONTriggerUtilities(AliMUONCalibrationData* calibData);
25 ~AliMUONTriggerUtilities();
27 Bool_t IsMasked(const AliMUONVDigit& digit) const;
28 Bool_t IsMasked(const AliMpPad& pad, Int_t detElemId, Int_t cathode) const;
29 Bool_t IsMasked(Int_t detElemId, Int_t cathode, Int_t localCircuit, Int_t strip) const;
30 Bool_t IsMaskedBoard ( Int_t localCircuit, Int_t detElemId = 1100, Int_t cathode = 0 ) const;
31 AliMUONVDigitStore* GetMaskedDigits() const { return fMaskedDigitsStore; }
35 AliMUONTriggerUtilities(const AliMUONTriggerUtilities& other);
37 AliMUONTriggerUtilities& operator=(const AliMUONTriggerUtilities& other);
40 Int_t GetArrayIndex(Int_t cathode, Int_t trigCh, Int_t localCircuit) const;
42 AliMUONCalibrationData* fCalibrationData; //!< pointer to access calib parameters
43 TArrayI fTriggerStatusMap; //!< Trigger masks
44 AliMUONVDigitStore* fMaskedDigitsStore; //!< Masked digits store
46 ClassDef(AliMUONTriggerUtilities,0) // MUON Trigger utilities