ATLAS Offline Software
Macros
SUSYToolsInit.cxx File Reference
#include "SUSYTools/SUSYObjDef_xAOD.h"
#include "PATCore/PATCoreEnums.h"
#include "TauAnalysisTools/Enums.h"
#include "AssociationUtils/OverlapRemovalInit.h"
#include "FTagAnalysisInterfaces/IBTaggingEfficiencyTool.h"
#include "FTagAnalysisInterfaces/IBTaggingSelectionTool.h"
#include "JetInterface/IJetSelector.h"
#include "JetCalibTools/IJetCalibrationTool.h"
#include "JetCPInterfaces/ICPJetUncertaintiesTool.h"
#include "JetInterface/IJetUpdateJvt.h"
#include "JetInterface/IJetModifier.h"
#include "JetInterface/IJetDecorator.h"
#include "AsgAnalysisInterfaces/IEfficiencyScaleFactorTool.h"
#include "EgammaAnalysisInterfaces/IEgammaCalibrationAndSmearingTool.h"
#include "EgammaAnalysisInterfaces/IAsgElectronEfficiencyCorrectionTool.h"
#include "EgammaAnalysisInterfaces/IAsgElectronIsEMSelector.h"
#include "EgammaAnalysisInterfaces/IAsgElectronLikelihoodTool.h"
#include "EgammaAnalysisInterfaces/IAsgDeadHVCellRemovalTool.h"
#include "EgammaAnalysisInterfaces/IEGammaAmbiguityTool.h"
#include "EgammaAnalysisInterfaces/IAsgPhotonEfficiencyCorrectionTool.h"
#include "EgammaAnalysisInterfaces/IAsgPhotonIsEMSelector.h"
#include "EgammaAnalysisInterfaces/IElectronLRTOverlapRemovalTool.h"
#include "MuonAnalysisInterfaces/IMuonSelectionTool.h"
#include "MuonAnalysisInterfaces/IMuonCalibrationAndSmearingTool.h"
#include "MuonAnalysisInterfaces/IMuonEfficiencyScaleFactors.h"
#include "MuonAnalysisInterfaces/IMuonTriggerScaleFactors.h"
#include "MuonAnalysisInterfaces/IMuonLRTOverlapRemovalTool.h"
#include "TauAnalysisTools/ITauSelectionTool.h"
#include "TauAnalysisTools/ITauSmearingTool.h"
#include "TauAnalysisTools/ITauTruthMatchingTool.h"
#include "TauAnalysisTools/ITauEfficiencyCorrectionsTool.h"
#include "tauRecTools/ITauToolBase.h"
#include "IsolationSelection/IIsolationSelectionTool.h"
#include "IsolationCorrections/IIsolationCorrectionTool.h"
#include "IsolationSelection/IIsolationCloseByCorrectionTool.h"
#include "METInterface/IMETMaker.h"
#include "METInterface/IMETSystematicsTool.h"
#include "METInterface/IMETSignificance.h"
#include "TrigConfInterfaces/ITrigConfigTool.h"
#include "TriggerMatchingTool/IMatchingTool.h"
#include "TriggerMatchingTool/IMatchScoringTool.h"
#include "TriggerAnalysisInterfaces/ITrigGlobalEfficiencyCorrectionTool.h"
#include "TrigDecisionTool/TrigDecisionTool.h"
#include "PATInterfaces/IWeightTool.h"
#include "AsgAnalysisInterfaces/IPileupReweightingTool.h"
#include "PathResolver/PathResolver.h"
#include "AssociationUtils/IOverlapRemovalTool.h"
#include "BoostedJetTaggers/SmoothedWZTagger.h"
#include "BoostedJetTaggers/JSSWTopTaggerDNN.h"
#include "ParticleJetTools/JetTruthLabelingTool.h"
#include "InDetTrackSystematicsTools/IInclusiveTrackFilterTool.h"
#include "AthAnalysisBaseComps/AthAnalysisHelper.h"

Go to the source code of this file.

Macros

#define CONFIG_EG_EFF_TOOL(TOOLHANDLE, TOOLNAME, CORRFILE)
 
#define CONFIG_EG_EFF_TOOL_KEY(TOOLHANDLE, TOOLNAME, KEYNAME, KEY, MAP)
 

Macro Definition Documentation

◆ CONFIG_EG_EFF_TOOL

#define CONFIG_EG_EFF_TOOL (   TOOLHANDLE,
  TOOLNAME,
  CORRFILE 
)
Value:
if( !TOOLHANDLE.isUserConfigured() ) { \
TOOLHANDLE.setTypeAndName("AsgElectronEfficiencyCorrectionTool/"+TOOLNAME); \
std::vector< std::string > corrFileNameList = {CORRFILE}; \
ATH_CHECK( TOOLHANDLE.setProperty("CorrectionFileNameList", corrFileNameList) ); \
if(!isData()) \
ATH_CHECK (TOOLHANDLE.setProperty("ForceDataType", static_cast<int>(data_type))); \
ATH_CHECK( TOOLHANDLE.setProperty("CorrelationModel", m_EG_corrModel) ); \
ATH_CHECK( TOOLHANDLE.setProperty("OutputLevel", this->msg().level()) ); \
ATH_CHECK( TOOLHANDLE.initialize() ); \
} else ATH_CHECK(TOOLHANDLE.retrieve());

Definition at line 85 of file SUSYToolsInit.cxx.

◆ CONFIG_EG_EFF_TOOL_KEY

#define CONFIG_EG_EFF_TOOL_KEY (   TOOLHANDLE,
  TOOLNAME,
  KEYNAME,
  KEY,
  MAP 
)
Value:
if( !TOOLHANDLE.isUserConfigured() ) { \
TOOLHANDLE.setTypeAndName("AsgElectronEfficiencyCorrectionTool/"+TOOLNAME); \
ATH_MSG_INFO( "Will now set key \"" << KEYNAME << "\" to value \"" << KEY << "\" when configuring an AsgElectronEfficiencyCorrectionTool" ); \
ATH_CHECK( TOOLHANDLE.setProperty(KEYNAME, KEY) ); \
if(!isData()) \
ATH_CHECK (TOOLHANDLE.setProperty("ForceDataType", static_cast<int>(data_type))); \
ATH_CHECK( TOOLHANDLE.setProperty("CorrelationModel", m_EG_corrModel) ); \
ATH_CHECK( TOOLHANDLE.setProperty("OutputLevel", this->msg().level()) ); \
ATH_CHECK( TOOLHANDLE.setProperty("MapFilePath", MAP) ); \
ATH_CHECK( TOOLHANDLE.initialize() ); \
} else if (!isData()) ATH_CHECK(TOOLHANDLE.retrieve());

Definition at line 97 of file SUSYToolsInit.cxx.

ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40