Go to the source code of this file.
|
| int | main (int argc, char **argv) |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 26 of file dump-cbk.cxx.
27{
28
31
32 if (argc < 2) {
34 return 1;
35 }
37
38
39#ifdef XAOD_STANDALONE
41 throw std::runtime_error("Cannot initialise xAOD access !");
42 }
44#else
47#endif
48
50
52
53
54 std::unique_ptr<TFile>
file(TFile::Open(inputFile,
"READ"));
56#ifdef XAOD_STANDALONE
58#else
60#endif
62
63
64 event.getEntries();
65
66
71
72
73#ifndef XAOD_STANDALONE
74 app->finalize().ignore();
75#endif
76
77 return 0;
78}
Tool for accessing xAOD files outside of Athena.
@ kClassAccess
Access auxiliary data using the aux containers.
static void enableDataSubmission(::Bool_t value)
Function for turning data submission on/off.
IAppMgrUI * Init(const char *options="POOLRootAccess/basic.opts")
Bootstraps (creates and configures) the Gaudi Application with the provided options file.
StatusCode Init(const char *appname)
Function initialising ROOT/PyROOT for using the ATLAS EDM.