ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardTracker/src/ConfigData.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <string>
8#include <sstream>
9
10namespace ForwardTracker {
11
13 twissFile1 ("/afs/cern.ch/atlas/offline/external/TwissFiles/v001/0090.00m/8TeV/alfaTwiss1.txt"), // LHC twiss file for beam1
14 twissFile2 ("/afs/cern.ch/atlas/offline/external/TwissFiles/v001/0090.00m/8TeV/alfaTwiss2.txt"), // LHC twiss file for beam2
15 positionC1 (149), // Z position [ m] of collimator1
16 positionC2 (184), // Z position [ m] of collimator2
17 apertureC1 (999), // X aperture [mm] of collimator1
18 apertureC2 (999), // X aperture [mm] of collimator2
19 endMarker (236.888) // Z position [ m] of the detector
20 {
21 }
22
23 std::string ConfigData::str() const {
24
25 std::ostringstream ost;
26
27 ost << '\n'
28 << "twissFile1 " << twissFile1 << '\n'
29 << "twissFile2 " << twissFile2 << '\n'
30 << "positionC1 " << positionC1 << '\n'
31 << "positionC2 " << positionC2 << '\n'
32 << "apertureC1 " << apertureC1 << '\n'
33 << "apertureC2 " << apertureC2 << '\n'
34 << "endMarker " << endMarker << '\n';
35
36 return ost.str();
37 }
38
39 std::ostream& operator<<(std::ostream& os, const ConfigData& cd) { os << cd.str(); return os; }
40}
std::ostream & operator<<(std::ostream &, const Beamline &)