ATLAS Offline Software
Loading...
Searching...
No Matches
getAlfaMagnetConfigFiles.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
7#include "../src/openFile.tpl"
8#include <sstream>
9#include <stdexcept>
10
11namespace FPTracker{
12
13
14 std::shared_ptr<std::ifstream> getAlfaMagnetConfigFiles(const std::string& dir, const Side& side)
15 {
16 std::string fn = (side == beam1) ? "alfaTwiss1.txt":"alfaTwiss2.txt";
17 return getConfigFile( dir, fn );
18 }
19
20}
21
std::shared_ptr< std::ifstream > getAlfaMagnetConfigFiles(const std::string &dir, const Side &side)
std::shared_ptr< std::ifstream > getConfigFile(const std::string &dir, const std::string &fn)