Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eloghandler.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file eloghandler.h
1 #ifndef __ELOGHANDLER_H
2 #define __ELOGHANDLER_H
3 
4 
5 #include <string>
6 
7 
8 
9 class ElogHandler {
10 
11 public:
12 
13  //** Constructors
14 
15  ElogHandler (const std::string h, const int p, const std::string name);
16 
17  virtual ~ElogHandler() {};
18 
19  virtual int BegrunLog ( const int run, std::string who, std::string filename);
20  virtual int EndrunLog ( const int run, std::string who, const int events, const double volume=0, time_t starttime=0);
21 
22  virtual std::string getHost() const {return hostname;};
23  virtual int getPort() const {return port;};
24  virtual std::string getLogbookName() const {return logbookname;};
25 
26 
27 protected:
28 
31  int port;
32 
33 
34 };
35 
36 #endif
37 
38