ATLAS Offline Software
Loading...
Searching...
No Matches
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
9namespace 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
std::shared_ptr< std::ifstream > getConfigFile(const std::string &dir, const std::string &fn)