ATLAS Offline Software
getConfigFile.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "../src/openFile.tpl"
7 #include <stdexcept>
8 
9 namespace FPTracker{
10 
11  std::shared_ptr< std::ifstream > getConfigFile(const std::string& dir, const std::string& fn)
12  {
13  std::ifstream infile;
14  std::shared_ptr<std::ifstream> pfile(new std::ifstream);
15  FPTracker::openFile(dir, fn, pfile);
16  return pfile;
17  }
18 
19 }
20 
run.infile
string infile
Definition: run.py:13
getConfigFile.h
python.getCurrentFolderTag.fn
fn
Definition: getCurrentFolderTag.py:65
beamspotman.dir
string dir
Definition: beamspotman.py:623
readFiles.openFile
openFile
Definition: readFiles.py:25
FPTracker::getConfigFile
std::shared_ptr< std::ifstream > getConfigFile(const std::string &dir, const std::string &fn)
Definition: getConfigFile.cxx:11
FPTracker
Definition: FPTracker/FPTracker/Beamline.h:12