ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigCaloRec
src
CaloGlobalRoIBuilder.h
Go to the documentation of this file.
1
2
/*
3
* Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
/********************************************************************
7
*
8
* NAME: TrigCaloClusterMaker
9
* PACKAGE: Trigger/TrigAlgorithms/TrigCaloRec
10
*
11
* AUTHOR: D.O. Damazio
12
* CREATED: October 2023
13
*
14
* Builds RoIs from CaloCell, can also produce further cluster
15
*********************************************************************/
16
#ifndef TRIGCALOREC_CALOGLOBALROIBUILDER_H
17
#define TRIGCALOREC_CALOGLOBALROIBUILDER_H
18
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "
CaloConditions/CaloNoise.h
"
21
#include "
StoreGate/WriteHandleKey.h
"
22
#include "
TrigT2CaloEgamma/RingerReFex.h
"
23
#include "
xAODTrigCalo/TrigEMClusterContainer.h
"
24
#include "
xAODTrigRinger/TrigRingerRingsContainer.h
"
25
26
27
class
CaloGlobalRoIBuilder
:
public
AthReentrantAlgorithm
{
28
public
:
29
CaloGlobalRoIBuilder
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
32
33
private
:
34
SG::ReadHandleKey<CaloCellContainer>
m_inputCellsKey
{
this
,
35
"Cells"
,
// property name
36
"cells"
,
// default value of StoreGate key
37
"input CaloCellContainer "
};
38
// adding noise handle for monitoring purposes
39
SG::ReadCondHandleKey<CaloNoise>
m_noiseCDOKey
{
this
,
"CaloNoiseKey"
,
"totalNoise"
,
"SG Key of CaloNoise data object"
};
40
Gaudi::Property<float>
m_thr
{
this
,
"Thr"
, 4,
"Threshold to pass"
};
41
Gaudi::Property<float>
m_abseta_thr
{
this
,
"AbsEtaThr"
, 2.5,
"Threshold to define fiducial volume Abs Eta"
};
42
Gaudi::Property<float>
m_samp_thr
{
this
,
"SampThr"
, 7,
"Threshold to define fiducial volume Samp"
};
// only EM
43
44
ToolHandle<RingerReFex>
m_emAlgTools
{
this
,
"RingerTool"
, {},
"RingerReFex"
};
45
SG::WriteHandleKey<xAOD::TrigEMClusterContainer>
m_clusterContainerKey
{
46
this
,
"ClustersName"
,
"CaloClustersGlobal"
,
"Calo cluster container"
};
47
SG::WriteHandleKey<xAOD::TrigRingerRingsContainer>
m_ringerContainerKey
{
this
,
"RingerKey"
,
"Global_FastCaloRinger"
,
"TrigRingerRings container key"
};
48
49
};
50
51
#endif
AthReentrantAlgorithm.h
CaloNoise.h
TrigEMClusterContainer.h
RingerReFex.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigRingerRingsContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloGlobalRoIBuilder::m_samp_thr
Gaudi::Property< float > m_samp_thr
Definition
CaloGlobalRoIBuilder.h:42
CaloGlobalRoIBuilder::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Definition
CaloGlobalRoIBuilder.h:39
CaloGlobalRoIBuilder::initialize
virtual StatusCode initialize() override
Definition
CaloGlobalRoIBuilder.cxx:34
CaloGlobalRoIBuilder::m_emAlgTools
ToolHandle< RingerReFex > m_emAlgTools
Definition
CaloGlobalRoIBuilder.h:44
CaloGlobalRoIBuilder::m_clusterContainerKey
SG::WriteHandleKey< xAOD::TrigEMClusterContainer > m_clusterContainerKey
Definition
CaloGlobalRoIBuilder.h:45
CaloGlobalRoIBuilder::m_abseta_thr
Gaudi::Property< float > m_abseta_thr
Definition
CaloGlobalRoIBuilder.h:41
CaloGlobalRoIBuilder::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CaloGlobalRoIBuilder.cxx:49
CaloGlobalRoIBuilder::m_ringerContainerKey
SG::WriteHandleKey< xAOD::TrigRingerRingsContainer > m_ringerContainerKey
Definition
CaloGlobalRoIBuilder.h:47
CaloGlobalRoIBuilder::m_thr
Gaudi::Property< float > m_thr
Definition
CaloGlobalRoIBuilder.h:40
CaloGlobalRoIBuilder::m_inputCellsKey
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
Definition
CaloGlobalRoIBuilder.h:34
CaloGlobalRoIBuilder::CaloGlobalRoIBuilder
CaloGlobalRoIBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CaloGlobalRoIBuilder.cxx:28
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0