ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigCaloRec
src
TrigCaloTowerMaker.h
Go to the documentation of this file.
1
// Hi Emacs ! this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
/********************************************************************
8
*
9
* NAME: TrigCaloTowerMaker
10
* PACKAGE: Trigger/TrigAlgorithms/TrigCaloRec
11
*
12
* AUTHOR: P.A. Delsart
13
* CREATED: August 2006
14
*
15
*********************************************************************/
16
#ifndef TRIGCALOREC_TRIGCALOTOWERMAKER_H
17
#define TRIGCALOREC_TRIGCALOTOWERMAKER_H
18
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "CaloEvent/CaloTowerContainer.h"
21
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
22
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
23
#include "
CaloUtils/CaloTowerBuilderToolBase.h
"
24
25
26
27
class
TrigCaloTowerMaker
:
public
AthReentrantAlgorithm
{
28
29
public
:
30
32
TrigCaloTowerMaker
(
const
std::string& name, ISvcLocator* pSvcLocator);
33
35
virtual
StatusCode
initialize
()
override
;
36
37
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
38
private
:
39
40
41
43
Gaudi::Property<unsigned int>
m_nEtaTowers
{
this
,
"NumberOfEtaTowers"
, 50};
44
46
Gaudi::Property<unsigned int>
m_nPhiTowers
{
this
,
"NumberOfPhiTowers"
, 64};
47
49
Gaudi::Property<double>
m_minEta
{
this
,
"EtaMin"
, -2.5};
50
Gaudi::Property<double>
m_maxEta
{
this
,
"EtaMax"
, 2.5};
51
// TODO find out meaning of these, seems relevan for RoI operation mode only
52
Gaudi::Property<double>
m_deta
{
this
,
"DeltaEta"
, 0.5};
53
Gaudi::Property<double>
m_dphi
{
this
,
"DeltaPhi"
, 0.5};
54
55
56
ToolHandleArray<CaloTowerBuilderToolBase>
m_towerMakerTools
{
this
,
"TowerMakerTools"
, {}};
57
58
SG::ReadHandleKey<TrigRoiDescriptorCollection>
m_inputRoiKey
{
this
,
59
"RoIs"
,
60
"rois"
,
61
"input RoI collection name"
};
62
63
SG::ReadHandleKey<CaloCellContainer>
m_inputCellsKey
{
this
,
64
"Cells"
,
65
"cells"
,
66
"input CaloCellContainer "
};
67
68
SG::WriteHandleKey<CaloTowerContainer>
m_outputTowerKey
{
this
,
69
"CaloTowers"
,
70
"calotowers"
,
71
"output CaloTowerContainer"
};
72
73
SG::WriteHandleKey< INavigable4MomentumCollection>
m_caloTowerNav4LinkKey
{
this
,
74
"CaloTowersSymLinkName"
,
75
"calotowers"
,
76
"Calo Towers SymLink Name - don't set this"
};
77
78
79
81
bool
m_includeFcal
;
82
83
ToolHandle< GenericMonitoringTool >
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
84
85
};
86
#endif
AthReentrantAlgorithm.h
CaloTowerBuilderToolBase.h
GenericMonitoringTool.h
TrigRoiDescriptorCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
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
TrigCaloTowerMaker::TrigCaloTowerMaker
TrigCaloTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
constructor
Definition
TrigCaloTowerMaker.cxx:39
TrigCaloTowerMaker::m_nEtaTowers
Gaudi::Property< unsigned int > m_nEtaTowers
Number of eta segments in which we divide the calorimeter.
Definition
TrigCaloTowerMaker.h:43
TrigCaloTowerMaker::m_includeFcal
bool m_includeFcal
To help structure Tower container.
Definition
TrigCaloTowerMaker.h:81
TrigCaloTowerMaker::m_inputRoiKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_inputRoiKey
Definition
TrigCaloTowerMaker.h:58
TrigCaloTowerMaker::m_maxEta
Gaudi::Property< double > m_maxEta
Definition
TrigCaloTowerMaker.h:50
TrigCaloTowerMaker::m_deta
Gaudi::Property< double > m_deta
Definition
TrigCaloTowerMaker.h:52
TrigCaloTowerMaker::m_nPhiTowers
Gaudi::Property< unsigned int > m_nPhiTowers
Number of phi segments in which we divide the calorimeter.
Definition
TrigCaloTowerMaker.h:46
TrigCaloTowerMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrigCaloTowerMaker.cxx:89
TrigCaloTowerMaker::m_inputCellsKey
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
Definition
TrigCaloTowerMaker.h:63
TrigCaloTowerMaker::initialize
virtual StatusCode initialize() override
HLT method to initialize.
Definition
TrigCaloTowerMaker.cxx:53
TrigCaloTowerMaker::m_towerMakerTools
ToolHandleArray< CaloTowerBuilderToolBase > m_towerMakerTools
Definition
TrigCaloTowerMaker.h:56
TrigCaloTowerMaker::m_dphi
Gaudi::Property< double > m_dphi
Definition
TrigCaloTowerMaker.h:53
TrigCaloTowerMaker::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
TrigCaloTowerMaker.h:83
TrigCaloTowerMaker::m_outputTowerKey
SG::WriteHandleKey< CaloTowerContainer > m_outputTowerKey
Definition
TrigCaloTowerMaker.h:68
TrigCaloTowerMaker::m_minEta
Gaudi::Property< double > m_minEta
Eta limits of the region where the towers are built.
Definition
TrigCaloTowerMaker.h:49
TrigCaloTowerMaker::m_caloTowerNav4LinkKey
SG::WriteHandleKey< INavigable4MomentumCollection > m_caloTowerNav4LinkKey
Definition
TrigCaloTowerMaker.h:73
Generated on
for ATLAS Offline Software by
1.17.0