1 #ifndef ALIMUONGLOBALTRIGGER_H
2 #define ALIMUONGLOBALTRIGGER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 // Revision of includes 07/05/2004
11 /// \class AliMUONGlobalTrigger
12 /// \brief Global trigger object
17 class AliMUONGlobalTrigger : public TObject {
19 AliMUONGlobalTrigger();
20 AliMUONGlobalTrigger(const AliMUONGlobalTrigger& rhs); // copy constructor
21 virtual ~AliMUONGlobalTrigger();
22 AliMUONGlobalTrigger& operator=(const AliMUONGlobalTrigger& rhs);
24 /// Return number of Single Low pt
25 Int_t SingleLpt() const {return fSingleLpt;}
26 /// Return number of Single High pt
27 Int_t SingleHpt() const {return fSingleHpt ;}
28 /// Return number of Unlike sign pair Low pt
29 Int_t PairUnlikeLpt() const {return fPairUnlikeLpt ;}
30 /// Return number of Unlike sign pair High pt
31 Int_t PairUnlikeHpt() const {return fPairUnlikeHpt ;}
32 /// Return number of Like sign pair Low pt
33 Int_t PairLikeLpt() const {return fPairLikeLpt ;}
34 /// Return number of Like sign pair High pt
35 Int_t PairLikeHpt() const {return fPairLikeHpt ;}
37 void SetFromGlobalResponse(UShort_t globalResponse);
38 void SetFromGlobalInput(const UInt_t *globalInput);
39 UChar_t GetGlobalResponse() const;
40 /// Return global input to the global trigger board
41 UInt_t *GetGlobalInput() { return fInput; }
43 virtual void Print(Option_t* opt="") const;
46 Int_t fSingleLpt; ///< Number of Single Low pt
47 Int_t fSingleHpt; ///< Number of Single High pt
48 Int_t fPairUnlikeLpt; ///< Number of Unlike sign pair Low pt
49 Int_t fPairUnlikeHpt; ///< Number of Unlike sign pair High pt
50 Int_t fPairLikeLpt; ///< Number of Like sign pair Low pt
51 Int_t fPairLikeHpt; ///< Number of Like sign pair High pt
53 UInt_t fInput[4]; ///< Global input to the global trigger board
55 ClassDef(AliMUONGlobalTrigger,3) // reconstructed Global Trigger object