/** \file Declaration of PMTQuality \author Paul Lebrun \version $Id: PMTQuality.h 23433 2013-04-16 14:38:29Z schulz-a $ \date March 21 2013 \brief Online Quality data Quantities in this class are normally filled by Reading the CDAS Event and using CDAS algorithms. Other classes do not have write access */ #ifndef _sevt_PMTQuality_h_ #define _sevt_PMTQuality_h_ #include #include #include namespace sevt { class PMT; /** \class PMTQuality PMTQuality.h sevt/PMTQuality.h \brief Online Calibration data Quantities in this class are normally filled by Reading the CDAS Event and using CDAS algorithms. Other classes do not have write access \ingroup sevt */ class PMTQuality { public: // this should go away with FatBastard bool IsTubeOk() const { return fIsTubeOk; } bool HasAnode() const { return fHasAnode; } bool IsRaining() const { return fIsRaining; } short GetVersion() const { return fVersion; } void SetIsTubeOk(const bool ok) { fIsTubeOk = ok; } void SetHasAnode(const bool ok) { fHasAnode = ok; } void SetIsRaining(const bool ok) { fIsRaining = ok; } void SetVersion(const short v) { fVersion = v; } private: PMTQuality(); ~PMTQuality() { } short fVersion; bool fIsTubeOk; bool fHasAnode; bool fIsRaining; friend class PMT; friend class utl::ShadowPtr; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: