5#ifndef TRIGT1CALOCALIBTOOLS_L1CALOCELLS2TRIGGERTOWERS_H
6#define TRIGT1CALOCALIBTOOLS_L1CALOCELLS2TRIGGERTOWERS_H
11#include "GaudiKernel/ToolHandle.h"
69 virtual StatusCode
finalize()
override;
84 virtual float energy(
const std::vector<const CaloCell*> &cells)
const override;
85 virtual float et(
const std::vector<const CaloCell*> &cells)
const override;
106 virtual float calcEnergyOrEt(
const std::vector<const CaloCell*> &cells,
const unsigned int mode)
const override;
108 virtual void reset()
override;
114 virtual void dump(
const std::vector<const CaloCell*>& vCells)
const override;
115 virtual void dump(
const std::vector<const LArDigit*>& vCells)
const override;
116 virtual void dump(
const std::vector<const TileDigits*>& vCells)
const override;
126 {
this,
"CablingKey",
"LArOnOffIdMap",
"SG Key of LArOnOffIdMapping object"};
128 {
this,
"L1CaloMatchCell2Tower",
"LVL1::L1CaloMatchCell2Tower",
"L1CaloMatchCell2Tower" };
130 {
this,
"CaloTriggerTowerService",
"CaloTriggerTowerService"};
Map from calo cells to trigger towers.
float et(const xAOD::jFexSRJetRoI *j)
Container class for CaloCell.
Helper class for offline cell identifiers.
Data object for each calorimeter readout cell.
Helper class for offline TT identifiers.
Container class for LArDigit.
virtual ~L1CaloCells2TriggerTowers()
destructor
virtual void dumpCaloCells() const override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual void dumpLArDigits(const Identifier &ttId) const override
virtual float calcEnergyOrEt(const std::vector< const CaloCell * > &cells, const unsigned int mode) const override
virtual std::vector< std::vector< const CaloCell * > > caloCellsByLayer(const Identifier &ttId) const override
L1CaloCells2TriggerTowers(L1CaloCells2TriggerTowers &&rhs)=delete
virtual void resetCaloCells() override
virtual std::vector< const CaloCell * > caloCells(const Identifier &ttId) const override
virtual std::vector< const LArDigit * > larDigits(const Identifier &ttId) const override
ToolHandle< CaloTriggerTowerService > m_ttSvc
virtual bool initLArDigitsTriggerTowers(const LArDigitContainer &larDigitContainer) override
virtual void reset() override
virtual std::vector< int > layerNames(const Identifier &ttID) const override
virtual std::vector< double > samples(const Identifier &ttId) const override
virtual bool initCaloCellsTriggerTowers(const CaloCellContainer &cellContainer) override
Declare the interface that the class provides.
L1CaloCells2TriggerTowers & operator=(const L1CaloCells2TriggerTowers &rhs)=delete
std::map< unsigned int, std::vector< const TileDigits * > > m_mTTTileDigits
ToolHandle< LVL1::IL1CaloMatchCell2Tower > m_cellMatch
virtual float energy(const std::vector< const CaloCell * > &cells) const override
const CaloLVL1_ID * m_lvl1Helper
bool m_bTileDigitsInitialized
bool m_bLArDigitsInitialized
L1CaloCells2TriggerTowers(const std::string &name)
Create a proper constructor for Athena.
virtual void resetLArDigits() override
const TileCablingService * m_tileCablingService
virtual void resetTileDigits() override
std::map< unsigned int, std::vector< const LArDigit * > > m_mTTLArDigits
L1CaloCells2TriggerTowers(const L1CaloCells2TriggerTowers &rhs)=delete
std::map< unsigned int, std::vector< const CaloCell * > > m_mTTCaloCells
L1CaloCells2TriggerTowers()=delete
delete the big 4
virtual bool initTileDigitsTriggerTowers(const TileDigitsContainer &tileDigitsContainer) override
virtual void dumpTileDigits(const Identifier &ttId) const override
const CaloCell_ID * m_caloCellHelper
virtual std::vector< const TileDigits * > tileDigits(const Identifier &ttId) const override
virtual StatusCode finalize() override
virtual void dumpDigits(const Identifier &ttId) const override
Helper class for TileCal offline identifiers.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...