5#ifndef LARROD_LARHITTOCELL_H
6#define LARROD_LARHITTOCELL_H
19#include "GaudiKernel/ToolHandle.h"
49 LArHITtoCell(
const std::string& name, ISvcLocator* pSvcLocator);
57 StatusCode
execute(
const EventContext& context)
const;
65 {
this,
"FracSKey",
"LArfSamplSC",
"SG Key of fSamplS conditions object"};
68 {
this,
"CaloDetDescrManager",
"CaloDetDescrManager",
"SG Key for CaloDetDescrManager in the Condition Store" };
71 {
this,
"CaloSuperCellDetDescrManager",
"CaloSuperCellDetDescrManager",
"SG key of the resulting CaloSuperCellDetDescrManager" };
75 {
this,
"SCIDTool",
"CaloSuperCellIDTool" ,
76 "Offline / supercell mapping tool."};
83 "SG key of the output CaloCellContainer"};
86 Gaudi::Property<bool>
m_isSC {
this,
"IsSuperCell",
true,
104 }
else return handle.
cptr();
Definition of CaloDetDescrManager.
defines and typedefs for IOVSvc
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Helper class for offline cell identifiers.
Helper class for offline supercell identifiers.
Data object for each calorimeter readout cell.
This class groups all DetDescr information related to a CaloCell.
This class initializes the Calo (LAr and Tile) offline identifiers.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< bool > m_isSC
if is SuperCell
LArHITtoCell(const std::string &name, ISvcLocator *pSvcLocator)
Standard Gaudi algorithm constructor.
const CaloIdManager * m_calo_id_manager
Entry point for calorimeter ID helpers.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
SG::WriteHandleKey< CaloCellContainer > m_cellKey
Property Output Container.
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
const CaloCell_SuperCell_ID * m_scHelper
pointer to the offline TT helper
SG::ReadCondHandleKey< ILArfSampl > m_fracSKey
Property: Fraction of Energy Sampled (conditions input).
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
SG::ReadHandleKey< LArHitEMap > m_hitMapKey
hit map
const T * retrieve(const EventContext &context, const SG::ReadCondHandleKey< T > &handleKey) const
const CaloCell_ID * m_OflHelper
pointer to the offline id helper
StatusCode initialize()
Standard Gaudi initialize method.
StatusCode execute(const EventContext &context) const
Algorithm execute method.
const std::string & key() const
const_pointer_type cptr()
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.