9 #include "GaudiKernel/MsgStream.h"
10 #include "GaudiKernel/IIncidentSvc.h"
14 const std::string&
name,
21 declareInterface<ITBCaloPosTool>(
this);
32 return StatusCode::SUCCESS ;
48 incSvc->addListener(
this,
"BeginRun", PRIORITY);
51 return StatusCode::SUCCESS;
66 ATH_MSG_ERROR (
" unable initialize DataHandle in BeginRun Incident " );
77 const EventContext& ctx = Gaudi::Hive::currentContext();
78 int run = ctx.eventID().run_number();
80 std::string etaKey,thetaKey,zKey,deltaKey;
84 thetaKey =
"/tile/dcs/System1:table.theta:online..value" ;
85 etaKey =
"/tile/dcs/System1:table.eta:online..value" ;
86 zKey =
"/tile/dcs/System1:table.z:online..value" ;
87 deltaKey =
"/tile/dcs/System1:table.delta:online..value" ;
88 ATH_MSG_DEBUG (
" runs before 1000454, using Folders with System1..." );
92 thetaKey =
"/tile/dcs/Tile_LV_62:table.theta:online..value" ;
93 etaKey =
"/tile/dcs/Tile_LV_62:table.eta:online..value" ;
94 zKey =
"/tile/dcs/Tile_LV_62:table.z:online..value" ;
95 deltaKey =
"/tile/dcs/Tile_LV_62:table.delta:online..value" ;
96 ATH_MSG_DEBUG (
" runs after 1000454, using Folders with Tile_LV_62..." );