]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONGlobalTrigger.h
debug message removed
[u/mrichter/AliRoot.git] / MUON / AliMUONGlobalTrigger.h
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
10 /// \ingroup trigger
11 /// \class AliMUONGlobalTrigger
12 /// \brief Global trigger object
13 //  Author Ph. Crochet
14
15 #include <TObject.h>
16
17 class AliMUONGlobalTrigger : public TObject {
18  public:
19   AliMUONGlobalTrigger();
20   AliMUONGlobalTrigger(const AliMUONGlobalTrigger& rhs); // copy constructor
21   virtual ~AliMUONGlobalTrigger();
22   AliMUONGlobalTrigger& operator=(const  AliMUONGlobalTrigger& rhs);
23         
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 ;}     
36   
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; }
42
43   virtual void Print(Option_t* opt="") const;
44   
45 private:
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
52
53   UInt_t fInput[4];      ///< Global input to the global trigger board
54
55  ClassDef(AliMUONGlobalTrigger,3)  // reconstructed Global Trigger object    
56 };
57 #endif
58
59
60
61
62
63