ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigT2CaloEgamma
src
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"
21
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
22
#include "
StoreGate/ReadHandleKey.h
"
23
#include "
StoreGate/WriteHandleKey.h
"
24
#include "
CaloEvent/CaloBCIDAverage.h
"
25
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
26
#include "
TrigT2CaloCalibration/IEgammaCalibration.h
"
27
#include "
xAODTrigCalo/TrigEMCluster.h
"
28
#include "
xAODTrigCalo/TrigEMClusterContainer.h
"
29
#include "
xAODTrigCalo/TrigEMClusterAuxContainer.h
"
30
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
31
#include "
TrigFastCalibWithRings.h
"
32
33
#include <string>
34
35
class
IReAlgToolCalo
;
36
39
class
T2CaloEgammaReFastAlgo
:
public
AthReentrantAlgorithm
{
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"
};
82
SG::ReadHandleKey<CaloBCIDAverage>
m_bcidAvgKey
{
83
this
,
"BCIDAvgKey"
,
"CaloBCIDAverage"
,
""
};
84
85
SG::ReadHandleKey<TrigRoiDescriptorCollection>
m_roiCollectionKey
{
86
this
,
"RoIs"
,
"OutputRoIs"
,
"input RoIs"
};
87
88
SG::WriteHandleKey<xAOD::TrigEMClusterContainer>
m_clusterContainerKey
{
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
AthReentrantAlgorithm.h
CaloBCIDAverage.h
TrigEMClusterContainer.h
TrigEMCluster.h
GenericMonitoringTool.h
IEgammaCalibration.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigEMClusterAuxContainer.h
TrigFastCalibWithRings.h
TrigRoiDescriptorCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
IReAlgToolCalo
Base Class for Tools used for Egamma and Tau Feature Extraction Algorithms.
Definition
IReAlgToolCalo.h:37
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
T2CaloEgammaReFastAlgo::m_phiWidth
Gaudi::Property< double > m_phiWidth
Definition
T2CaloEgammaReFastAlgo.h:65
T2CaloEgammaReFastAlgo::m_emAlgTools
ToolHandleArray< IReAlgToolCalo > m_emAlgTools
Definition
T2CaloEgammaReFastAlgo.h:80
T2CaloEgammaReFastAlgo::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
T2CaloEgammaReFastAlgo.cxx:42
T2CaloEgammaReFastAlgo::m_etaWidth
Gaudi::Property< double > m_etaWidth
Definition
T2CaloEgammaReFastAlgo.h:64
T2CaloEgammaReFastAlgo::T2CaloEgammaReFastAlgo
T2CaloEgammaReFastAlgo(const std::string &name, ISvcLocator *pSvcLocator)
Definition
T2CaloEgammaReFastAlgo.cxx:26
T2CaloEgammaReFastAlgo::m_calibWRingsTool
ToolHandle< TrigFastCalibWithRings > m_calibWRingsTool
Definition
T2CaloEgammaReFastAlgo.h:91
T2CaloEgammaReFastAlgo::m_useRings
Gaudi::Property< bool > m_useRings
Definition
T2CaloEgammaReFastAlgo.h:58
T2CaloEgammaReFastAlgo::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition
T2CaloEgammaReFastAlgo.h:85
T2CaloEgammaReFastAlgo::m_doForward
Gaudi::Property< bool > m_doForward
calculate zo mass
Definition
T2CaloEgammaReFastAlgo.h:52
T2CaloEgammaReFastAlgo::m_zEta
Gaudi::Property< std::vector< float > > m_zEta
Definition
T2CaloEgammaReFastAlgo.h:77
T2CaloEgammaReFastAlgo::m_clusterContainerKey
SG::WriteHandleKey< xAOD::TrigEMClusterContainer > m_clusterContainerKey
Definition
T2CaloEgammaReFastAlgo.h:88
T2CaloEgammaReFastAlgo::m_calibsBarrel
ToolHandleArray< IEgammaCalibration > m_calibsBarrel
Definition
T2CaloEgammaReFastAlgo.h:70
T2CaloEgammaReFastAlgo::initialize
virtual StatusCode initialize() override
Definition
T2CaloEgammaReFastAlgo.cxx:30
T2CaloEgammaReFastAlgo::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
T2CaloEgammaReFastAlgo.h:90
T2CaloEgammaReFastAlgo::m_calibsEndcap
ToolHandleArray< IEgammaCalibration > m_calibsEndcap
Definition
T2CaloEgammaReFastAlgo.h:72
T2CaloEgammaReFastAlgo::m_bcidAvgKey
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
Definition
T2CaloEgammaReFastAlgo.h:82
T2CaloEgammaReFastAlgo::m_l1eta
Gaudi::Property< float > m_l1eta
Definition
T2CaloEgammaReFastAlgo.h:62
T2CaloEgammaReFastAlgo::m_doCalibWithRings
Gaudi::Property< bool > m_doCalibWithRings
Definition
T2CaloEgammaReFastAlgo.h:55
T2CaloEgammaReFastAlgo::m_rhoEta
Gaudi::Property< std::vector< float > > m_rhoEta
Definition
T2CaloEgammaReFastAlgo.h:75
T2CaloEgammaReFastAlgo::m_storeCells
Gaudi::Property< bool > m_storeCells
Definition
T2CaloEgammaReFastAlgo.h:67
T2CaloEgammaReFastAlgo::m_l1phi
Gaudi::Property< float > m_l1phi
Definition
T2CaloEgammaReFastAlgo.h:63
Generated on
for ATLAS Offline Software by
1.17.0