ATLAS Offline Software
Functions
CoraCoolDatabaseSvcFactory.cxx File Reference
#include "CoolApplication/Application.h"
#include "CoraCool/CoraCoolDatabaseSvc.h"
#include "CoraCool/CoraCoolDatabaseSvcFactory.h"
Include dependency graph for CoraCoolDatabaseSvcFactory.cxx:

Go to the source code of this file.

Functions

CoraCoolDatabaseSvc &CoraCoolDatabaseSvcFactory::databaseService ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

CoraCoolDatabaseSvc& CoraCoolDatabaseSvcFactory::databaseService ATLAS_NOT_THREAD_SAFE ( )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Definition at line 13 of file CoraCoolDatabaseSvcFactory.cxx.

13  {
14  static cool::Application app;
15  static CoraCoolDatabaseSvc coradbsvc(app.connectionSvc(),
16  app.databaseService());
17  return coradbsvc;
18 }
CoraCoolDatabaseSvc
Definition: CoraCoolDatabaseSvc.h:25