00001 #ifndef MuonChainIdMap_h 00002 #define MuonChainIdMap_h 00003 void MuonTriggerMatching::createChainIdMapFromFile() { 00004 std::cerr << "MuonTriggerMatching\t" << "inf> " << "Create ChainIdMap from TrigMuonEfficiency/MuonChainIdMap.h.\n"; 00005 std::cerr << std::endl; 00006 00007 std::map<std::string, int> ChainIdMap; 00008 ChainIdMap.insert(std::pair<std::string, int>("EF_mu18", 10937)); 00009 ChainIdMap.insert(std::pair<std::string, int>("EF_mu18_medium", 10941)); 00010 ChainIdMap.insert(std::pair<std::string, int>("EF_mu18_MG", 10975)); 00011 ChainIdMap.insert(std::pair<std::string, int>("EF_mu18_MG_medium", 10824)); 00012 ChainIdMap.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel", 10944)); 00013 ChainIdMap.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel_medium", 10874)); 00014 ChainIdMap.insert(std::pair<std::string, int>("L2_mu15", 131)); 00015 ChainIdMap.insert(std::pair<std::string, int>("L2_mu15_medium", 957)); 00016 ChainIdMap.insert(std::pair<std::string, int>("EF_mu15", 10131)); 00017 ChainIdMap.insert(std::pair<std::string, int>("EF_mu15_mu10_EFFS", 10943)); 00018 ChainIdMap.insert(std::pair<std::string, int>("EF_mu15_mu10_EFFS_medium", 10845)); 00019 ChainIdMap.insert(std::pair<std::string, int>("EF_2mu4", 10288)); 00020 ChainIdMap.insert(std::pair<std::string, int>("EF_2mu4T", 10288)); 00021 ChainIdMap.insert(std::pair<std::string, int>("EF_2mu6", 10135)); 00022 ChainIdMap.insert(std::pair<std::string, int>("EF_2mu10", 10914)); 00023 ChainIdMap.insert(std::pair<std::string, int>("EF_2mu10_loose", 10274)); 00024 ChainIdMap.insert(std::pair<std::string, int>("EF_mu20it_tight", 10970)); 00025 ChainIdMap.insert(std::pair<std::string, int>("EF_mu24i_tight", 10785)); 00026 ChainIdMap.insert(std::pair<std::string, int>("EF_mu36_tight", 10950)); 00027 ChainIdMap.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel_tight", 10870)); 00028 ChainIdMap.insert(std::pair<std::string, int>("EF_mu18_tight_mu8_EFFS", 10545)); 00029 ChainIdMap.insert(std::pair<std::string, int>("EF_2mu13", 10823)); 00030 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(-1, ChainIdMap)); 00031 00032 std::map<std::string, int> ChainIdMap1051; 00033 ChainIdMap1051.insert(std::pair<std::string, int>("EF_mu18", 10937)); 00034 ChainIdMap1051.insert(std::pair<std::string, int>("EF_mu18_MG", 10975)); 00035 ChainIdMap1051.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel", 10944)); 00036 ChainIdMap1051.insert(std::pair<std::string, int>("L2_mu15", 943)); 00037 ChainIdMap1051.insert(std::pair<std::string, int>("EF_mu15", 10131)); 00038 ChainIdMap1051.insert(std::pair<std::string, int>("EF_mu15_mu10_EFFS", 10943)); 00039 ChainIdMap1051.insert(std::pair<std::string, int>("EF_2mu4", 10288)); 00040 ChainIdMap1051.insert(std::pair<std::string, int>("EF_2mu4T", 10288)); 00041 ChainIdMap1051.insert(std::pair<std::string, int>("EF_2mu6", 10135)); 00042 ChainIdMap1051.insert(std::pair<std::string, int>("EF_2mu10", 10914)); 00043 ChainIdMap1051.insert(std::pair<std::string, int>("EF_2mu10_loose", 10274)); 00044 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1051, ChainIdMap1051)); 00045 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1052, ChainIdMap1051)); 00046 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1053, ChainIdMap1051)); 00047 00048 std::map<std::string, int> ChainIdMap1122; 00049 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu18", 10937)); 00050 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu18_medium", 10941)); 00051 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu18_MG", 10975)); 00052 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu18_MG_medium", 10824)); 00053 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel", 10944)); 00054 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel_medium", 10874)); 00055 ChainIdMap1122.insert(std::pair<std::string, int>("L2_mu15", 131)); 00056 ChainIdMap1122.insert(std::pair<std::string, int>("L2_mu15_medium", 136)); 00057 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu15", 10131)); 00058 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu15_mu10_EFFS", 10943)); 00059 ChainIdMap1122.insert(std::pair<std::string, int>("EF_mu15_mu10_EFFS_medium", 10845)); 00060 ChainIdMap1122.insert(std::pair<std::string, int>("EF_2mu4", 10288)); 00061 ChainIdMap1122.insert(std::pair<std::string, int>("EF_2mu4T", 10288)); 00062 ChainIdMap1122.insert(std::pair<std::string, int>("EF_2mu6", 10135)); 00063 ChainIdMap1122.insert(std::pair<std::string, int>("EF_2mu10", 10914)); 00064 ChainIdMap1122.insert(std::pair<std::string, int>("EF_2mu10_loose", 10274)); 00065 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(295, ChainIdMap1122)); 00066 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(308, ChainIdMap1122)); 00067 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(310, ChainIdMap1122)); 00068 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1259, ChainIdMap1122)); 00069 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1255, ChainIdMap1122)); 00070 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1254, ChainIdMap1122)); 00071 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1237, ChainIdMap1122)); 00072 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1236, ChainIdMap1122)); 00073 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1232, ChainIdMap1122)); 00074 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1231, ChainIdMap1122)); 00075 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1228, ChainIdMap1122)); 00076 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1223, ChainIdMap1122)); 00077 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1216, ChainIdMap1122)); 00078 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1215, ChainIdMap1122)); 00079 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1213, ChainIdMap1122)); 00080 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1208, ChainIdMap1122)); 00081 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1187, ChainIdMap1122)); 00082 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1190, ChainIdMap1122)); 00083 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1187, ChainIdMap1122)); 00084 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1176, ChainIdMap1122)); 00085 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1172, ChainIdMap1122)); 00086 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1170, ChainIdMap1122)); 00087 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1168, ChainIdMap1122)); 00088 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1164, ChainIdMap1122)); 00089 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1163, ChainIdMap1122)); 00090 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1161, ChainIdMap1122)); 00091 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1141, ChainIdMap1122)); 00092 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1137, ChainIdMap1122)); 00093 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1132, ChainIdMap1122)); 00094 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1127, ChainIdMap1122)); 00095 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1123, ChainIdMap1122)); 00096 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1122, ChainIdMap1122)); 00097 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1101, ChainIdMap1122)); 00098 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1096, ChainIdMap1122)); 00099 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1094, ChainIdMap1122)); 00100 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1087, ChainIdMap1122)); 00101 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1085, ChainIdMap1122)); 00102 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1082, ChainIdMap1122)); 00103 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1078, ChainIdMap1122)); 00104 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1053, ChainIdMap1122)); 00105 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1052, ChainIdMap1122)); 00106 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1051, ChainIdMap1122)); 00107 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1048, ChainIdMap1122)); 00108 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1044, ChainIdMap1122)); 00109 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1043, ChainIdMap1122)); 00110 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1039, ChainIdMap1122)); 00111 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1038, ChainIdMap1122)); 00112 00113 std::map<std::string, int> ChainIdMap325; 00114 ChainIdMap325.insert(std::pair<std::string, int>("L2_mu18_tight" , 943)); 00115 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu8", 10815)); 00116 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu18_tight" , 10943)); 00117 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu15", 10840)); 00118 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu18", 850)); 00119 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu20it_tight", 10970)); 00120 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu24_tight", 10944)); 00121 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu24i_tight", 10785)); 00122 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu36_tight", 10950)); 00123 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu40_MSonly_barrel_tight", 10870)); 00124 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu18_tight_mu8_EFFS", 10545)); 00125 ChainIdMap325.insert(std::pair<std::string, int>("EF_2mu13", 10823)); 00126 ChainIdMap325.insert(std::pair<std::string, int>("EF_mu24_j65_a4tchad_EFxe40_tclcw", 10109)); 00127 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(325, ChainIdMap325)); 00128 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1369, ChainIdMap325)); 00129 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1370, ChainIdMap325)); 00130 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1372, ChainIdMap325)); 00131 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1373, ChainIdMap325)); 00132 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1374, ChainIdMap325)); 00133 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1375, ChainIdMap325)); 00134 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1388, ChainIdMap325)); 00135 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1389, ChainIdMap325)); 00136 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1393, ChainIdMap325)); 00137 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1396, ChainIdMap325)); 00138 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1398, ChainIdMap325)); 00139 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1399, ChainIdMap325)); 00140 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1404, ChainIdMap325)); 00141 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1407, ChainIdMap325)); 00142 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1409, ChainIdMap325)); 00143 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1413, ChainIdMap325)); 00144 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1428, ChainIdMap325)); 00145 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1430, ChainIdMap325)); 00146 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1433, ChainIdMap325)); 00147 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1439, ChainIdMap325)); 00148 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1441, ChainIdMap325)); 00149 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1443, ChainIdMap325)); 00150 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1445, ChainIdMap325)); 00151 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1446, ChainIdMap325)); 00152 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1453, ChainIdMap325)); 00153 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1459, ChainIdMap325)); 00154 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1487, ChainIdMap325)); 00155 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1505, ChainIdMap325)); 00156 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1511, ChainIdMap325)); 00157 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1514, ChainIdMap325)); 00158 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1518, ChainIdMap325)); 00159 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1522, ChainIdMap325)); 00160 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1529, ChainIdMap325)); 00161 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1532, ChainIdMap325)); 00162 m_MapOfChainIdMap.insert(std::pair<int, std::map<std::string, int> >(1534, ChainIdMap325)); 00163 00164 } 00165 #endif