ATLAS Offline Software
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 
20 #include "CaloEvent/CaloTowerContainer.h"
24 
25 
26 
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 
59  "RoIs",
60  "rois",
61  "input RoI collection name"};
62 
64  "Cells",
65  "cells",
66  "input CaloCellContainer "};
67 
69  "CaloTowers",
70  "calotowers",
71  "output CaloTowerContainer"};
72 
74  "CaloTowersSymLinkName",
75  "calotowers",
76  "Calo Towers SymLink Name - don't set this"};
77 
78 
79 
82 
83  ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
84 
85 };
86 #endif
TrigCaloTowerMaker::m_maxEta
Gaudi::Property< double > m_maxEta
Definition: TrigCaloTowerMaker.h:58
TrigCaloTowerMaker::m_deta
Gaudi::Property< double > m_deta
Definition: TrigCaloTowerMaker.h:60
TrigCaloTowerMaker::m_nPhiTowers
Gaudi::Property< unsigned int > m_nPhiTowers
Number of phi segments in which we divide the calorimeter.
Definition: TrigCaloTowerMaker.h:54
TrigCaloTowerMaker::m_outputTowerKey
SG::WriteHandleKey< CaloTowerContainer > m_outputTowerKey
Definition: TrigCaloTowerMaker.h:76
TrigCaloTowerMaker::m_includeFcal
bool m_includeFcal
To help structure Tower container.
Definition: TrigCaloTowerMaker.h:89
TrigCaloTowerMaker::m_dphi
Gaudi::Property< double > m_dphi
Definition: TrigCaloTowerMaker.h:61
SG::ReadHandleKey< TrigRoiDescriptorCollection >
TrigCaloTowerMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TrigCaloTowerMaker.cxx:89
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
GenericMonitoringTool.h
TrigCaloTowerMaker::m_inputRoiKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_inputRoiKey
Definition: TrigCaloTowerMaker.h:66
SG::WriteHandleKey< CaloTowerContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
TrigCaloTowerMaker::m_inputCellsKey
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
Definition: TrigCaloTowerMaker.h:71
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigCaloTowerMaker::m_caloTowerNav4LinkKey
SG::WriteHandleKey< INavigable4MomentumCollection > m_caloTowerNav4LinkKey
Definition: TrigCaloTowerMaker.h:81
TrigCaloTowerMaker::m_towerMakerTools
ToolHandleArray< CaloTowerBuilderToolBase > m_towerMakerTools
Definition: TrigCaloTowerMaker.h:64
TrigCaloTowerMaker::initialize
virtual StatusCode initialize() override
HLT method to initialize.
Definition: TrigCaloTowerMaker.cxx:53
TrigCaloTowerMaker::m_nEtaTowers
Gaudi::Property< unsigned int > m_nEtaTowers
Number of eta segments in which we divide the calorimeter.
Definition: TrigCaloTowerMaker.h:51
TrigCaloTowerMaker::m_minEta
Gaudi::Property< double > m_minEta
Eta limits of the region where the towers are built.
Definition: TrigCaloTowerMaker.h:57
TrigCaloTowerMaker::TrigCaloTowerMaker
TrigCaloTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
constructor
Definition: TrigCaloTowerMaker.cxx:39
TrigCaloTowerMaker::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: TrigCaloTowerMaker.h:91
TrigCaloTowerMaker
Definition: TrigCaloTowerMaker.h:27
CaloTowerBuilderToolBase.h
TrigRoiDescriptorCollection.h