ATLAS Offline Software
Loading...
Searching...
No Matches
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
8namespace 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
Collection (and CollectionProxy) implementation based on ROOT trees.
const Io::IoFlags poolOptToFileMgrOpt[]
constexpr const char *const poolOptToRootOpt[]
pool namespace
Definition libname.h:15