Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-05-27 01:56:29

0001 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCalESProducerTools_h
0002 #define RecoLocalCalo_HGCalRecAlgos_HGCalESProducerTools_h
0003 
0004 #include <string>
0005 #include <nlohmann/json.hpp>
0006 using json = nlohmann::ordered_json;  // ordered_json preserves key insertion order
0007 
0008 namespace hgcal {
0009 
0010   std::string search_modkey(const std::string& module, const json& data, const std::string& name);
0011   std::string search_fedkey(const int& fedid, const json& data, const std::string& name);
0012   bool check_keys(const json& data,
0013                   const std::string& firstkey,
0014                   const std::vector<std::string>& keys,
0015                   const std::string& fname);
0016 
0017 }  // namespace hgcal
0018 
0019 #endif