#include <SpillServerMon.h>
Inheritance diagram for SpillServerMon:

Public Member Functions | |
| SpillServerMon () | |
| SpillServerMon (Int_t timestamp, Int_t spillstatus, Int_t spilltype, Int_t spilltimeND_sec, Int_t spilltimeND_nsec, Int_t spilltimeFD_sec, Int_t spilltimeFD_nsec, Int_t spilltimeerror, Int_t request_sec, Int_t windowopen_nsec, Int_t windowclose_nsec) | |
| SpillServerMon (const SpillServerMon &from) | |
| ~SpillServerMon () | |
| VldTimeStamp | GetTimeStamp () const |
| Int_t | GetTimeStamp_sec () const |
| Int_t | GetTimeStamp_nsec () const |
| VldTimeStamp | GetSpillTime () const |
| Int_t | GetSpillTime_sec () const |
| Int_t | GetSpillTime_nsec () const |
| Int_t | GetSpillStatus () const |
| Int_t | GetSpillType () const |
| VldTimeStamp | GetSpillTimeND () const |
| Int_t | GetSpillTimeND_sec () const |
| Int_t | GetSpillTimeND_nsec () const |
| VldTimeStamp | GetSpillTimeFD () const |
| Int_t | GetSpillTimeFD_sec () const |
| Int_t | GetSpillTimeFD_nsec () const |
| Int_t | GetSpillTimeError () const |
| Int_t | GetRequest_sec () const |
| Int_t | GetWindowOpen_nsec () const |
| Int_t | GetWindowClose_nsec () const |
| Bool_t | CanL2Cache () const |
| virtual DbiTableRow * | CreateTableRow () const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
Private Attributes | |
| Int_t | fTime |
| Int_t | fStatus |
| Int_t | fType |
| Int_t | fND_sec |
| Int_t | fND_nsec |
| Int_t | fFD_sec |
| Int_t | fFD_nsec |
| Int_t | fGpsError |
| Int_t | fRequest_sec |
| Int_t | fWindowOpen_nsec |
| Int_t | fWindowClose_nsec |
|
|
Definition at line 18 of file SpillServerMon.cxx. 00019 {
00020 fTime=0;
00021 fStatus=0;
00022 fType=0;
00023 fND_sec=0;
00024 fND_nsec=0;
00025 fFD_sec=0;
00026 fFD_nsec=0;
00027 fGpsError=0;
00028 fRequest_sec=0;
00029 fWindowOpen_nsec=0;
00030 fWindowClose_nsec=0;
00031 }
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 33 of file SpillServerMon.cxx. References fFD_nsec, fFD_sec, fGpsError, fND_nsec, fND_sec, fRequest_sec, fStatus, fTime, fType, fWindowClose_nsec, and fWindowOpen_nsec. 00044 {
00045 fTime=timestamp;
00046 fStatus=spillstatus;
00047 fType=spilltype;
00048 fND_sec=spilltimeND_sec;
00049 fND_nsec=spilltimeND_nsec;
00050 fFD_sec=spilltimeFD_sec;
00051 fFD_nsec=spilltimeFD_nsec;
00052 fGpsError=spilltimeerror;
00053 fRequest_sec=request_sec;
00054 fWindowOpen_nsec=windowopen_nsec;
00055 fWindowClose_nsec=windowclose_nsec;
00056 }
|
|
|
Definition at line 58 of file SpillServerMon.cxx. 00058 : 00059 DbiTableRow(from) 00060 { 00061 *this = from; 00062 }
|
|
|
Definition at line 64 of file SpillServerMon.cxx. 00065 {
00066
00067 }
|
|
|
Reimplemented from DbiTableRow. Definition at line 38 of file SpillServerMon.h. 00038 { return kTRUE; }
|
|
|
Implements DbiTableRow. Definition at line 39 of file SpillServerMon.h. 00039 { return new SpillServerMon; }
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 69 of file SpillServerMon.cxx. References DbiRowStream::CurColName(), fFD_nsec, fFD_sec, fGpsError, fND_nsec, fND_sec, fRequest_sec, fStatus, fTime, fType, fWindowOpen_nsec, DbiRowStream::IncrementCurCol(), MSG, DbiRowStream::NumCols(), and DbiRowStream::TableName(). Referenced by FillSpillServerMon::WriteOutResults(). 00070 {
00071 if ( rs.TableName() == "SPILLSERVERMON" ) {
00072 rs >> fTime
00073 >> fStatus
00074 >> fType
00075 >> fND_sec
00076 >> fND_nsec
00077 >> fFD_sec
00078 >> fFD_nsec
00079 >> fGpsError
00080 >> fRequest_sec
00081 >> fWindowOpen_nsec
00082 >> fWindowClose_nsec;
00083 }
00084 else {
00085 Int_t numCol = rs.NumCols();
00086 for (Int_t curCol = 2; curCol <= numCol; ++curCol) {
00087 string colName = rs.CurColName();
00088 if( colName == "TIMESTAMP" ) rs >> fTime;
00089 else if ( colName == "SPILLSTATUS" ) rs >> fStatus;
00090 else if ( colName == "SPILLTYPE" ) rs >> fType;
00091 else if ( colName == "SPILLTIMEND_SEC" ) rs >> fND_sec;
00092 else if ( colName == "SPILLTIMEND_NANOSEC" ) rs >> fND_nsec;
00093 else if ( colName == "SPILLTIMEFD_SEC" ) rs >> fFD_sec;
00094 else if ( colName == "SPILLTIMEFD_NANOSEC" ) rs >> fFD_nsec;
00095 else if ( colName == "SPILLTIMEERROR" ) rs >> fGpsError;
00096 else if ( colName == "REQUEST_SEC" ) rs >> fRequest_sec;
00097 else if ( colName == "WINDOWOPEN_NANOSEC" ) rs >> fWindowOpen_nsec;
00098 else if ( colName == "WINDOWCLOSE_NANOSEC" ) rs >> fWindowClose_nsec;
00099 else {
00100 MSG("SpillServerMon",Msg::kDebug) << "Ignoring column "
00101 << curCol
00102 << "(" << colName << ")" << endl;
00103 rs.IncrementCurCol();
00104 }
00105 }
00106 }
00107
00108 }
|
|
|
Definition at line 34 of file SpillServerMon.h. Referenced by FillSpillServerMon::ReadFromDatabase(). 00034 { return fRequest_sec; }
|
|
|
Definition at line 25 of file SpillServerMon.h. Referenced by FillSpillServerMon::ReadFromDatabase(). 00025 { return fStatus; }
|
|
|
Definition at line 22 of file SpillServerMon.h. References GetSpillTimeFD(). Referenced by MadPIDAnalysis::CreatePAN(), NuExtraction::ExtractDataQuality(), ANtpInfoObjectFillerBeam::FillBeamInformation(), SpillServerMonFinder::FindClosestEntries(), SpillServerMonFinder::GetNearestSpill(), and DataUtil::IsGoodDataGPS(). 00022 { return this->GetSpillTimeFD(); }
|
|
|
Definition at line 24 of file SpillServerMon.h. References GetSpillTimeFD_nsec(). 00024 { return this->GetSpillTimeFD_nsec(); }
|
|
|
Definition at line 23 of file SpillServerMon.h. References GetSpillTimeFD_sec(). 00023 { return this->GetSpillTimeFD_sec(); }
|
|
|
Definition at line 33 of file SpillServerMon.h. Referenced by MadPIDAnalysis::CreatePAN(), NuExtraction::ExtractDataQuality(), ANtpInfoObjectFillerBeam::FillBeamInformation(), SpillServerMonFinder::GetSpillTimeError(), DataUtil::IsGoodDataGPS(), DataQualityInterface::ProcessDetectorStatus(), FillSpillServerMon::ReadFromDatabase(), and Anp::FillHeader::Run(). 00033 { return fGpsError; }
|
|
|
Definition at line 30 of file SpillServerMon.h. References fFD_nsec, and fFD_sec. Referenced by GetSpillTime(), and Anp::FillHeader::Run(). 00030 { return VldTimeStamp(fFD_sec,fFD_nsec); }
|
|
|
Definition at line 32 of file SpillServerMon.h. Referenced by GetSpillTime_nsec(), and FillSpillServerMon::ReadFromDatabase(). 00032 { return fFD_nsec; }
|
|
|
Definition at line 31 of file SpillServerMon.h. Referenced by GetSpillTime_sec(), and FillSpillServerMon::ReadFromDatabase(). 00031 { return fFD_sec; }
|
|
|
Definition at line 27 of file SpillServerMon.h. References fND_nsec, and fND_sec. Referenced by Anp::FillHeader::Run(). 00027 { return VldTimeStamp(fND_sec,fND_nsec); }
|
|
|
Definition at line 29 of file SpillServerMon.h. Referenced by FillSpillServerMon::ReadFromDatabase(). 00029 { return fND_nsec; }
|
|
|
Definition at line 28 of file SpillServerMon.h. Referenced by FillSpillServerMon::ReadFromDatabase(). 00028 { return fND_sec; }
|
|
|
Definition at line 26 of file SpillServerMon.h. Referenced by NuExtraction::ExtractDataQuality(), DataUtil::IsGoodDataGPS(), DataQualityInterface::ProcessDetectorStatus(), and FillSpillServerMon::ReadFromDatabase(). 00026 { return fType; }
|
|
|
Definition at line 19 of file SpillServerMon.h. References fTime. Referenced by SpillServerMonFinder::GetSpillTimeError(), DataQualityInterface::ProcessDetectorStatus(), and FillSpillServerMon::ReadFromDatabase(). 00019 { return VldTimeStamp(fTime,0); }
|
|
|
Definition at line 21 of file SpillServerMon.h. 00021 { return 0; }
|
|
|
Definition at line 20 of file SpillServerMon.h. 00020 { return fTime; }
|
|
|
Definition at line 36 of file SpillServerMon.h. Referenced by FillSpillServerMon::ReadFromDatabase(). 00036 { return fWindowClose_nsec; }
|
|
|
Definition at line 35 of file SpillServerMon.h. Referenced by FillSpillServerMon::ReadFromDatabase(). 00035 { return fWindowOpen_nsec; }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 110 of file SpillServerMon.cxx. References fFD_nsec, fFD_sec, fGpsError, fND_nsec, fND_sec, fRequest_sec, fStatus, fTime, fType, and fWindowOpen_nsec. 00111 {
00112 ors << fTime
00113 << fStatus
00114 << fType
00115 << fND_sec
00116 << fND_nsec
00117 << fFD_sec
00118 << fFD_nsec
00119 << fGpsError
00120 << fRequest_sec
00121 << fWindowOpen_nsec
00122 << fWindowClose_nsec;
00123 }
|
|
|
Definition at line 51 of file SpillServerMon.h. Referenced by Fill(), GetSpillTimeFD(), SpillServerMon(), and Store(). |
|
|
Definition at line 50 of file SpillServerMon.h. Referenced by Fill(), GetSpillTimeFD(), SpillServerMon(), and Store(). |
|
|
Definition at line 52 of file SpillServerMon.h. Referenced by Fill(), SpillServerMon(), and Store(). |
|
|
Definition at line 49 of file SpillServerMon.h. Referenced by Fill(), GetSpillTimeND(), SpillServerMon(), and Store(). |
|
|
Definition at line 48 of file SpillServerMon.h. Referenced by Fill(), GetSpillTimeND(), SpillServerMon(), and Store(). |
|
|
Definition at line 53 of file SpillServerMon.h. Referenced by Fill(), SpillServerMon(), and Store(). |
|
|
Definition at line 46 of file SpillServerMon.h. Referenced by Fill(), SpillServerMon(), and Store(). |
|
|
Definition at line 45 of file SpillServerMon.h. Referenced by Fill(), GetTimeStamp(), SpillServerMon(), and Store(). |
|
|
Definition at line 47 of file SpillServerMon.h. Referenced by Fill(), SpillServerMon(), and Store(). |
|
|
Definition at line 55 of file SpillServerMon.h. Referenced by SpillServerMon(). |
|
|
Definition at line 54 of file SpillServerMon.h. Referenced by Fill(), SpillServerMon(), and Store(). |
1.3.9.1