ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
FPTracker
src
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
5
#include "
FPTracker/getConfigFile.h
"
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
getConfigFile.h
FPTracker
Definition
FPTracker/FPTracker/Beamline.h:12
FPTracker::getConfigFile
std::shared_ptr< std::ifstream > getConfigFile(const std::string &dir, const std::string &fn)
Definition
getConfigFile.cxx:11
Generated on
for ATLAS Offline Software by
1.14.0