|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONSELECTORTOOLS_MUONSELECTIONTOOL_H
6 #define MUONSELECTORTOOLS_MUONSELECTIONTOOL_H
16 #include "TMVA/Reader.h"
115 bool isBIS78(
const float eta,
const float phi)
const;
117 bool isBEE(
const float eta,
const float phi)
const;
119 bool isBMG(
const float eta,
const float phi)
const;
150 ATH_MSG_FATAL(__FILE__ <<
":" << __LINE__ <<
" Failed to retrieve summary value " <<
type);
151 throw std::runtime_error(
"MuonSelectorTool summary retrieval failed");
171 Gaudi::Property<double>
m_maxEta{
this,
"MaxEta", 2.7,
"Maximum eta range to select the muons"};
172 Gaudi::Property<int>
m_quality{
this,
"MuQuality", 1,
"Quality to select. Values correspond to 0=Tight, 1=Medium, 2=Loose, 3=VeryLoose (only for debug, not supported), 4=HighPt, 5=LowPtEfficiency"};
173 Gaudi::Property<bool>
m_toroidOff{
this,
"ToroidOff",
false,
"Run the tool in Toroid off setup"};
174 Gaudi::Property<bool>
m_isRun3{
this,
"IsRun3Geo",
false,
"Switch to toggle the run 2 & run 3 geometry cuts. The tool will throw an exception if the run number does not match the expectations later"};
176 Gaudi::Property<bool>
m_recalcPrecisionLayerswNSW{
this,
"RecalcPrecisionLayerswNSW",
true,
"Recalculate nprecisionlayers with internal criteria for NSW"};
177 Gaudi::Property<bool>
m_useCaloScore{
this,
"UseCaloScore",
true,
"Use CaloScore for calo-tags in the Loose working point. False will revert back to CaloMuonIDTag (not recommended in Rel.22)"};
178 Gaudi::Property<int>
m_caloScoreWP{
this,
"CaloScoreWP", 4,
"Currently there are 4 CaloScore WPs for testing; WP4 is the recommended one"};
179 Gaudi::Property<bool>
m_useLRT{
this,
"UseLRT",
false,
"Enable support for LRT muons"};
190 Gaudi::Property<bool>
m_use2stationMuonsHighPt{
this,
"Use2stationMuonsHighPt",
true,
"for users of high-pT working point to choose whether to include 'safe' 2-station muons"};
191 Gaudi::Property<bool>
m_useMVALowPt{
this,
"UseMVALowPt",
false,
"for users of low-pT working point to choose whether to use MVA and whether to include MuTagIMO muons. Not yet supported in release 22, crrently only for development studies."};
192 Gaudi::Property<bool>
m_useSegmentTaggedLowPt{
this,
"UseSegmentTaggedLowPt",
false,
"Use MVA low-pt WP. In development phase"};
193 Gaudi::Property<bool>
m_geoOnTheFly{
this,
"AllowSettingGeometryOnTheFly",
false,
"avoids crash if run2/run3 geo is wrongly set"};
195 Gaudi::Property<bool>
m_allowComm{
this,
"AcceptCommChain",
true,
"Accepts muons from the EMEO chain if set to true"};
196 Gaudi::Property<bool>
m_useBEEBISInHighPtRun3{
this,
"UseBEEBISInHighPtRun3",
false,
"Include BEE and BIS7/8 in high-pT WP in Run3"};
202 this,
"MVAreaderFile_EVEN_MuidCB",
203 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuidCB_EVEN.weights.xml"};
205 this,
"MVAreaderFile_ODD_MuidCB",
206 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuidCB_ODD.weights.xml"};
209 this,
"MVAreaderFile_EVEN_MuGirl",
210 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuGirl_EVEN.weights.xml"};
212 this,
"MVAreaderFile_ODD_MuGirl",
213 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuGirl_ODD.weights.xml"};
216 this,
"MVAreaderFile_MuTagIMO_etaBin1",
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin1.weights.xml"};
218 this,
"MVAreaderFile_MuTagIMO_etaBin2",
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin2.weights.xml"};
220 this,
"MVAreaderFile_MuTagIMO_etaBin3",
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin3.weights.xml"};
226 Gaudi::Property<std::string>
m_custom_dir{
this,
"CustomInputFolder",
""};
230 "MuonSelectorTools/180620_BMVmimicCutFunctions/BMVmimicCutFunctions.root"};
247 unsigned int getRunNumber(
bool needOnlyCorrectYear =
false)
const;
266 bool isRun3(
bool forceOnTheFly =
false)
const {
277 #endif // CPTOOLTESTS_MUONSELECTIONTOOL_H
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a TrackParticle.