ATLAS Offline Software
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
TRT::Hit::side
@ side
Definition:
HitInfo.h:83
FPTracker::beam1
@ beam1
Definition:
FPTrackerConstants.h:12
getConfigFile.h
python.getCurrentFolderTag.fn
fn
Definition:
getCurrentFolderTag.py:65
Side
Definition:
WaferTree.h:36
beamspotman.dir
string dir
Definition:
beamspotman.py:623
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
Definition:
FPTracker/FPTracker/Beamline.h:12
Generated on Mon Dec 23 2024 21:10:54 for ATLAS Offline Software by
1.8.18