|
ATLAS Offline Software
|
Go to the documentation of this file.
13 declareInterface<IAFPProtonTransportTool>(
this);
19 ATH_MSG_INFO(
"AFPProtonTransportTool::initialize Initializing transport tool");
21 return StatusCode::SUCCESS;
30 if (!
file.is_open())
return StatusCode::FAILURE;
34 while (
file.peek() ==
'#') {
40 if (
name ==
"m_xPositionInitIP") {
45 if (
name ==
"m_yPositionInitIP") {
50 if (
name ==
"m_zPositionInitIP") {
55 if (
name ==
"m_xSlopeInitIP") {
60 if (
name ==
"m_ySlopeInitIP") {
65 if (
name ==
"m_detectorPosition") {
70 if (
name ==
"m_nominalEnergy") {
76 file.ignore(1000,
'\n');
80 for (
int iEqu = 0; iEqu < 4; iEqu++) {
81 file.ignore(1000,
'\n');
82 for (
int iPoly = 0; iPoly < 8; iPoly++) {
86 for (
int i = 0;
i < 10;
i++) {
90 file.ignore(1000,
'\n');
94 new AFPProtonTransportPolynomial(
N,
ch[0],
ch[1],
ch[2],
ch[3],
ch[4],
ch[5],
ch[6],
ch[7],
ch[8],
ch[9]);
103 return StatusCode::SUCCESS;
::StatusCode StatusCode
StatusCode definition for legacy code.
Class for the parameterization used by the proton transport tool.