ATLAS Offline Software
JGTowerMappingDataCondAlgBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOFEXPERF_JGTOWERMAPPINGDATACONDALGBASE_H
6 #define TRIGT1CALOFEXPERF_JGTOWERMAPPINGDATACONDALGBASE_H
7 
16 
17 namespace LVL1
18 {
20  {
21  public:
22  JGTowerMappingDataCondAlgBase(const std::string &name, ISvcLocator *pSvcLocator);
23  virtual ~JGTowerMappingDataCondAlgBase() override;
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute(const EventContext &ctx) const final;
27 
28  private:
30  this, "MappingData", ""};
32  this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager"};
33  Gaudi::Property<bool> m_mapTileCells{this, "MapTileCells", false};
34 
35  protected:
36  virtual const JGTowerBase_ID *getJGTowerID() const = 0;
39  const CaloSuperCellDetDescrManager *mgr) const = 0;
41  const CaloCell_SuperCell_ID *m_scid{nullptr};
42  const CaloCell_ID *m_ccid{nullptr};
43  }; //> end class AthReentrantAlgorithm
44 } // namespace LVL1
45 
46 #endif //> !TRIGT1CALOFEXPERF_JGTOWERMAPPINGDATACONDALGBASE_H
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1::JGTowerMappingDataCondAlgBase::m_outputKey
SG::WriteCondHandleKey< JGTowerMappingData > m_outputKey
Definition: JGTowerMappingDataCondAlgBase.h:29
WriteCondHandleKey.h
LVL1::JGTowerMappingDataCondAlgBase::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition: JGTowerMappingDataCondAlgBase.h:31
JGTowerBase_ID
Definition: JGTowerBase_ID.h:33
LVL1::JGTowerMappingDataCondAlgBase::getJGTowerID
virtual const JGTowerBase_ID * getJGTowerID() const =0
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloSuperCellDetDescrManager
Definition: CaloDetDescrManager.h:490
LVL1::JGTowerMappingDataCondAlgBase
Definition: JGTowerMappingDataCondAlgBase.h:20
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
LVL1::JGTowerMappingDataCondAlgBase::JGTowerMappingDataCondAlgBase
JGTowerMappingDataCondAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JGTowerMappingDataCondAlgBase.cxx:18
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition: CaloCell_SuperCell_ID.h:48
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JGTowerMappingData.h
CaloCell_SuperCell_ID.h
Helper class for offline supercell identifiers.
LVL1::JGTowerMappingDataCondAlgBase::m_ccid
const CaloCell_ID * m_ccid
Definition: JGTowerMappingDataCondAlgBase.h:42
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
TrigConf::name
Definition: HLTChainList.h:35
LVL1::JGTowerMappingData
std::vector< JGTowerHelper > JGTowerMappingData
Definition: JGTowerMappingData.h:13
ReadCondHandleKey.h
AthReentrantAlgorithm.h
LVL1::JGTowerMappingDataCondAlgBase::loadTowerAreas
virtual StatusCode loadTowerAreas(JGTowerMappingData &data) const =0
LVL1::JGTowerMappingDataCondAlgBase::~JGTowerMappingDataCondAlgBase
virtual ~JGTowerMappingDataCondAlgBase() override
Definition: JGTowerMappingDataCondAlgBase.cxx:23
LVL1::JGTowerMappingDataCondAlgBase::m_mapTileCells
Gaudi::Property< bool > m_mapTileCells
Definition: JGTowerMappingDataCondAlgBase.h:33
LVL1::JGTowerMappingDataCondAlgBase::initialize
virtual StatusCode initialize() override
Definition: JGTowerMappingDataCondAlgBase.cxx:25
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager >
LVL1::JGTowerMappingDataCondAlgBase::buildForwardMapping
virtual StatusCode buildForwardMapping(JGTowerMappingData &data, const CaloSuperCellDetDescrManager *mgr) const =0
SG::WriteCondHandleKey< JGTowerMappingData >
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
LVL1::JGTowerMappingDataCondAlgBase::execute
virtual StatusCode execute(const EventContext &ctx) const final
Definition: JGTowerMappingDataCondAlgBase.cxx:34
LVL1::JGTowerMappingDataCondAlgBase::m_scid
const CaloCell_SuperCell_ID * m_scid
Definition: JGTowerMappingDataCondAlgBase.h:41