#ifndef _sevt_StationCalibData_h_ #define _sevt_StationCalibData_h_ #include #include static const char CVSId_fevt_StationCalibData[] = "$Id: StationCalibData.h 14717 2009-09-17 20:24:36Z lukas $"; namespace sevt { /** \class StationCalibData StationCalibData.h "sevt/StationCalibData.h" \brief %Station Calibration data \author Stefano Argiro' \version $Id: StationCalibData.h 14717 2009-09-17 20:24:36Z lukas $ \date 10 Oct 2003 \ingroup sevt */ class StationCalibData { public: /// version of the onboard calibration int GetVersion() const { return fVersion; } /// GPS second of start of calibration unsigned int GetStartSecond() const { return fStartSecond; } /// GPS second of end of calibration unsigned int GetEndSecond() const { return fEndSecond; } /// number of T1 received during calibration unsigned int GetNT1() const { return fNT1; } /// number of T2 received during calibration unsigned int GetNT2() const { return fNT2; } /// total number of triggers recevied during calibration unsigned int GetNTot() const { return fNTot; } /// get numbers of tubes with calibration unsigned int GetNTubesOk() const { return fNTubesOk; } /// histogram of the sum of muon charges (not really used anywhere) const std::vector& GetMuonChargeHisto() const { return fMuonChargeHisto; } /// x axis offset of the combined charge histogram int GetMuonChargeHistoOffset() const { return fMuonChargeHistoOffset; } /// version of the onboard calibration void SetVersion(const int version) { fVersion = version; } /// GPS second of start of calibration void SetStartSecond(const unsigned int ss) { fStartSecond = ss; } /// GPS second of end of calibration void SetEndSecond(const unsigned int es) { fEndSecond = es; } /// number of T1 received during calibration void SetNT1(const unsigned int nt1) { fNT1 = nt1; } /// number of T2 received during calibration void SetNT2(const unsigned int nt2) { fNT2 = nt2; } /// total number of triggers recevied during calibration void SetNTot(const unsigned int ntot) { fNTot = ntot; } /// get numbers of tubes with calibration void SetNTubesOk(const unsigned int nTubesOk) { fNTubesOk = nTubesOk; } /// histogram of the sum of muon charges void SetMuonChargeHisto(const std::vector& mch, const int offset) { fMuonChargeHisto = mch; fMuonChargeHistoOffset = offset; } private: StationCalibData() : fVersion(0), fStartSecond(0), fEndSecond(0), fNT1(0), fNT2(0), fNTot(0), fNTubesOk(0), //fMuonChargeHisto fMuonChargeHistoOffset(0) { } ~StationCalibData() { } int fVersion; unsigned int fStartSecond; unsigned int fEndSecond; unsigned int fNT1; unsigned int fNT2; unsigned int fNTot; unsigned int fNTubesOk; std::vector fMuonChargeHisto; int fMuonChargeHistoOffset; //std::vector fOffsetHisto; friend class Station; friend class utl::ShadowPtr; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: