17#ifndef TRIGCALOREC_HLTCALOCELLMAKER_H
18#define TRIGCALOREC_HLTCALOCELLMAKER_H
22#include "GaudiKernel/ToolHandle.h"
23#include "GaudiKernel/ServiceHandle.h"
44 virtual StatusCode
execute(
const EventContext& context )
const override;
58 {
this,
"TrigDataAccessMT",
"TrigCaloDataAccessSvc/TrigCaloDataAccessSvc",
"Data Access for LVL2 Calo Algorithms in MT" };
60 ToolHandle< GenericMonitoringTool >
m_monTool {
this,
"MonTool",
"",
"Monitoring tool" };
62 Gaudi::Property<bool>
m_roiMode {
this,
"roiMode",
true,
"RoiMode roi->CaloCellCollection" };
63 Gaudi::Property<bool>
m_monCells {
this,
"monitorCells", false ,
"monitorCells" };
64 Gaudi::Property<bool>
m_tileCellsInROI {
this,
"TileCellsInROI",
false,
"Require tile cells to be within ROI" };
69 if(!aCell)
return -999.0;
75 if (cell->eta() < roi->
etaMinus() || cell->eta() > roi->
etaPlus())
return false;
CaloCellContainer that can accept const cell pointers.
DataVector adapter that acts like it holds const pointers.
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.
Data object for each calorimeter readout cell.
virtual double et() const override final
get et
Gaudi::Property< bool > m_monCells
SG::WriteHandleKey< ConstDataVector< CaloCellContainerVector > > m_cellContainerVKey
SG::ReadCondHandleKey< TileEMScale > m_tileEMScaleKey
FIXME: Temporary (i hope) to get dependency needed by BS converter.
virtual StatusCode initialize() override
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ToolHandle< GenericMonitoringTool > m_monTool
static bool tileCellEtaInRoi(const CaloCell *cell, const TrigRoiDescriptor *roi)
HLTCaloCellMaker(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< CaloConstCellContainer > m_cellContainerKey
Gaudi::Property< bool > m_roiMode
static double getCellPt(const CaloCell *aCell)
virtual StatusCode execute(const EventContext &context) const override
ServiceHandle< ITrigCaloDataAccessSvc > m_dataAccessSvc
Gaudi::Property< bool > m_tileCellsInROI
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
virtual double etaMinus() const override final
gets eta at zMinus
virtual double etaPlus() const override final
gets eta at zedPlus
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.
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...