|
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"
127 Gaudi::Property<double>
m_maxEta{
this,
"MaxEta", 2.7,
"Maximum eta range to select the muons"};
128 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"};
129 Gaudi::Property<bool>
m_toroidOff{
this,
"ToroidOff",
false,
"Run the tool in Toroid off setup"};
130 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"};
132 Gaudi::Property<bool>
m_recalcPrecisionLayerswNSW{
this,
"RecalcPrecisionLayerswNSW",
true,
"Recalculate nprecisionlayers with internal criteria for NSW"};
133 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)"};
134 Gaudi::Property<int>
m_caloScoreWP{
this,
"CaloScoreWP", 4,
"Currently there are 4 CaloScore WPs for testing; WP4 is the recommended one"};
135 Gaudi::Property<bool>
m_useLRT{
this,
"UseLRT",
false,
"Enable support for LRT muons"};
146 Gaudi::Property<bool>
m_use2stationMuonsHighPt{
this,
"Use2stationMuonsHighPt",
true,
"for users of high-pT working point to choose whether to include 'safe' 2-station muons"};
147 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."};
148 Gaudi::Property<bool>
m_useSegmentTaggedLowPt{
this,
"UseSegmentTaggedLowPt",
false,
"Use MVA low-pt WP. In development phase"};
149 Gaudi::Property<bool>
m_geoOnTheFly{
this,
"AllowSettingGeometryOnTheFly",
false,
"avoids crash if run2/run3 geo is wrongly set"};
151 Gaudi::Property<bool>
m_allowComm{
this,
"AcceptCommChain",
true,
"Accepts muons from the EMEO chain if set to true"};
152 Gaudi::Property<bool>
m_useBEEBISInHighPtRun3{
this,
"UseBEEBISInHighPtRun3",
false,
"Include BEE and BIS7/8 in high-pT WP in Run3"};
158 this,
"MVAreaderFile_EVEN_MuidCB",
159 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuidCB_EVEN.weights.xml"};
161 this,
"MVAreaderFile_ODD_MuidCB",
162 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuidCB_ODD.weights.xml"};
165 this,
"MVAreaderFile_EVEN_MuGirl",
166 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuGirl_EVEN.weights.xml"};
168 this,
"MVAreaderFile_ODD_MuGirl",
169 "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuGirl_ODD.weights.xml"};
172 this,
"MVAreaderFile_MuTagIMO_etaBin1",
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin1.weights.xml"};
174 this,
"MVAreaderFile_MuTagIMO_etaBin2",
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin2.weights.xml"};
176 this,
"MVAreaderFile_MuTagIMO_etaBin3",
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin3.weights.xml"};
182 Gaudi::Property<std::string>
m_custom_dir{
this,
"CustomInputFolder",
""};
186 "MuonSelectorTools/180620_BMVmimicCutFunctions/BMVmimicCutFunctions.root"};
203 unsigned int getRunNumber(
bool needOnlyCorrectYear =
false)
const;
206 bool isBIS78(
const float eta,
const float phi)
const;
207 bool isBEE(
const float eta,
const float phi)
const;
208 bool isBMG(
const float eta,
const float phi)
const;
245 ATH_MSG_FATAL(__FILE__ <<
":" << __LINE__ <<
" Failed to retrieve summary value " <<
type);
246 throw std::runtime_error(
"MuonSelectorTool summary retrieval failed");
262 bool isRun3(
bool forceOnTheFly =
false)
const {
271 #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.