]>
Commit | Line | Data |
---|---|---|
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 | UChar_t GetGlobalResponse() const; | |
39 | ||
40 | virtual void Print(Option_t* opt="") const; | |
41 | ||
42 | private: | |
43 | Int_t fSingleLpt; ///< Number of Single Low pt | |
44 | Int_t fSingleHpt; ///< Number of Single High pt | |
45 | Int_t fPairUnlikeLpt; ///< Number of Unlike sign pair Low pt | |
46 | Int_t fPairUnlikeHpt; ///< Number of Unlike sign pair High pt | |
47 | Int_t fPairLikeLpt; ///< Number of Like sign pair Low pt | |
48 | Int_t fPairLikeHpt; ///< Number of Like sign pair High pt | |
49 | ||
50 | ClassDef(AliMUONGlobalTrigger,2) // reconstructed Global Trigger object | |
51 | }; | |
52 | #endif | |
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 |