ATLAS Offline Software
CoraCoolDatabaseSvcFactory.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // CoraCoolDatabaseSvcFactory.cxx
6 // implementation of CoraCoolDatabaseSvcFactory
7 // Richard Hawkings, started 27/10/06
8 
9 #include "CoolApplication/Application.h"
12 
13 CoraCoolDatabaseSvc& CoraCoolDatabaseSvcFactory::databaseService ATLAS_NOT_THREAD_SAFE () {
14  static cool::Application app;
15  static CoraCoolDatabaseSvc coradbsvc(app.connectionSvc(),
16  app.databaseService());
17  return coradbsvc;
18 }
CoraCoolDatabaseSvc.h
CoraCoolDatabaseSvc
Definition: CoraCoolDatabaseSvc.h:25
CoraCoolDatabaseSvcFactory.h
ATLAS_NOT_THREAD_SAFE
CoraCoolDatabaseSvc &CoraCoolDatabaseSvcFactory::databaseService ATLAS_NOT_THREAD_SAFE()
Install fatal handler with default options.
Definition: CoraCoolDatabaseSvcFactory.cxx:13