StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrigger.h
1 
5 /***************************************************************************
6  *
7  * $Id: StTrigger.h,v 2.3 2002/02/22 22:56:53 jeromel Exp $
8  *
9  * Author: Thomas Ullrich, Sep 1999
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StTrigger.h,v $
17  * Revision 2.3 2002/02/22 22:56:53 jeromel
18  * Doxygen basic documentation in all header files. None of this is required
19  * for QM production.
20  *
21  * Revision 2.2 2001/08/29 18:53:37 ullrich
22  * Changed trigger words to UInt_t (was UShort_t)
23  *
24  * Revision 2.1 2001/04/05 04:00:46 ullrich
25  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
26  *
27  * Revision 2.0 1999/10/12 18:43:13 ullrich
28  * Completely Revised for New Version
29  *
30  **************************************************************************/
31 #ifndef StTrigger_hh
32 #define StTrigger_hh
33 
34 #include "StObject.h"
35 
36 class StTrigger : public StObject {
37 public:
38  StTrigger();
39  StTrigger(unsigned int aw, unsigned int w);
40  // StTrigger(const StTrigger&); use default
41  // StTrigger& operator=(const StTrigger&); use default
42  virtual ~StTrigger();
43 
44  int operator==(const StTrigger&) const;
45  int operator!=(const StTrigger&) const;
46 
47  virtual unsigned int triggerActionWord() const;
48  virtual unsigned int triggerWord() const;
49 
50  virtual void setTriggerActionWord(unsigned int);
51  virtual void setTriggerWord(unsigned int);
52 
53 protected:
54  UInt_t mTriggerActionWord;
55  UInt_t mTriggerWord;
56 
57  ClassDef(StTrigger,2) //StTrigger structure
58 };
59 #endif