|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef MUONSELECTORTOOLS_MUONSELECTIONTOOL_H 
    6 #define MUONSELECTORTOOLS_MUONSELECTIONTOOL_H 
   17 #include "TMVA/Reader.h" 
  121         bool isBEE(
const float eta, 
const float phi) 
const;
 
  123         bool isBMG(
const float eta, 
const float phi) 
const;
 
  154                 ATH_MSG_FATAL(__FILE__ << 
":" << __LINE__ << 
" Failed to retrieve summary value " << 
type);
 
  155                 throw std::runtime_error(
"MuonSelectorTool summary retrieval failed");
 
  178         Gaudi::Property<double> 
m_maxEta{
this, 
"MaxEta", 2.7, 
"Maximum eta range to select the muons"};
 
  179         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"};
 
  180         Gaudi::Property<bool> 
m_toroidOff{
this, 
"ToroidOff", 
false, 
"Run the tool in Toroid off setup"};
 
  181         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"}; 
 
  183         Gaudi::Property<bool> 
m_recalcPrecisionLayerswNSW{
this, 
"RecalcPrecisionLayerswNSW", 
true, 
"Recalculate nprecisionlayers with internal criteria for NSW"};
 
  184         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)"};
 
  185         Gaudi::Property<int>  
m_caloScoreWP{
this, 
"CaloScoreWP", 4,
"Currently there are 4 CaloScore WPs for testing; WP4 is the recommended one"};
 
  186         Gaudi::Property<bool> 
m_useLRT{
this, 
"UseLRT", 
false, 
"Enable support for LRT muons"};
 
  197         Gaudi::Property<bool> 
m_use2stationMuonsHighPt{
this, 
"Use2stationMuonsHighPt", 
true, 
"for users of high-pT working point to choose whether to include 'safe' 2-station muons"};
 
  198         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."};
 
  199         Gaudi::Property<bool> 
m_useSegmentTaggedLowPt{
this, 
"UseSegmentTaggedLowPt", 
false, 
"Use MVA low-pt WP. In development phase"};
 
  200         Gaudi::Property<bool> 
m_geoOnTheFly{
this, 
"AllowSettingGeometryOnTheFly", 
false,
"avoids crash if run2/run3 geo is wrongly set"};
 
  202         Gaudi::Property<bool> 
m_allowComm{
this, 
"AcceptCommChain", 
true, 
"Accepts muons from the EMEO chain if set to true"};
 
  203         Gaudi::Property<bool> 
m_useBEEBISInHighPtRun3{
this, 
"UseBEEBISInHighPtRun3", 
true, 
"Include BEE and BIS7/8 in high-pT WP in Run3"};        
 
  205         Gaudi::Property<int> 
m_expertMode_RunNumber{
this, 
"expertMode_RunNumber", 0, 
"Expert only option. Overwrites RunNumber"};
 
  206         Gaudi::Property<unsigned long long> 
m_expertMode_EvtNumber{
this, 
"expertMode_EvtNumber", 0, 
"Expert only option. Overwrites EventNumber"};
 
  212             this, 
"MVAreaderFile_EVEN_MuidCB",
 
  213             "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuidCB_EVEN.weights.xml"};
 
  215             this, 
"MVAreaderFile_ODD_MuidCB",
 
  216             "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuidCB_ODD.weights.xml"};
 
  219             this, 
"MVAreaderFile_EVEN_MuGirl",
 
  220             "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuGirl_EVEN.weights.xml"};
 
  222             this, 
"MVAreaderFile_ODD_MuGirl",
 
  223             "MuonSelectorTools/190118_PrelimLowPtMVA/LowPtMVA_Weights/BDTG_9JAN2019_MuGirl_ODD.weights.xml"};
 
  226             this, 
"MVAreaderFile_MuTagIMO_etaBin1", 
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin1.weights.xml"};
 
  228             this, 
"MVAreaderFile_MuTagIMO_etaBin2", 
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin2.weights.xml"};
 
  230             this, 
"MVAreaderFile_MuTagIMO_etaBin3", 
"dev/MuonSelectorTools/181121_MuTagIMO_BDT/BDT_NOV2021_MuTagIMO_etaBin3.weights.xml"};
 
  236         Gaudi::Property<std::string> 
m_custom_dir{
this, 
"CustomInputFolder", 
""};
 
  240                                                   "MuonSelectorTools/180620_BMVmimicCutFunctions/BMVmimicCutFunctions.root"};
 
  257         unsigned int getRunNumber(
bool needOnlyCorrectYear = 
false) 
const;
 
  276         bool isRun3(
bool forceOnTheFly = 
false)
 const {
 
  286         ToolHandle< AthInfer::IAthInferenceTool >  
m_onnxTool{
this, 
"ORTInferenceTool", 
"AthOnnx::OnnxRuntimeInferenceTool"};
 
  292 #endif  // CPTOOLTESTS_MUONSELECTIONTOOL_H 
  
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
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.