ATLAS Offline Software
Loading...
Searching...
No Matches
T2CaloEgammaReFastAlgo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
15
16#ifndef TRIGT2CALOEGAMMA_T2CALOEGAMMAREFASTALGO_H
17#define TRIGT2CALOEGAMMA_T2CALOEGAMMAREFASTALGO_H
18
19#include "GaudiKernel/ServiceHandle.h"
20#include "GaudiKernel/ToolHandle.h"
32
33#include <string>
34
35class IReAlgToolCalo;
36
40
41 public:
42 T2CaloEgammaReFastAlgo(const std::string& name, ISvcLocator* pSvcLocator);
43
44 virtual StatusCode initialize() override;
45 virtual StatusCode execute(const EventContext& context) const override;
47 // float calculateZ0(const float etaLayer1, const float etaLayer2);
48
49 private:
50 // Properties:
51
52 Gaudi::Property<bool> m_doForward{this, "DoForward", false,
53 "Do Forward clusters"};
54
55 Gaudi::Property<bool> m_doCalibWithRings{this, "DoCalibWithRings", false,
56 "FastCalo Et Calibration using Rings"};
57
58 Gaudi::Property<bool> m_useRings{this, "UseRings", false,
59 "Rings are Used in FastCaloFex"};
60
61
62 Gaudi::Property<float> m_l1eta{this, "L1ForceEta", -10.0, "Forced LVL1 eta"};
63 Gaudi::Property<float> m_l1phi{this, "L1ForcePhi", -10.0, "Forced LVL1 phi"};
64 Gaudi::Property<double> m_etaWidth{this, "EtaWidth", 0.1, "Eta Width of the Region of Interest"};
65 Gaudi::Property<double> m_phiWidth{this, "PhiWidth", 0.1, "Phi Width of the Region of Interest"};
66
67 Gaudi::Property<bool> m_storeCells{this, "StoreCells", false,
68 "store cells in container attached to RoI"};
69
70 ToolHandleArray<IEgammaCalibration> m_calibsBarrel{
71 this, "CalibListBarrel", {}, "list of calib tools for the Barrel clusters"};
72 ToolHandleArray<IEgammaCalibration> m_calibsEndcap{
73 this, "CalibListEndcap", {}, "list of calib tools for the EndCap clusters"};
74
75 Gaudi::Property<std::vector<float>> m_rhoEta{
76 this, "RhoEta", {}, "Variables to calculate Z0 position"};
77 Gaudi::Property<std::vector<float>> m_zEta{
78 this, "ZEta", {}, "Variables to calculate Z0 position"};
79
80 ToolHandleArray<IReAlgToolCalo> m_emAlgTools{
81 this, "IReAlgToolList", {}, "list of ReAlgToolCalos for feature extraction"};
83 this, "BCIDAvgKey", "CaloBCIDAverage", "" };
84
86 this, "RoIs", "OutputRoIs", "input RoIs"};
87
89 this, "ClustersName", "CaloClusters", "Calo cluster container"};
90 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
91 ToolHandle< TrigFastCalibWithRings > m_calibWRingsTool { this, "CalibWRingsTool", "", "FastCalo Calib with Rings tool" };
92
93};
94
95#endif
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.
An algorithm that can be simultaneously executed in multiple threads.
Base Class for Tools used for Egamma and Tau Feature Extraction Algorithms.
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.
Gaudi::Property< double > m_phiWidth
ToolHandleArray< IReAlgToolCalo > m_emAlgTools
virtual StatusCode execute(const EventContext &context) const override
Gaudi::Property< double > m_etaWidth
T2CaloEgammaReFastAlgo(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< TrigFastCalibWithRings > m_calibWRingsTool
Gaudi::Property< bool > m_useRings
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Gaudi::Property< bool > m_doForward
calculate zo mass
Gaudi::Property< std::vector< float > > m_zEta
SG::WriteHandleKey< xAOD::TrigEMClusterContainer > m_clusterContainerKey
ToolHandleArray< IEgammaCalibration > m_calibsBarrel
virtual StatusCode initialize() override
ToolHandle< GenericMonitoringTool > m_monTool
ToolHandleArray< IEgammaCalibration > m_calibsEndcap
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
Gaudi::Property< float > m_l1eta
Gaudi::Property< bool > m_doCalibWithRings
Gaudi::Property< std::vector< float > > m_rhoEta
Gaudi::Property< bool > m_storeCells
Gaudi::Property< float > m_l1phi