]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONGlobalTrigger.h
From Cvetan: new macro to load ITS clusters.
[u/mrichter/AliRoot.git] / MUON / AliMUONGlobalTrigger.h
index 5dd2f2c897eea462cb3d7d969dd157275f629a2d..851fce0d3dd1d919e43a7f432d85a39ffd979141 100644 (file)
@@ -4,35 +4,50 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/*    */
+/* $Id$ */
+// Revision of includes 07/05/2004
+
+/// \ingroup base
+/// \class AliMUONGlobalTrigger
+/// \brief Global trigger object
+//  Author Ph. Crochet
 
 #include <TObject.h>
 
 class AliMUONGlobalTrigger : public TObject {
- public:
-  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
-
  public:
   AliMUONGlobalTrigger();
-  AliMUONGlobalTrigger(Int_t *singlePlus, Int_t *singleMinus,
-                      Int_t *singleUndef, Int_t *pairUnlike, Int_t *pairLike);
-  virtual ~AliMUONGlobalTrigger(){;}
-  ClassDef(AliMUONGlobalTrigger,1)  // reconstructed Global Trigger object    
+  AliMUONGlobalTrigger(const AliMUONGlobalTrigger& rhs); // copy constructor
+  virtual ~AliMUONGlobalTrigger();
+  AliMUONGlobalTrigger& operator=(const  AliMUONGlobalTrigger& rhs);
+        
+       /// 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 ;}   
+       /// 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 ;}     
+  
+  void  SetFromGlobalResponse(UShort_t globalResponse);
+  UChar_t GetGlobalResponse() const;
+
+  virtual void Print(Option_t* opt="") const;
+  
+private:
+  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
+
+ ClassDef(AliMUONGlobalTrigger,2)  // reconstructed Global Trigger object    
 };
 #endif