ATLAS Offline Software
Functions
rcu_locate.cxx File Reference
#include <RootCoreUtils/Global.h>
#include <iostream>
#include <RootCoreUtils/Locate.h>
Include dependency graph for rcu_locate.cxx:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 23 of file rcu_locate.cxx.

24 {
25  if (argc != 2)
26  {
27  std::cerr << "usage: " << argv[0] << " locations" << std::endl;
28  return 1;
29  }
30 
31  std::cout << RCU::locate (argv[1]) << std::endl;
32  return 0;
33 }
LArCellConditions.argv
argv
Definition: LArCellConditions.py:112
DQHistogramMergeRegExp.argc
argc
Definition: DQHistogramMergeRegExp.py:20
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:28