ATLAS Offline Software
Database
APR
APRTests
PersistencySvc_NoClassID
PersistencySvc_NoClassID/TestDriver.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 TESTDRIVER_H
6
#define TESTDRIVER_H
7
8
#include <vector>
9
#include <string>
10
11
class
Token
;
12
13
namespace
pool
{
14
class
IFileCatalog;
15
16
class
TestDriver
{
17
public
:
18
TestDriver
(
const
std::string&
filename
=
"NCI.pool.root"
,
const
std::string& catname =
"NCI.catatlog.xml"
);
19
~TestDriver
();
20
TestDriver
(
const
TestDriver
& ) =
delete
;
21
TestDriver
&
operator=
(
const
TestDriver
& ) =
delete
;
22
void
loadLibraries
(
const
std::vector<std::string>& libraries );
23
void
write
();
24
void
read
();
25
private
:
26
IFileCatalog
*
m_fileCatalog
;
27
std::string
m_fileName
;
28
int
m_events
;
29
std::vector< Token* >
m_tokens
;
30
};
31
32
}
33
34
#endif
pool::TestDriver
Definition:
PersistencySvc_FileCatalogOperations/TestDriver.h:17
pool::TestDriver::TestDriver
TestDriver(const std::string &filename="NCI.pool.root", const std::string &catname="NCI.catatlog.xml")
TestDriver
Definition:
StorageSvc_AuxStore/TestDriver.h:11
pool
pool namespace
Definition:
libname.h:15
pool::TestDriver::m_fileName
std::string m_fileName
Definition:
PersistencySvc_FileOpenWithoutCatalog/TestDriver.h:30
pool::TestDriver::operator=
TestDriver & operator=(const TestDriver &)=delete
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition:
Token.h:21
pool::IFileCatalog
Definition:
IFileCatalog.h:23
pool::TestDriver::m_tokens
std::vector< Token * > m_tokens
Definition:
PersistencySvc_Functionality/TestDriver.h:42
pool::TestDriver::m_events
int m_events
Definition:
PersistencySvc_FileCatalogOperations/TestDriver.h:35
pool::TestDriver::~TestDriver
~TestDriver()
pool::TestDriver::read
void read()
pool::TestDriver::loadLibraries
void loadLibraries(const std::vector< std::string > &libraries)
pool::TestDriver::TestDriver
TestDriver(const TestDriver &)=delete
pool::TestDriver::m_fileCatalog
IFileCatalog * m_fileCatalog
Definition:
PersistencySvc_FileCatalogOperations/TestDriver.h:28
CaloCellTimeCorrFiller.filename
filename
Definition:
CaloCellTimeCorrFiller.py:24
pool::TestDriver::write
void write()
Generated on Fri Jul 5 2024 21:28:20 for ATLAS Offline Software by
1.8.18