Adding PiKP-only histograms and eliminating a number of switches where histograms...
[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
c1975ba7 10/// \ingroup trigger
692de412 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
5398f946 21 virtual ~AliMUONGlobalTrigger();
d694b6f6 22 AliMUONGlobalTrigger& operator=(const AliMUONGlobalTrigger& rhs);
5398f946 23
8d4fefab 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 ;}
5398f946 28 /// Return number of Unlike sign pair Low pt
3abb47c2 29 Int_t PairUnlikeLpt() const {return fPairUnlikeLpt ;}
5398f946 30 /// Return number of Unlike sign pair High pt
3abb47c2 31 Int_t PairUnlikeHpt() const {return fPairUnlikeHpt ;}
5398f946 32 /// Return number of Like sign pair Low pt
3abb47c2 33 Int_t PairLikeLpt() const {return fPairLikeLpt ;}
5398f946 34 /// Return number of Like sign pair High pt
3abb47c2 35 Int_t PairLikeHpt() const {return fPairLikeHpt ;}
3abb47c2 36
8d4fefab 37 void SetFromGlobalResponse(UShort_t globalResponse);
a90f8830 38 void SetFromGlobalInput(const UInt_t *globalInput);
1908473e 39 UChar_t GetGlobalResponse() const;
cddcc1f3 40 /// Return global input to the global trigger board
41a38dec 41 UInt_t *GetGlobalInput() { return fInput; }
8d7dfec2 42
eba3379e 43 virtual void Print(Option_t* opt="") const;
44
402fb06e 45private:
8d4fefab 46 Int_t fSingleLpt; ///< Number of Single Low pt
47 Int_t fSingleHpt; ///< Number of Single High pt
18b6b8c7 48 Int_t fPairUnlikeLpt; ///< Number of Unlike sign pair Low pt
49 Int_t fPairUnlikeHpt; ///< Number of Unlike sign pair High pt
18b6b8c7 50 Int_t fPairLikeLpt; ///< Number of Like sign pair Low pt
51 Int_t fPairLikeHpt; ///< Number of Like sign pair High pt
a9e2aefa 52
41a38dec 53 UInt_t fInput[4]; ///< Global input to the global trigger board
54
55 ClassDef(AliMUONGlobalTrigger,3) // reconstructed Global Trigger object
a9e2aefa 56};
57#endif
58
59
60
61
62
63