ATLAS Offline Software
Loading...
Searching...
No Matches
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
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigCaloTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
constructor
Gaudi::Property< unsigned int > m_nEtaTowers
Number of eta segments in which we divide the calorimeter.
bool m_includeFcal
To help structure Tower container.
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_inputRoiKey
Gaudi::Property< double > m_maxEta
Gaudi::Property< double > m_deta
Gaudi::Property< unsigned int > m_nPhiTowers
Number of phi segments in which we divide the calorimeter.
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
virtual StatusCode initialize() override
HLT method to initialize.
ToolHandleArray< CaloTowerBuilderToolBase > m_towerMakerTools
Gaudi::Property< double > m_dphi
ToolHandle< GenericMonitoringTool > m_monTool
SG::WriteHandleKey< CaloTowerContainer > m_outputTowerKey
Gaudi::Property< double > m_minEta
Eta limits of the region where the towers are built.
SG::WriteHandleKey< INavigable4MomentumCollection > m_caloTowerNav4LinkKey