/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

LiveTimeAlg.h
Go to the documentation of this file.
00001 #ifndef LIVETIMEALG_H
00002 #define LIVETIMEALG_H
00003 
00004 #include "LafKernel/AlgBase.h"
00005 #include "LafKernel/PhyEventBuf.h"
00006 #include <TTimeStamp.h>
00007 
00008 class MuonVeto;
00009 class LiveTimeSvc;
00010 
00011 class LiveTimeAlg : public AlgBase
00012 {
00013   public:
00014     LiveTimeAlg(const std::string& name);
00015     virtual ~LiveTimeAlg(){}
00016 
00017     virtual bool initialize();
00018     virtual bool execute();
00019     virtual bool finalize();
00020 
00021   private :
00022 
00023     PhyEventBuf*  m_buffer;
00024     LiveTimeSvc *m_liveTimeSvc;
00025     PhyEvent *m_lastEvt;
00026 
00027     TTimeStamp m_beginTime;
00028     TTimeStamp m_endTime;
00029     double m_timeGap;
00030     
00031     MuonVeto *m_muonVeto;
00032 
00033     int m_timeBin;
00034     double m_timeGapInCurBin;
00035 
00036 };
00037 
00038 #endif //LIVETIMEALG_H
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:49 for Algorithms by doxygen 1.7.4