StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDetectorState.h
1 
5 /***************************************************************************
6  *
7  * $Id: StDetectorState.h,v 2.2 2002/02/22 22:56:47 jeromel Exp $
8  *
9  * Author: Thomas Ullrich, Dec 2001
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StDetectorState.h,v $
17  * Revision 2.2 2002/02/22 22:56:47 jeromel
18  * Doxygen basic documentation in all header files. None of this is required
19  * for QM production.
20  *
21  * Revision 2.1 2001/12/01 15:34:50 ullrich
22  * Initial Revision.
23  *
24  **************************************************************************/
25 #ifndef StDetectorState_hh
26 #define StDetectorState_hh
27 #include "StObject.h"
28 #include "StEnumerations.h"
29 
30 class StDetectorState : public StObject {
31 public:
33  StDetectorState(StDetectorId, bool);
34  // StDetectorState(const StDetectorState&); use default
35  // StDetectorState& operator=(const StDetectorState&); use default
36  virtual ~StDetectorState();
37 
38  StDetectorId detector() const;
39  bool good() const;
40  bool bad() const;
41 
42  void setDetector(StDetectorId);
43  void setGood(bool);
44 
45 private:
46  StDetectorId mDetectorId;
47  Bool_t mIsGood;
48 
49  ClassDef(StDetectorState,1)
50 };
51 #endif