ATLAS Offline Software
Database
APR
RootCollection
src
CollectionCommon.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ROOTCOLLECTIONCOMMON_H
6
#define ROOTCOLLECTIONCOMMON_H
7
8
namespace
pool
{
9
namespace
RootCollection
{
10
11
// MN: recreate option is replaced by update to not overwrite the file
12
constexpr
const
char
*
const
poolOptToRootOpt
[] = {
"CREATE"
,
"UPDATE"
,
"UPDATE"
,
"READ"
};
13
14
// Io flags are not constexpr
15
inline
const
Io::IoFlags
poolOptToFileMgrOpt
[] = {
16
Io::WRITE
|
Io::CREATE
,
Io::WRITE
|Io::APPEND,
Io::WRITE
|Io::APPEND,
Io::READ
};
17
18
}
19
}
20
21
#endif
pool::RootCollection::poolOptToRootOpt
constexpr const char *const poolOptToRootOpt[]
Definition:
CollectionCommon.h:12
pool
pool namespace
Definition:
libname.h:15
pool::WRITE
@ WRITE
Definition:
Database/APR/StorageSvc/StorageSvc/pool.h:72
pool::RootCollection::RootCollection
Collection (and CollectionProxy) implementation based on ROOT trees.
Definition:
RootCollection.h:70
pool::READ
@ READ
Definition:
Database/APR/StorageSvc/StorageSvc/pool.h:68
pool::RootCollection::poolOptToFileMgrOpt
const Io::IoFlags poolOptToFileMgrOpt[]
Definition:
CollectionCommon.h:15
CREATE
#define CREATE(__TYPE)
Generated on Fri Jan 10 2025 21:08:14 for ATLAS Offline Software by
1.8.18