DQSpillServer Class Reference

#include <DQSpillServer.h>

List of all members.

Public Member Functions

 DQSpillServer ()
 DQSpillServer (const DQSpillServer &rhs)
 ~DQSpillServer ()
void Process (RawSpillServerMonitorBlock *rdb)
Int_t GetTime () const
Int_t GetSpillStatus () const
Int_t GetSpillType () const
Int_t GetSpillTimeError () const

Private Member Functions

 ClassDef (DQSpillServer, 1)

Private Attributes

Int_t fTime
Int_t fSpillStatus
Int_t fSpillType
Int_t fSpillTimeError

Detailed Description

Definition at line 9 of file DQSpillServer.h.


Constructor & Destructor Documentation

DQSpillServer::DQSpillServer (  ) 

Definition at line 13 of file DQSpillServer.cxx.

00013                              :
00014   fTime(-1),
00015   fSpillStatus(-1),
00016   fSpillType(-1),
00017   fSpillTimeError(-1)
00018 {
00019  
00020 }
 

DQSpillServer::DQSpillServer ( const DQSpillServer rhs  ) 

Definition at line 22 of file DQSpillServer.cxx.

00022                                                      :
00023   TObject(rhs)
00024 {
00025  
00026 }
   

DQSpillServer::~DQSpillServer (  ) 

Definition at line 28 of file DQSpillServer.cxx.

00029 {
00030  
00031 }


Member Function Documentation

DQSpillServer::ClassDef ( DQSpillServer  ,
 
) [private]
Int_t DQSpillServer::GetSpillStatus (  )  const

Definition at line 56 of file DQSpillServer.cxx.

References fSpillStatus.

Referenced by AlgDataQuality::RunAlg().

00057 {
00058   return fSpillStatus;
00059 }  

Int_t DQSpillServer::GetSpillTimeError (  )  const

Definition at line 66 of file DQSpillServer.cxx.

References fSpillTimeError.

Referenced by AlgDataQuality::RunAlg().

00067 {
00068   return fSpillTimeError;
00069 }

Int_t DQSpillServer::GetSpillType (  )  const

Definition at line 61 of file DQSpillServer.cxx.

References fSpillType.

Referenced by AlgDataQuality::RunAlg().

00062 {
00063   return fSpillType;
00064 }  

Int_t DQSpillServer::GetTime (  )  const

Definition at line 51 of file DQSpillServer.cxx.

References fTime.

Referenced by AlgDataQuality::RunAlg().

00052 {
00053   return fTime;
00054 }

void DQSpillServer::Process ( RawSpillServerMonitorBlock rdb  ) 

Definition at line 33 of file DQSpillServer.cxx.

References fSpillStatus, fSpillTimeError, fSpillType, fTime, RawSpillServerMonitorBlock::GetSpillData(), RawSpillServerMonitorBlock::GetTimeStamp(), mdSpillData_t::isKnown, mdSpillData_t::isSpill, Msg::kVerbose, MSG, and mdSpillData_t::spillTimeError_nsec.

Referenced by DataQualityReader::ProcessBlock().

00034 {
00035   MSG("DataQuality",Msg::kVerbose) << " DQSpillServer::Process(RawSpillServerMonitorBlock) " << endl;
00036 
00037   fTime=((VldTimeStamp)(rdb->GetTimeStamp())).GetSec();
00038 
00039   const mdSpillData_t& spilldata = rdb->GetSpillData();
00040   fSpillStatus = spilldata.isKnown;
00041   fSpillType = spilldata.isSpill;
00042   fSpillTimeError = spilldata.spillTimeError_nsec;
00043 
00044   MSG("DataQuality",Msg::kVerbose) << "   Time=" << fTime << endl;
00045   MSG("DataQuality",Msg::kVerbose) << "   SpillStatus=" << fSpillStatus << endl;
00046   MSG("DataQuality",Msg::kVerbose) << "   SpillType=" << fSpillType << endl;
00047   MSG("DataQuality",Msg::kVerbose) << "   SpillTimeError=" << fSpillTimeError << endl;
00048 
00049 }


Member Data Documentation

Int_t DQSpillServer::fSpillStatus [private]

Definition at line 27 of file DQSpillServer.h.

Referenced by GetSpillStatus(), and Process().

Definition at line 29 of file DQSpillServer.h.

Referenced by GetSpillTimeError(), and Process().

Int_t DQSpillServer::fSpillType [private]

Definition at line 28 of file DQSpillServer.h.

Referenced by GetSpillType(), and Process().

Int_t DQSpillServer::fTime [private]

Definition at line 26 of file DQSpillServer.h.

Referenced by GetTime(), and Process().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1