BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcTripSvc.h
Go to the documentation of this file.
1#ifndef MDCTRIPSVC_H_
2#define MDCTRIPSVC_H_
3
4#include "GaudiKernel/Service.h"
5#include "GaudiKernel/IIncidentListener.h"
6#include "GaudiKernel/ISvcLocator.h"
7#include "GaudiKernel/IInterface.h"
8
9#include <time.h>
10#include <vector>
11
14
15class MdcTripSvc: public Service, virtual public IMdcTripSvc,virtual public IIncidentListener{
16 public:
17 MdcTripSvc( const std::string& name, ISvcLocator* svcloc );
18 ~MdcTripSvc();
19 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
20 virtual StatusCode initialize();
21 virtual StatusCode finalize();
22 void handle(const Incident& inc);
23 bool getTripFlag(int iRun, time_t etime);
24
25private:
26 int m_nEvt;
27 int m_Run;
28 bool m_isTrip;
29 vector<time_t> vec;
30 vector<time_t> vec1;
31 ReadRuntripFromDb m_readt;
32};
33#endif
virtual StatusCode initialize()
Definition: MdcTripSvc.cxx:30
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
Definition: MdcTripSvc.cxx:51
virtual StatusCode finalize()
Definition: MdcTripSvc.cxx:42
bool getTripFlag(int iRun, time_t etime)
Definition: MdcTripSvc.cxx:64
void handle(const Incident &inc)
Definition: MdcTripSvc.cxx:129