00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StDetectorState.h,v 2.2 2002/02/22 22:56:47 jeromel Exp $ 00008 * 00009 * Author: Thomas Ullrich, Dec 2001 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StDetectorState.h,v $ 00017 * Revision 2.2 2002/02/22 22:56:47 jeromel 00018 * Doxygen basic documentation in all header files. None of this is required 00019 * for QM production. 00020 * 00021 * Revision 2.1 2001/12/01 15:34:50 ullrich 00022 * Initial Revision. 00023 * 00024 **************************************************************************/ 00025 #ifndef StDetectorState_hh 00026 #define StDetectorState_hh 00027 #include "StObject.h" 00028 #include "StEnumerations.h" 00029 00030 class StDetectorState : public StObject { 00031 public: 00032 StDetectorState(); 00033 StDetectorState(StDetectorId, bool); 00034 // StDetectorState(const StDetectorState&); use default 00035 // StDetectorState& operator=(const StDetectorState&); use default 00036 virtual ~StDetectorState(); 00037 00038 StDetectorId detector() const; 00039 bool good() const; 00040 bool bad() const; 00041 00042 void setDetector(StDetectorId); 00043 void setGood(bool); 00044 00045 private: 00046 StDetectorId mDetectorId; 00047 Bool_t mIsGood; 00048 00049 ClassDef(StDetectorState,1) 00050 }; 00051 #endif
1.5.9