Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:24

0001 #ifndef L1TriggerConfig_L1TConfigProducers_QueryHelper_h
0002 #define L1TriggerConfig_L1TConfigProducers_QueryHelper_h
0003 
0004 #include <map>
0005 #include <vector>
0006 #include <string>
0007 #include <numeric>
0008 #include <algorithm>
0009 #include "CondTools/L1Trigger/interface/OMDSReader.h"
0010 
0011 namespace l1t {
0012 
0013   // The following class encloses some of the conventions for the online DB model:
0014   //  https://indico.cern.ch/event/591003/contributions/2384788/attachments/1378957/2095301/L1TriggerDatabase_v2.pdf
0015 
0016   class OnlineDBqueryHelper {
0017   public:
0018     static std::map<std::string, std::string> fetch(const std::vector<std::string> &queryColumns,
0019                                                     const std::string &table,
0020                                                     const std::string &key,
0021                                                     l1t::OMDSReader &m_omdsReader);
0022   };
0023 
0024 }  // namespace l1t
0025 #endif