ATLAS Offline Software
Functions
EGIdentification_mem_check.cxx File Reference
#include "EgammaAnalysisInterfaces/IAsgPhotonIsEMSelector.h"
#include "EgammaAnalysisInterfaces/IAsgForwardElectronIsEMSelector.h"
#include "EgammaAnalysisInterfaces/IAsgElectronIsEMSelector.h"
#include "EgammaAnalysisInterfaces/IAsgElectronLikelihoodTool.h"
#include "AsgTools/StandaloneToolHandle.h"
#include "AsgMessaging/MessageCheck.h"
Include dependency graph for EGIdentification_mem_check.cxx:

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 21 of file EGIdentification_mem_check.cxx.

21  {
22  using namespace asg::msgUserCode;
23  ANA_CHECK_SET_TYPE (int);
24  asg::StandaloneToolHandle<IAsgElectronLikelihoodTool> MediumLH("AsgElectronLikelihoodTool/MediumLH");
25  ANA_CHECK(MediumLH.setProperty("WorkingPoint", "MediumLHElectron"));
26  ANA_CHECK(MediumLH.initialize());
27 
28  return 0;
29 }
ANA_CHECK
#define ANA_CHECK(EXP)
check whether the given expression was successful
Definition: Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:324
asg::StandaloneToolHandle
an "initializing" ToolHandle for stand-alone applications
Definition: StandaloneToolHandle.h:44
ANA_CHECK_SET_TYPE
#define ANA_CHECK_SET_TYPE(TYPE)
set the type for ANA_CHECK to report failures
Definition: Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:314