ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
FPTracker
src
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
5
#include "
FPTracker/getAlfaMagnetConfigFiles.h
"
6
#include "
FPTracker/getConfigFile.h
"
7
#include "../src/openFile.tpl"
8
#include <sstream>
9
#include <stdexcept>
10
11
namespace
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
getAlfaMagnetConfigFiles.h
getConfigFile.h
FPTracker
Definition
FPTracker/FPTracker/Beamline.h:12
FPTracker::getAlfaMagnetConfigFiles
std::shared_ptr< std::ifstream > getAlfaMagnetConfigFiles(const std::string &dir, const Side &side)
Definition
getAlfaMagnetConfigFiles.cxx:14
FPTracker::getConfigFile
std::shared_ptr< std::ifstream > getConfigFile(const std::string &dir, const std::string &fn)
Definition
getConfigFile.cxx:11
FPTracker::Side
Side
Definition
FPTrackerConstants.h:12
FPTracker::beam1
@ beam1
Definition
FPTrackerConstants.h:12
Generated on
for ATLAS Offline Software by
1.14.0