ATLAS Offline Software
DetectorDescription
AGDD
AGDDKernel
src
AGDDPositionerStore.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDKernel/AGDDPositionerStore.h
"
6
#include "
AGDDKernel/AGDDPositioner.h
"
7
#include <iostream>
8
9
AGDDPositionerStore::AGDDPositionerStore
()
10
{
11
}
12
13
void
AGDDPositionerStore::RegisterPositioner
(
AGDDPositioner
*
v
)
14
{
15
(*this).push_back(
v
);
16
}
17
18
AGDDPositioner
*
AGDDPositionerStore::GetPositioner
(
unsigned
int
i
)
19
{
20
if
(
i
<
size
())
21
return
(*
this
)[
i
];
22
else
23
{
24
std::cout <<
" Positioner "
<<
i
<<
" not found: returning 0"
<<std::endl;
25
return
0;
26
}
27
}
AGDDPositioner.h
AGDDPositionerStore::RegisterPositioner
void RegisterPositioner(AGDDPositioner *)
Definition:
AGDDPositionerStore.cxx:13
AGDDPositioner
Definition:
AGDDPositioner.h:18
python.setupRTTAlg.size
int size
Definition:
setupRTTAlg.py:39
lumiFormat.i
int i
Definition:
lumiFormat.py:85
AGDDPositionerStore::AGDDPositionerStore
AGDDPositionerStore()
Definition:
AGDDPositionerStore.cxx:9
python.PyAthena.v
v
Definition:
PyAthena.py:154
AGDDPositionerStore::GetPositioner
AGDDPositioner * GetPositioner(unsigned int i)
Definition:
AGDDPositionerStore.cxx:18
AGDDPositionerStore.h
Generated on Sun Dec 22 2024 21:06:45 for ATLAS Offline Software by
1.8.18