X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONGlobalTrigger.h;h=5b067bb69039a7c173eaf9bcb6002dd114b5b449;hb=e73860407b65d47729d5c56690eae63f99968b5c;hp=ded2edf75984b696a74ee9d8b9c3e63a50100f4d;hpb=8d7dfec25ce70d8265e2918bbb53dfa2ccf189d2;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONGlobalTrigger.h b/MUON/AliMUONGlobalTrigger.h index ded2edf7598..5b067bb6903 100644 --- a/MUON/AliMUONGlobalTrigger.h +++ b/MUON/AliMUONGlobalTrigger.h @@ -7,10 +7,10 @@ /* $Id$ */ // Revision of includes 07/05/2004 -/// \ingroup base +/// \ingroup trigger /// \class AliMUONGlobalTrigger -/// \brief global trigger object -/// \author Ph. Crochet +/// \brief Global trigger object +// Author Ph. Crochet #include @@ -18,49 +18,41 @@ class AliMUONGlobalTrigger : public TObject { public: AliMUONGlobalTrigger(); AliMUONGlobalTrigger(const AliMUONGlobalTrigger& rhs); // copy constructor - AliMUONGlobalTrigger(Int_t *singlePlus, Int_t *singleMinus, - Int_t *singleUndef, Int_t *pairUnlike, Int_t *pairLike); - virtual ~AliMUONGlobalTrigger(){;} + virtual ~AliMUONGlobalTrigger(); AliMUONGlobalTrigger& operator=(const AliMUONGlobalTrigger& rhs); - - Int_t SinglePlusLpt() const {return fSinglePlusLpt;} - Int_t SinglePlusHpt() const {return fSinglePlusHpt ;} - Int_t SinglePlusApt() const {return fSinglePlusApt ;} - Int_t SingleMinusLpt() const {return fSingleMinusLpt ;} - Int_t SingleMinusHpt() const {return fSingleMinusHpt;} - Int_t SingleMinusApt() const {return fSingleMinusApt;} - Int_t SingleUndefLpt() const {return fSingleUndefLpt ;} - Int_t SingleUndefHpt() const {return fSingleUndefHpt ;} - Int_t SingleUndefApt() const {return fSingleUndefApt ;} + + /// Return number of Single Low pt + Int_t SingleLpt() const {return fSingleLpt;} + /// Return number of Single High pt + Int_t SingleHpt() const {return fSingleHpt ;} + /// Return number of Unlike sign pair Low pt Int_t PairUnlikeLpt() const {return fPairUnlikeLpt ;} + /// Return number of Unlike sign pair High pt Int_t PairUnlikeHpt() const {return fPairUnlikeHpt ;} - Int_t PairUnlikeApt() const {return fPairUnlikeApt ;} + /// Return number of Like sign pair Low pt Int_t PairLikeLpt() const {return fPairLikeLpt ;} + /// Return number of Like sign pair High pt Int_t PairLikeHpt() const {return fPairLikeHpt ;} - Int_t PairLikeApt() const {return fPairLikeApt ;} - void SetGlobalPattern(Int_t globalPattern); - Int_t GetGlobalPattern() const; + void SetFromGlobalResponse(UShort_t globalResponse); + void SetFromGlobalInput(const UInt_t *globalInput); + UChar_t GetGlobalResponse() const; + /// Return global input to the global trigger board + UInt_t *GetGlobalInput() { return fInput; } - ClassDef(AliMUONGlobalTrigger,1) // reconstructed Global Trigger object - + virtual void Print(Option_t* opt="") const; + private: - Int_t fSinglePlusLpt; // Number of Single Plus Low pt - Int_t fSinglePlusHpt; // Number of Single Plus High pt - Int_t fSinglePlusApt; // Number of Single Plus All pt - Int_t fSingleMinusLpt; // Number of Single Minus Low pt - Int_t fSingleMinusHpt; // Number of Single Minus High pt - Int_t fSingleMinusApt; // Number of Single Minus All pt - Int_t fSingleUndefLpt; // Number of Single Undefined Low pt - Int_t fSingleUndefHpt; // Number of Single Undefined High pt - Int_t fSingleUndefApt; // Number of Single Undefined All pt - Int_t fPairUnlikeLpt; // Number of Unlike sign pair Low pt - Int_t fPairUnlikeHpt; // Number of Unlike sign pair High pt - Int_t fPairUnlikeApt; // Number of Unlike sign pair All pt - Int_t fPairLikeLpt; // Number of Like sign pair Low pt - Int_t fPairLikeHpt; // Number of Like sign pair High pt - Int_t fPairLikeApt; // Number of Like sign pair All pt + Int_t fSingleLpt; ///< Number of Single Low pt + Int_t fSingleHpt; ///< Number of Single High pt + Int_t fPairUnlikeLpt; ///< Number of Unlike sign pair Low pt + Int_t fPairUnlikeHpt; ///< Number of Unlike sign pair High pt + Int_t fPairLikeLpt; ///< Number of Like sign pair Low pt + Int_t fPairLikeHpt; ///< Number of Like sign pair High pt + + UInt_t fInput[4]; ///< Global input to the global trigger board + ClassDef(AliMUONGlobalTrigger,3) // reconstructed Global Trigger object }; #endif