9 #include "GaudiKernel/MsgStream.h"
10 #include "GaudiKernel/IIncidentSvc.h"
11 #include "GaudiKernel/ServiceHandle.h"
15 const std::string&
name,
29 return StatusCode::SUCCESS ;
44 const int PRIORITY = 100;
45 incSvc->addListener(
this,
"BeginRun", PRIORITY);
48 return StatusCode::SUCCESS;
63 ATH_MSG_ERROR (
" unable initialize DataHandle in BeginRun Incident " );
74 const EventContext& ctx = Gaudi::Hive::currentContext();
75 int run = ctx.eventID().run_number();
77 std::string etaKey,thetaKey,zKey,deltaKey;
81 thetaKey =
"/TILE/DCS/SYSTEM1/TABLE/THETA" ;
82 etaKey =
"/TILE/DCS/SYSTEM1/TABLE/ETA" ;
83 zKey =
"/TILE/DCS/SYSTEM1/TABLE/Z" ;
84 deltaKey =
"/TILE/DCS/SYSTEM1/TABLE/DELTA" ;
85 ATH_MSG_DEBUG (
" runs before 1000454, using Folders with SYSTEM1..." );
89 thetaKey =
"/TILE/DCS/TILE_LV_62/TABLE/THETA" ;
90 etaKey =
"/TILE/DCS/TILE_LV_62/TABLE/ETA" ;
91 zKey =
"/TILE/DCS/TILE_LV_62/TABLE/Z" ;
92 deltaKey =
"/TILE/DCS/TILE_LV_62/TABLE/DELTA" ;
93 ATH_MSG_DEBUG (
" runs after 1000454, using Folders with TILE_LV_62..." );
114 e=(* m_etaTable)[
"eta"].data<
float>();
127 t=(* m_thetaTable)[
"theta"].data<
float>();
140 z=(* m_zTable)[
"z"].data<
float>();
153 d=(* m_deltaTable)[
"delta"].data<
float>();