ATLAS Offline Software
ElRecomFileHelpers.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef __ELRECOMFILEHELPERS__
6 #define __ELRECOMFILEHELPERS__
7 #include <string>
8 
9 namespace ElRecomFileHelpers {
10 
11 // Convert reco, ID, iso and trigger key values into a
12 // single key according to the map file key format
13 std::string
14 convertToOneKey(const std::string& recokey,
15  const std::string& idkey,
16  const std::string& isokey,
17  const std::string& trigkey);
18 
19 // Retrieves the value from the provided map file as
20 // associated with the provided key
21 std::string
22 getValueByKey(const std::string& mapFile, const std::string& key);
23 
24 }
25 
26 #endif
ElRecomFileHelpers
Definition: ElRecomFileHelpers.h:9
ElRecomFileHelpers::convertToOneKey
std::string convertToOneKey(const std::string &recokey, const std::string &idkey, const std::string &isokey, const std::string &trigkey)
Definition: ElRecomFileHelpers.cxx:38
ElRecomFileHelpers::getValueByKey
std::string getValueByKey(const std::string &mapFile, const std::string &key)
Definition: ElRecomFileHelpers.cxx:75
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37