- Disentangle masks effect from trigger chamber efficiency estimation.
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerUtilities.h
CommitLineData
d5315275 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4/// \ingroup core
5/// \class AliMUONTriggerUtilities
6/// \brief Utilities for trigger (check if pad is masked)
7///
8// Author Diego Stocco
9
10#ifndef ALIMUONTRIGGERUTILITIES_H
11#define ALIMUONTRIGGERUTILITIES_H
12
13#include "TObject.h"
14#include "TArrayI.h"
15
16class AliMUONCalibrationData;
17class AliMUONVDigit;
18class AliMpPad;
19
20class AliMUONTriggerUtilities : public TObject
21{
22public:
23 AliMUONTriggerUtilities(AliMUONCalibrationData* calibData);
24 ~AliMUONTriggerUtilities();
25
26 Bool_t IsMasked(const AliMUONVDigit& digit) const;
27 Bool_t IsMasked(const AliMpPad& pad, Int_t detElemId, Int_t cathode) const;
28
29private:
30 /// Not implemented
31 AliMUONTriggerUtilities(const AliMUONTriggerUtilities& other);
32 /// Not implemented
33 AliMUONTriggerUtilities& operator=(const AliMUONTriggerUtilities& other);
34
35 Bool_t Init();
36 Int_t GetArrayIndex(Int_t cathode, Int_t trigCh, Int_t localCircuit) const;
37
38 AliMUONCalibrationData* fCalibrationData; //!< pointer to access calib parameters
39 TArrayI fTriggerStatusMap; //!< Trigger masks
40
41 ClassDef(AliMUONTriggerUtilities,0) // MUON Trigger utilities
42};
43
44#endif