BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
DistBoss/DistBossServer/DistBossServer-00-00-04/DistBossServer/JobOptionsMgr.h
Go to the documentation of this file.
1#ifndef JOBOPTIONS_MGR_H
2#define JOBOPTIONS_MGR_H
3
4#include <string>
5#include <vector>
6
7class Property;
8class JobOptionsSvc;
9
10
12{
13 public :
14
15 JobOptionsMgr(const std::string& optname);
16 virtual ~JobOptionsMgr();
17
18 const std::string& optName() { return m_optName; }
19
20 int inputType() { return m_iFileType; }
21 int evtMax() { return m_evtMax; }
22 const std::vector<std::string>& inputFiles() { return m_inputFiles; }
23
24 const std::vector<int>& outputTypes() { return m_oFileTypes; }
25 const std::string& dstFile() { return m_dstFile; }
26 const std::string& recFile() { return m_recFile; }
27 const std::vector<std::string>& tupleOpts() { return m_tupleOpts; }
28 const std::vector<std::string>& histOpts() { return m_histOpts; }
29
30 void clientOptsTemplate(const std::string& svrName);
31
32
33 private :
34
35 const Property* getProperty(const std::string& client, const std::string& name);
36
38
39
40 private :
41
42 std::string m_optName;
43
44 int m_iFileType;
45 int m_evtMax;
46 std::vector<std::string> m_inputFiles;
47
48 std::vector<int> m_oFileTypes;
49 std::string m_dstFile;
50 std::string m_recFile;
51 std::vector<std::string> m_tupleOpts; //for users' Ntuples
52 std::vector<std::string> m_histOpts; //for users' Hists
53
54 JobOptionsSvc* m_svc;
55};
56
57#endif
void clientOptsTemplate(const std::string &svrName)
virtual ~JobOptionsMgr()