ATLAS Offline Software
Loading...
Searching...
No Matches
EGIdentification_mem_check.cxx File Reference
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 try {
25 asg::StandaloneToolHandle<IAsgElectronLikelihoodTool> MediumLH("AsgElectronLikelihoodTool/MediumLH");
26 ANA_CHECK(MediumLH.setProperty("WorkingPoint", "MediumLHElectron"));
27 ANA_CHECK(MediumLH.initialize());
28 } catch (const std::exception& e) {
29 std::cerr << "exception: " << e.what() << "\n";
30 return 1;
31 }
32
33 return 0;
34}
#define ANA_CHECK(EXP)
check whether the given expression was successful
#define ANA_CHECK_SET_TYPE(TYPE)
set the type for ANA_CHECK to report failures
an "initializing" ToolHandle for stand-alone applications