AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONGlobalTrigger.h
Go to the documentation of this file.
1 #ifndef ALIMUONGLOBALTRIGGER_H
2 #define ALIMUONGLOBALTRIGGER_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 /* $Id$ */
8 // Revision of includes 07/05/2004
9 
13 // Author Ph. Crochet
14 
15 #include <TObject.h>
16 
17 class AliMUONGlobalTrigger : public TObject {
18  public:
20  AliMUONGlobalTrigger(const AliMUONGlobalTrigger& rhs); // copy constructor
21  virtual ~AliMUONGlobalTrigger();
23 
25  Int_t SingleLpt() const {return fSingleLpt;}
27  Int_t SingleHpt() const {return fSingleHpt ;}
29  Int_t PairUnlikeLpt() const {return fPairUnlikeLpt ;}
31  Int_t PairUnlikeHpt() const {return fPairUnlikeHpt ;}
33  Int_t PairLikeLpt() const {return fPairLikeLpt ;}
35  Int_t PairLikeHpt() const {return fPairLikeHpt ;}
36 
37  void SetFromGlobalResponse(UShort_t globalResponse);
38  void SetFromGlobalInput(const UInt_t *globalInput);
39  UChar_t GetGlobalResponse() const;
41  UInt_t *GetGlobalInput() { return fInput; }
42 
43  virtual void Print(Option_t* opt="") const;
44 
45 private:
46  Int_t fSingleLpt;
47  Int_t fSingleHpt;
50  Int_t fPairLikeLpt;
51  Int_t fPairLikeHpt;
52 
53  UInt_t fInput[4];
54 
55  ClassDef(AliMUONGlobalTrigger,3) // reconstructed Global Trigger object
56 };
57 #endif
58 
59 
60 
61 
62 
63 
void SetFromGlobalInput(const UInt_t *globalInput)
void SetFromGlobalResponse(UShort_t globalResponse)
UInt_t fInput[4]
Global input to the global trigger board.
UInt_t * GetGlobalInput()
Return global input to the global trigger board.
virtual void Print(Option_t *opt="") const
Int_t fSingleHpt
Number of Single High pt.
Int_t fSingleLpt
Number of Single Low pt.
Int_t SingleLpt() const
Return number of Single Low pt.
Int_t fPairLikeHpt
Number of Like sign pair High pt.
Int_t fPairUnlikeLpt
Number of Unlike sign pair Low pt.
AliMUONGlobalTrigger & operator=(const AliMUONGlobalTrigger &rhs)
Int_t fPairLikeLpt
Number of Like sign pair Low pt.
Int_t PairLikeHpt() const
Return number of Like sign pair High pt.
UChar_t GetGlobalResponse() const
Global trigger object.
Int_t PairLikeLpt() const
Return number of Like sign pair Low pt.
Int_t SingleHpt() const
Return number of Single High pt.
Int_t fPairUnlikeHpt
Number of Unlike sign pair High pt.
Int_t PairUnlikeLpt() const
Return number of Unlike sign pair Low pt.
Int_t PairUnlikeHpt() const
Return number of Unlike sign pair High pt.