6#include "LArReadoutGeometry/FCAL_ChannelMap.h"
16 , IMessageSvc* msgSvc)
18 MsgStream log(msgSvc,
"buildFcalChannelMap");
21 std::vector<IRDBRecordset_ptr> recordsets { paramSvc->
getRecordsetPtr(
"FCalElecMod1",
"")
27 cmap->
add_tube(rec->getString(
"TILENAME")
28 , rec->getInt(
"MODNUMBER")
29 , rec->getInt(
"IDENTIFIER")
34 , rec->getString(
"HVFEEDTHROUGHID"));
40 StatusCode
sc = detStore->record(cmap,
"FCAL_ChannelMap");
42 log << MSG::FATAL <<
"Failed to build FCAL Channel Map" <<
endmsg;
Helper function for building FCAL Channel Map.
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
std::unique_ptr< IRDBRecord > IRDBRecord_ptr
This class contains the tube and tile maps for the FCAL A tile is of a set of FCAL tubes.
void add_tube(const std::string &tileName, int mod, int id, int i, int j, double xCm, double yCm)
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
The Athena Transient Store API.
StatusCode buildFcalChannelMap(StoreGateSvc *detStore, IRDBAccessSvc *paramSvc, IMessageSvc *msgSvc)