#include <cstring>
#include <memory>
#include <vector>
#include <string>
#include <TFile.h>
#include <TError.h>
#include <TClass.h>
#include "xAODRootAccess/Init.h"
#include "xAODRootAccess/REvent.h"
#include "xAODRootAccess/tools/Message.h"
Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
| |
◆ R_CHECK
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 95 of file xAODRNFileReadTest.cxx.
102 ( ! strcmp(
argv[ 1 ],
"-h" ) ) ||
103 ( ! strcmp(
argv[ 1 ],
"--help" ) ) ) {
104 Info( APP_NAME,
"Usage: %s [options] <file1> [file2]...", APP_NAME );
105 Info( APP_NAME,
"Options:" );
106 Info( APP_NAME,
" -m <access mode>" );
107 Info( APP_NAME,
" 0: Branch access" );
108 Info( APP_NAME,
" 1: Class access (default)" );
109 Info( APP_NAME,
" 2: Athena access" );
115 for(
int i = 1;
i <
argc; ++
i ) {
134 const Long64_t
entries =
event.getEntries();
140 XAOD_MESSAGE(
"Failed to load entry %i from file: %s" ),
150 Info( APP_NAME,
"===>>> Loaded entry %i / %i <<<===",
151 static_cast< int >(
entry ),
static_cast< int >(
entries ) );