ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
ElectronPhotonID
ElectronPhotonSelectorTools
Root
EGSelectorConfigurationMapping.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef __EGSelectorConfigurationMapping__
6
#define __EGSelectorConfigurationMapping__
8
#include "
ElectronPhotonSelectorTools/egammaPIDdefs.h
"
9
#include <map>
10
#include <string>
11
12
namespace
EgammaSelectors
{
13
// These should be the current best-supported ID menus. Typically picked up by
14
// analyzers using the "WorkingPoint" option.
15
// Note: keep this conf file up to date with the PhotonIsEMTightSelectorConfig
16
// function in python/PhotonIsEMTightSelectorCutDefs.py
17
18
// This is the internal part , We need to map string to latest recommendations
19
const
std::map<std::string, std::string>
LHPointToConfFile
= {
20
{
"VeryLooseLHElectron"
,
21
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
22
"ElectronLikelihoodVeryLooseOfflineConfig2017_Smooth.conf"
},
23
{
"LooseLHElectron"
,
24
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
25
"ElectronLikelihoodLooseOfflineConfig2017_Smooth.conf"
},
26
{
"LooseBLLHElectron"
,
27
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
28
"ElectronLikelihoodLooseOfflineConfig2017_CutBL_Smooth.conf"
},
29
{
"MediumLHElectron"
,
30
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
31
"ElectronLikelihoodMediumOfflineConfig2017_Smooth.conf"
},
32
{
"TightLHElectron"
,
33
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
34
"ElectronLikelihoodTightOfflineConfig2017_Smooth.conf"
},
35
{
"VeryLooseLHElectron_Run2"
,
36
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
37
"ElectronLikelihoodVeryLooseOfflineConfig2017_Smooth.conf"
},
38
{
"LooseLHElectron_Run2"
,
39
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
40
"ElectronLikelihoodLooseOfflineConfig2017_Smooth.conf"
},
41
{
"LooseBLLHElectron_Run2"
,
42
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
43
"ElectronLikelihoodLooseOfflineConfig2017_CutBL_Smooth.conf"
},
44
{
"MediumLHElectron_Run2"
,
45
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
46
"ElectronLikelihoodMediumOfflineConfig2017_Smooth.conf"
},
47
{
"TightLHElectron_Run2"
,
48
"ElectronPhotonSelectorTools/offline/mc20_20210514/"
49
"ElectronLikelihoodTightOfflineConfig2017_Smooth.conf"
},
50
{
"VeryLooseLHElectron_LLP"
,
51
"ElectronPhotonSelectorTools/trigger/rel21_20232105/"
52
"ElectronLikelihoodVeryLooseTriggerConfig_NoPix.conf"
},
53
{
"LooseLHElectron_LLP"
,
54
"ElectronPhotonSelectorTools/trigger/rel21_20232105/"
55
"ElectronLikelihoodLooseTriggerConfig_NoPix.conf"
},
56
{
"MediumLHElectron_LLP"
,
57
"ElectronPhotonSelectorTools/trigger/rel21_20232105/"
58
"ElectronLikelihoodMediumTriggerConfig_NoPix.conf"
},
59
{
"TightLHElectron_LLP"
,
60
"ElectronPhotonSelectorTools/trigger/rel21_20232105/"
61
"ElectronLikelihoodTightTriggerConfig_NoPix.conf"
},
62
{
"VeryLooseLHElectron_HI"
,
63
"ElectronPhotonSelectorTools/offline/mc23_20230728_HI/"
64
"ElectronLikelihoodVeryLooseOfflineConfig2023_HI_Smooth_fixed.conf"
},
65
{
"LooseLHElectron_HI"
,
66
"ElectronPhotonSelectorTools/offline/mc23_20230728_HI/"
67
"ElectronLikelihoodLooseOfflineConfig2023_HI_Smooth_fixed.conf"
},
68
{
"MediumLHElectron_HI"
,
69
"ElectronPhotonSelectorTools/offline/mc23_20230728_HI/"
70
"ElectronLikelihoodMediumOfflineConfig2023_HI_Smooth_fixed.conf"
},
71
{
"TightLHElectron_HI"
,
72
"ElectronPhotonSelectorTools/offline/mc23_20230728_HI/"
73
"ElectronLikelihoodTightOfflineConfig2023_HI_Smooth_fixed.conf"
},
74
};
75
const
std::map<std::string, std::string>
PhotonCutPointToConfFile
= {
76
{
"LoosePhoton"
,
77
"ElectronPhotonSelectorTools/offline/mc15_20150712/"
78
"PhotonIsEMLooseSelectorCutDefs.conf"
},
79
{
"MediumPhoton"
,
80
"ElectronPhotonSelectorTools/offline/mc20_20240510/"
81
"PhotonIsEMMediumSelectorCutDefs_pTdep_smooth.conf"
},
82
{
"TightPhoton"
,
83
"ElectronPhotonSelectorTools/offline/mc20_20240510/"
84
"PhotonIsEMTightSelectorCutDefs_pTdep_mc20_smooth.conf"
},
85
{
"TightPhotonWithMu"
,
86
"ElectronPhotonSelectorTools/offline/mc16_20220621/"
87
"PhotonIsEMTightSelectorCutDefs.conf"
},
88
};
89
const
std::map<std::string, std::string>
ForwardLHPointToConfFile
= {
90
{
"LooseLHForwardElectron"
,
91
"ElectronPhotonSelectorTools/offline/mc16_20180822/FwdLHLooseConf.conf"
},
92
{
"MediumLHForwardElectron"
,
93
"ElectronPhotonSelectorTools/offline/mc16_20180822/FwdLHMediumConf.conf"
},
94
{
"TightLHForwardElectron"
,
95
"ElectronPhotonSelectorTools/offline/mc16_20180822/FwdLHTightConf.conf"
},
96
};
97
const
std::map<std::string, std::string>
ForwardElectronCutPointToConfFile
= {
98
{
"LooseForwardElectron"
,
99
"ElectronPhotonSelectorTools/offline/mc15_20150812/"
100
"ForwardElectronIsEMLooseSelectorCutDefs.conf"
},
101
{
"MediumForwardElectron"
,
102
"ElectronPhotonSelectorTools/offline/mc15_20150812/"
103
"ForwardElectronIsEMMediumSelectorCutDefs.conf"
},
104
{
"TightForwardElectron"
,
105
"ElectronPhotonSelectorTools/offline/mc15_20150812/"
106
"ForwardElectronIsEMTightSelectorCutDefs.conf"
},
107
};
108
const
std::map<std::string, std::string>
ElectronCutPointToConfFile
= {
109
{
"LooseElectron"
,
110
"ElectronPhotonSelectorTools/offline/mc15_20150712/"
111
"ElectronIsEMLooseSelectorCutDefs.conf"
},
112
{
"MediumElectron"
,
113
"ElectronPhotonSelectorTools/offline/mc15_20150712/"
114
"ElectronIsEMMediumSelectorCutDefs.conf"
},
115
{
"TightElectron"
,
116
"ElectronPhotonSelectorTools/offline/mc15_20150712/"
117
"ElectronIsEMTightSelectorCutDefs.conf"
}
118
};
119
//----------------------------------------------------------
120
// Map enums to masks , needed for photons
121
const
std::map<std::string, unsigned int>
PhotonCutPointToMask
= {
122
{
"LoosePhoton"
,
egammaPID::PhotonLoose
},
123
{
"MediumPhoton"
,
egammaPID::PhotonMedium
},
124
{
"TightPhoton"
,
egammaPID::PhotonTight
},
125
{
"TightPhotonWithMu"
,
egammaPID::PhotonTight
},
126
};
127
const
std::map<std::string, std::string>
ElectronDNNPointToConfFile
= {
128
{
"VeryLooseDNNElectron"
,
129
"ElectronPhotonSelectorTools/offline/mc20_20240509/"
130
"ElectronDNNMulticlassVeryLoose.conf"
},
131
{
"LooseDNNElectron"
,
132
"ElectronPhotonSelectorTools/offline/mc20_20240509/"
133
"ElectronDNNMulticlassLoose.conf"
},
134
{
"MediumDNNElectron"
,
135
"ElectronPhotonSelectorTools/offline/mc20_20240509/"
136
"ElectronDNNMulticlassMedium.conf"
},
137
{
"TightDNNElectron"
,
138
"ElectronPhotonSelectorTools/offline/mc20_20240509/"
139
"ElectronDNNMulticlassTight.conf"
},
140
{
"VeryLooseDNNnoCFElectron"
,
141
"ElectronPhotonSelectorTools/offline/mc20_20240628/"
142
"ElectronDNNMulticlassVeryLoose.conf"
},
143
{
"VeryLooseNoCF97DNNElectron"
,
144
"ElectronPhotonSelectorTools/offline/mc20_20240628/"
145
"ElectronDNNMulticlassLoose97_cutBL.conf"
},
146
{
"LooseNoCFDNNElectron"
,
147
"ElectronPhotonSelectorTools/offline/mc20_20240628/"
148
"ElectronDNNMulticlassLoose.conf"
},
149
{
"MediumNoCFDNNElectron"
,
150
"ElectronPhotonSelectorTools/offline/mc20_20240628/"
151
"ElectronDNNMulticlassMedium.conf"
},
152
{
"TightNoCFDNNElectron"
,
153
"ElectronPhotonSelectorTools/offline/mc20_20240628/"
154
"ElectronDNNMulticlassTight.conf"
}
155
};
156
//----------------------------------------------------------
157
// Photon BDT working points
158
const
std::map<std::string, std::string>
PhotonBDTPointToConfFile
= {
159
{
"TightBDTPhoton_Run3"
,
160
"ElectronPhotonSelectorTools/offline/mc23_20260310/FudgeFactors/"
161
"PhotonIsBDTTightSelectorCutDefs_mc23.conf"
},
162
{
"TightBDTPhoton_Run3_NFs"
,
163
"ElectronPhotonSelectorTools/offline/mc23_20260310/NFs/"
164
"PhotonIsBDTTightSelectorCutDefs_mc23_NF.conf"
},
165
{
"TightBDTPhoton_Run2"
,
166
"ElectronPhotonSelectorTools/offline/mc20_20260310/FudgeFactors/"
167
"PhotonIsBDTTightSelectorCutDefs_mc20.conf"
},
168
{
"TightBDTPhoton_Run2_NFs"
,
169
"ElectronPhotonSelectorTools/offline/mc20_20260310/NFs/"
170
"PhotonIsBDTTightSelectorCutDefs_mc20_NF.conf"
}
171
};
172
}
173
174
#endif
egammaPIDdefs.h
EgammaSelectors
Definition
EGSelectorConfigurationMapping.h:12
EgammaSelectors::ElectronCutPointToConfFile
const std::map< std::string, std::string > ElectronCutPointToConfFile
Definition
EGSelectorConfigurationMapping.h:108
EgammaSelectors::PhotonBDTPointToConfFile
const std::map< std::string, std::string > PhotonBDTPointToConfFile
Definition
EGSelectorConfigurationMapping.h:158
EgammaSelectors::PhotonCutPointToConfFile
const std::map< std::string, std::string > PhotonCutPointToConfFile
Definition
EGSelectorConfigurationMapping.h:75
EgammaSelectors::ForwardElectronCutPointToConfFile
const std::map< std::string, std::string > ForwardElectronCutPointToConfFile
Definition
EGSelectorConfigurationMapping.h:97
EgammaSelectors::LHPointToConfFile
const std::map< std::string, std::string > LHPointToConfFile
Definition
EGSelectorConfigurationMapping.h:19
EgammaSelectors::ElectronDNNPointToConfFile
const std::map< std::string, std::string > ElectronDNNPointToConfFile
Definition
EGSelectorConfigurationMapping.h:127
EgammaSelectors::ForwardLHPointToConfFile
const std::map< std::string, std::string > ForwardLHPointToConfFile
Definition
EGSelectorConfigurationMapping.h:89
EgammaSelectors::PhotonCutPointToMask
const std::map< std::string, unsigned int > PhotonCutPointToMask
Definition
EGSelectorConfigurationMapping.h:121
egammaPID::PhotonMedium
const unsigned int PhotonMedium
Medium photon selection.
Definition
egammaPIDdefs.h:594
egammaPID::PhotonLoose
const unsigned int PhotonLoose
Loose photon selection.
Definition
egammaPIDdefs.h:586
egammaPID::PhotonTight
const unsigned int PhotonTight
Tight photon selection.
Definition
egammaPIDdefs.h:602
Generated on
for ATLAS Offline Software by
1.17.0