Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GaudiKernel/SmartDataPtr.h"
24 p_iddbtool(
"InDetAlignDBTool"),
25 p_migratetool(
"InDetAlignDBTool/InDetAlignMigrate"),
26 p_eventinfo (nullptr),
44 m_par_dbtoolinst(
"InDetAlignDBTool"),
57 m_par_writetop(false),
109 return StatusCode::FAILURE;
124 else msg() <<
"Alignment constants will be initialised from text file" <<
m_par_rfile <<
endmsg;
129 msg() <<
"ID Alignment database structures will be written on run "
137 msg() <<
"IOV writing will be suppressed - only output stream" <<
endmsg;
140 return StatusCode::SUCCESS;
149 "Creating null alignment database from geometry information in GeoModel");
166 if (
evtStore()->contains< xAOD::EventInfo >(
"EventInfo" ) &&
178 return StatusCode::SUCCESS;
185 return StatusCode::SUCCESS;
204 "::dispFile() : Initialise AlignableTransforms from parameters file "
218 isyst <<
" to [det,bec,layer] [" << dettype <<
"," <<
bec <<
"," <<
219 layer <<
"] {rphi,r,z} {" << rpd <<
"," << rd <<
"," << zd <<
"}" );
224 " displacement recipe lines" );
234 if (StatusCode::SUCCESS!=
p_iddbtool->outputObjs())
235 msg(MSG::ERROR) <<
"Write of AlignableTransforms fails" <<
endmsg;
249 ATH_MSG_DEBUG(
"Initialise TOPTRANS from parameters file: " <<
256 std::string cline,
key;
261 "," << zd <<
" phi/theta/psi " <<
phi <<
"," <<
theta <<
"," << psi );
263 CLHEP::Hep3Vector(
xd,yd,zd));
266 ATH_MSG_DEBUG(
"Read " << nline <<
" lines from recipe file" );
268 if (StatusCode::SUCCESS==
detStore()->record(dkp,
"/GLOBAL/GEOM/TOPTRANS")) {
276 ATH_MSG_DEBUG(
"Convert Pixel/SCT alignment from old to new format");
285 msg(MSG::ERROR) <<
"Write of AlignableTransform fails" <<
endmsg;
def retrieve(aClass, aKey=None)
Scalar phi() const
phi method
Class to hold set of HepGeom::Transform3D keyed by string value for storage in the conditions DB typi...
uint64_t eventNumber() const
The current event's event number.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Scalar theta() const
theta method
std::string m_par_dispfile
bool msgLvl(const MSG::Level lvl) const
This is an interface to a tool used to register conditions objects in the Interval of Validity (IOV) ...
std::string m_par_dbtoolinst
#define ATH_MSG_VERBOSE(x)
uint32_t runNumber() const
The current event's run number.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
ToolHandle< IInDetAlignDBTool > p_iddbtool
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Basic time unit for IOVSvc. Hold time as a combination of run and event numbers.
POOL::TEvent event(POOL::TEvent::kClassAccess)
InDetAlignWrt(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< IInDetAlignDBTool > p_migratetool
Eigen::Affine3d Transform3D
StatusCode initialize(void)
std::string m_par_topname
const xAOD::EventInfo * p_eventinfo
StatusCode finalize(void)
void setTransform(const std::string &key, const HepGeom::Transform3D &trans)