Corrections for digit amplitude and time filling
[u/mrichter/AliRoot.git] / MUON / AliMUONGlobalTrigger.h
CommitLineData
a9e2aefa 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
30178c30 7/* $Id$ */
8// Revision of includes 07/05/2004
a9e2aefa 9
692de412 10/// \ingroup base
11/// \class AliMUONGlobalTrigger
5398f946 12/// \brief Global trigger object
13// Author Ph. Crochet
692de412 14
a9e2aefa 15#include <TObject.h>
16
17class AliMUONGlobalTrigger : public TObject {
18 public:
402fb06e 19 AliMUONGlobalTrigger();
d694b6f6 20 AliMUONGlobalTrigger(const AliMUONGlobalTrigger& rhs); // copy constructor
402fb06e 21 AliMUONGlobalTrigger(Int_t *singlePlus, Int_t *singleMinus,
22 Int_t *singleUndef, Int_t *pairUnlike, Int_t *pairLike);
5398f946 23 virtual ~AliMUONGlobalTrigger();
d694b6f6 24 AliMUONGlobalTrigger& operator=(const AliMUONGlobalTrigger& rhs);
5398f946 25
26 /// Return number of Single Plus Low pt
3abb47c2 27 Int_t SinglePlusLpt() const {return fSinglePlusLpt;}
5398f946 28 /// Return number of Single Plus High pt
3abb47c2 29 Int_t SinglePlusHpt() const {return fSinglePlusHpt ;}
5398f946 30 /// Return number of Single Minus Low pt
3abb47c2 31 Int_t SingleMinusLpt() const {return fSingleMinusLpt ;}
5398f946 32 /// Return number of Single Minus High pt
3abb47c2 33 Int_t SingleMinusHpt() const {return fSingleMinusHpt;}
5398f946 34 /// Return number of Single Undefined Low pt
3abb47c2 35 Int_t SingleUndefLpt() const {return fSingleUndefLpt ;}
5398f946 36 /// Return number of Single Undefined High pt
3abb47c2 37 Int_t SingleUndefHpt() const {return fSingleUndefHpt ;}
5398f946 38 /// Return number of Unlike sign pair Low pt
3abb47c2 39 Int_t PairUnlikeLpt() const {return fPairUnlikeLpt ;}
5398f946 40 /// Return number of Unlike sign pair High pt
3abb47c2 41 Int_t PairUnlikeHpt() const {return fPairUnlikeHpt ;}
5398f946 42 /// Return number of Like sign pair Low pt
3abb47c2 43 Int_t PairLikeLpt() const {return fPairLikeLpt ;}
5398f946 44 /// Return number of Like sign pair High pt
3abb47c2 45 Int_t PairLikeHpt() const {return fPairLikeHpt ;}
3abb47c2 46
8d7dfec2 47 void SetGlobalPattern(Int_t globalPattern);
1908473e 48 void SetGlobalPattern(UShort_t globalResponse);
49 void SetFromGlobalResponse(UChar_t globalResponse);
50
8d7dfec2 51 Int_t GetGlobalPattern() const;
1908473e 52 UChar_t GetGlobalResponse() const;
8d7dfec2 53
eba3379e 54 virtual void Print(Option_t* opt="") const;
55
402fb06e 56private:
18b6b8c7 57 Int_t fSinglePlusLpt; ///< Number of Single Plus Low pt
58 Int_t fSinglePlusHpt; ///< Number of Single Plus High pt
18b6b8c7 59 Int_t fSingleMinusLpt; ///< Number of Single Minus Low pt
60 Int_t fSingleMinusHpt; ///< Number of Single Minus High pt
18b6b8c7 61 Int_t fSingleUndefLpt; ///< Number of Single Undefined Low pt
62 Int_t fSingleUndefHpt; ///< Number of Single Undefined High pt
18b6b8c7 63 Int_t fPairUnlikeLpt; ///< Number of Unlike sign pair Low pt
64 Int_t fPairUnlikeHpt; ///< Number of Unlike sign pair High pt
18b6b8c7 65 Int_t fPairLikeLpt; ///< Number of Like sign pair Low pt
66 Int_t fPairLikeHpt; ///< Number of Like sign pair High pt
a9e2aefa 67
18b6b8c7 68 ClassDef(AliMUONGlobalTrigger,1) // reconstructed Global Trigger object
a9e2aefa 69};
70#endif
71
72
73
74
75
76