BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcTrip.h
Go to the documentation of this file.
1#ifndef MDCTRIPSVC_H_
2#define MDCTRIPSVC_H_
3
4#include "GaudiKernel/Algorithm.h"
5#include "GaudiKernel/NTuple.h"
6#include "GaudiKernel/INTupleSvc.h"
9#include <CLHEP/Units/PhysicalConstants.h>
10#include "GaudiKernel/IIncidentListener.h"
11#include "GaudiKernel/Service.h"
12#include "GaudiKernel/IInterface.h"
13#include "GaudiKernel/IDataProviderSvc.h"
14#include "GaudiKernel/IIncidentListener.h"
15
16#include "TROOT.h"
17#include "TObjArray.h"
18#include "TH1F.h"
19#include "TProfile.h"
20#include "TFile.h"
21#include "TFolder.h"
22
23#include <string>
24#include <vector>
25
26class MdcTrip: public Service, virtual public IMdcTrip,virtual public IIncidentListener{
27 public:
28 MdcTrip( const std::string& name, ISvcLocator* svcloc );
29 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
30 virtual StatusCode initialize();
31 virtual StatusCode finalize();
32 void handle(const Incident& inc);
34
35 int m_nEvt;
36
37 int iRun;
38 int m_Run;
39 int m;
40 int laynum;
41 vector<time_t> vec;
42 vector<time_t> vec1;
43 time_t Starttime;
44 time_t Stoptime;
45 //bool m_ReadRunFromDB;
47
48 IDataProviderSvc* m_eventSvc;
49};
50#endif
IDataProviderSvc * m_eventSvc
Definition: MdcTrip.h:48
MdcTrip(const std::string &name, ISvcLocator *svcloc)
int laynum
Definition: MdcTrip.h:40
int m_nEvt
Definition: MdcTrip.h:35
time_t Stoptime
Definition: MdcTrip.h:44
int m
Definition: MdcTrip.h:39
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
time_t Starttime
Definition: MdcTrip.h:43
ReadRuntripFromDb m_readt
Definition: MdcTrip.h:46
vector< time_t > vec1
Definition: MdcTrip.h:42
int iRun
Definition: MdcTrip.h:37
bool getTripFlag()
int m_Run
Definition: MdcTrip.h:38
vector< time_t > vec
Definition: MdcTrip.h:41
virtual StatusCode finalize()
virtual StatusCode initialize()
void handle(const Incident &inc)