ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
APR
CollectionSvc
CollectionSvc
CollectionService.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef COLLECTIONSVC_COLLECTIONSERVICE_H
6
#define COLLECTIONSVC_COLLECTIONSERVICE_H
7
8
#include "
ICollection.h
"
9
10
#include "
CxxUtils/checker_macros.h
"
11
12
13
namespace
pool
{
14
15
class
CollectionDescription
;
16
class
ISession
;
17
18
// this has to be a class so the methods are visible to PyROOT
19
class
CollectionService
20
{
21
public
:
27
static
ICollection
* create
ATLAS_NOT_THREAD_SAFE
(
const
CollectionDescription
&
description
);
28
37
static
ICollection
*
open
(
const
std::string & name,
38
const
std::string & connection =
""
,
39
ISession
* session = 0 );
40
44
static
void
setMessageSvcQuiet
(
bool
quiet
=
true
);
45
};
46
}
47
48
#endif
ICollection.h
quiet
bool quiet
Definition
TrigGlobEffCorrValidation.cxx:190
checker_macros.h
Define macros for attributes used to control the static checker.
pool::CollectionDescription
An implementation used to define the properties of a collection to be constructed and to retrieve the...
Definition
CollectionDescription.h:26
pool::CollectionService
Definition
CollectionService.h:20
pool::CollectionService::setMessageSvcQuiet
static void setMessageSvcQuiet(bool quiet=true)
suppress (or enable) warning about a missing MessageSvc (logging)
pool::CollectionService::ATLAS_NOT_THREAD_SAFE
static ICollection *create ATLAS_NOT_THREAD_SAFE(const CollectionDescription &description)
Creates or overwrites a collection, given a description of its properties.
pool::CollectionService::open
static ICollection * open(const std::string &name, const std::string &connection="", ISession *session=0)
Opens an existing collection for reading.
pool::ICollection
An interface to a storage technology specific collection of event references and attributes.
Definition
ICollection.h:24
pool::ISession
ISession is the interface class for user (macroscopic) sessions Every connection to a database and ob...
Definition
ISession.h:39
description
std::string description
glabal timer - how long have I taken so far?
Definition
hcg.cxx:93
pool
Framework include files.
Definition
libname.h:15
Generated on
for ATLAS Offline Software by
1.17.0