ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1CaloFEX
TrigT1CaloFexPerf
src
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
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "
StoreGate/WriteCondHandleKey.h
"
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
#include "
TrigT1CaloFexPerf/JGTowerMappingData.h
"
12
#include "
CaloIdentifier/CaloCell_SuperCell_ID.h
"
13
#include "
CaloIdentifier/CaloCell_ID.h
"
14
#include "
CaloIdentifier/JGTowerBase_ID.h
"
15
#include "
CaloDetDescr/CaloDetDescrManager.h
"
16
17
namespace
LVL1
18
{
19
class
JGTowerMappingDataCondAlgBase
:
public
AthCondAlgorithm
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
:
29
SG::WriteCondHandleKey<JGTowerMappingData>
m_outputKey
{
30
this
,
"MappingData"
,
""
};
31
SG::ReadCondHandleKey<CaloSuperCellDetDescrManager>
m_caloSuperCellMgrKey
{
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;
37
virtual
StatusCode
buildForwardMapping
(
38
JGTowerMappingData
&data,
39
const
CaloSuperCellDetDescrManager
*mgr)
const
= 0;
40
virtual
StatusCode
loadTowerAreas
(
JGTowerMappingData
&data)
const
= 0;
41
const
CaloCell_SuperCell_ID
*
m_scid
{
nullptr
};
42
const
CaloCell_ID
*
m_ccid
{
nullptr
};
43
};
//> end class AthCondAlgorithm
44
}
// namespace LVL1
45
46
#endif
//> !TRIGT1CALOFEXPERF_JGTOWERMAPPINGDATACONDALGBASE_H
AthCondAlgorithm.h
Base class for conditions algorithms.
CaloCell_ID.h
CaloCell_SuperCell_ID.h
Helper class for offline supercell identifiers.
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
JGTowerBase_ID.h
Factor out code common between JTower_ID and GTower_ID.
JGTowerMappingData.h
ReadCondHandleKey.h
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition
CaloCell_SuperCell_ID.h:45
CaloSuperCellDetDescrManager
Definition
CaloDetDescrManager.h:486
JGTowerBase_ID
Definition
JGTowerBase_ID.h:31
LVL1::JGTowerMappingDataCondAlgBase::m_scid
const CaloCell_SuperCell_ID * m_scid
Definition
JGTowerMappingDataCondAlgBase.h:41
LVL1::JGTowerMappingDataCondAlgBase::buildForwardMapping
virtual StatusCode buildForwardMapping(JGTowerMappingData &data, const CaloSuperCellDetDescrManager *mgr) const =0
LVL1::JGTowerMappingDataCondAlgBase::m_caloSuperCellMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Definition
JGTowerMappingDataCondAlgBase.h:31
LVL1::JGTowerMappingDataCondAlgBase::~JGTowerMappingDataCondAlgBase
virtual ~JGTowerMappingDataCondAlgBase() override
Definition
JGTowerMappingDataCondAlgBase.cxx:23
LVL1::JGTowerMappingDataCondAlgBase::getJGTowerID
virtual const JGTowerBase_ID * getJGTowerID() const =0
LVL1::JGTowerMappingDataCondAlgBase::JGTowerMappingDataCondAlgBase
JGTowerMappingDataCondAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition
JGTowerMappingDataCondAlgBase.cxx:18
LVL1::JGTowerMappingDataCondAlgBase::m_outputKey
SG::WriteCondHandleKey< JGTowerMappingData > m_outputKey
Definition
JGTowerMappingDataCondAlgBase.h:29
LVL1::JGTowerMappingDataCondAlgBase::m_mapTileCells
Gaudi::Property< bool > m_mapTileCells
Definition
JGTowerMappingDataCondAlgBase.h:33
LVL1::JGTowerMappingDataCondAlgBase::loadTowerAreas
virtual StatusCode loadTowerAreas(JGTowerMappingData &data) const =0
LVL1::JGTowerMappingDataCondAlgBase::m_ccid
const CaloCell_ID * m_ccid
Definition
JGTowerMappingDataCondAlgBase.h:42
LVL1::JGTowerMappingDataCondAlgBase::execute
virtual StatusCode execute(const EventContext &ctx) const final
Definition
JGTowerMappingDataCondAlgBase.cxx:34
LVL1::JGTowerMappingDataCondAlgBase::initialize
virtual StatusCode initialize() override
Definition
JGTowerMappingDataCondAlgBase.cxx:25
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
LVL1::JGTowerMappingData
std::vector< JGTowerHelper > JGTowerMappingData
Definition
JGTowerMappingData.h:13
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0