17 #include "StDetectorState.h"
19 static const char rcsid[] =
"$Id: StDetectorState.cxx,v 2.1 2001/12/01 15:34:50 ullrich Exp $";
24 : mDetectorId(kUnknownId), mIsGood(true) {}
26 StDetectorState::StDetectorState(StDetectorId det,
bool state)
27 : mDetectorId(det), mIsGood(state) {}
29 StDetectorState::~StDetectorState() {}
32 StDetectorState::detector()
const {
return mDetectorId;}
35 StDetectorState::good()
const {
return mIsGood;}
38 StDetectorState::bad()
const {
return !good();}
41 StDetectorState::setDetector(StDetectorId det) {mDetectorId = det;}
44 StDetectorState::setGood(
bool val) {mIsGood = val;}