ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
RootCoreUtils
util
rcu_locate.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
//
8
// includes
9
//
10
11
#include <
RootCoreUtils/Global.h
>
12
13
#include <iostream>
14
#include <
RootCoreUtils/Locate.h
>
15
16
//
17
// method implementations
18
//
19
20
int
main
(
int
argc,
char
**argv)
21
{
22
if
(argc != 2)
23
{
24
std::cerr <<
"usage: "
<< argv[0] <<
" locations"
<< std::endl;
25
return
1;
26
}
27
28
std::cout <<
RCU::locate
(argv[1]) << std::endl;
29
return
0;
30
}
Global.h
Locate.h
main
int main()
Definition
hello.cxx:18
RCU::locate
std::string locate(const std::string &locations)
effects: find the file with the given name from a list of locations separated by "::".
Definition
Locate.cxx:25
Generated on
for ATLAS Offline Software by
1.16.1