/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 /* 00002 * \class PerJobInfo 00003 * 00004 * \brief Persistant version of JobInfo 00005 * 00006 * dandwyer@caltech.edu 2010/12/16 00007 * 00008 */ 00009 00010 #ifndef PERJOBINFO_H 00011 #define PERJOBINFO_H 00012 00013 #include <string> 00014 #include <map> 00015 #include "Conventions/JobId.h" 00016 00017 class PerJobInfo { 00018 public: 00019 PerJobInfo(); 00020 PerJobInfo(const DayaBay::JobId& jobId, 00021 const std::map<std::string,std::string>& parameters); 00022 virtual ~PerJobInfo(); 00023 // Helper functions for direct ROOT access 00024 unsigned int size(); 00025 std::string name(unsigned int index); 00026 std::string value(unsigned int index); 00027 std::string infoString(); 00028 00029 DayaBay::JobId jobId; 00030 std::map<std::string, std::string> parameters; 00031 }; 00032 00033 #endif // PERJOBINFO_H