ATLAS Offline Software
Loading...
Searching...
No Matches
gFEXSysSim.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4//***************************************************************************
5// gFEXSysSim - Overall gFEX simulation
6// -------------------
7// begin : 01 04 2021
8// email : cecilia.tosciri@cern.ch
9//***************************************************************************
10
11#ifndef gFEXSysSim_H
12#define gFEXSysSim_H
13
16#include "gFEXSim.h"
17#include "L1CaloFEXSim/gTower.h"
18
26#include "TrigConfData/L1Menu.h"
27
28namespace LVL1 {
29
30 //Doxygen class description below:
37
38 class gFEXSysSim : public extends<AthAlgTool, IgFEXSysSim> {
39
40 public:
42 using base_class::base_class;
43
45 virtual StatusCode initialize() override;
46
47 virtual StatusCode execute(const EventContext& ctx, gFEXOutputCollection* gFEXOutputs) const override ;
48
49 virtual int calcTowerID(int eta, int phi, int nphi, int mod) const override ;
50
52 virtual StatusCode fillgRhoEDM(xAOD::gFexJetRoIContainer* gRhoContainer, uint32_t tobWord, int scale) const override ;
53
54 virtual StatusCode fillgBlockEDM(xAOD::gFexJetRoIContainer* gBlockContainer, uint32_t tobWord, int scale) const override ;
55
56 virtual StatusCode fillgJetEDM(xAOD::gFexJetRoIContainer* gJetContainer, uint32_t tobWord, int scale) const override ;
57
58 virtual StatusCode fillgScalarEJwojEDM(xAOD::gFexGlobalRoIContainer* gScalarEJwojContainer, uint32_t tobWord, int scale1, int scale2) const override ;
59
60 virtual StatusCode fillgMETComponentsJwojEDM(xAOD::gFexGlobalRoIContainer* gMETComponentsJwojContainer, uint32_t tobWord, int scale1, int scale2) const override ;
61
62 virtual StatusCode fillgMHTComponentsJwojEDM(xAOD::gFexGlobalRoIContainer* gMHTComponentsJwojContainer, uint32_t tobWord, int scale1, int scale2) const override ;
63
64 virtual StatusCode fillgMSTComponentsJwojEDM(xAOD::gFexGlobalRoIContainer* gMSTComponentsJwojContainer, uint32_t tobWord, int scale1, int scale2) const override ;
65
66 virtual StatusCode fillgMETComponentsNoiseCutEDM(xAOD::gFexGlobalRoIContainer* gMETComponentsNoiseCutContainer, uint32_t tobWord, int scale1, int scale2) const override ;
67
68 virtual StatusCode fillgMETComponentsRmsEDM(xAOD::gFexGlobalRoIContainer* gMETComponentsRmsContainer, uint32_t tobWord, int scale1, int scale2) const override ;
69
70 virtual StatusCode fillgScalarENoiseCutEDM(xAOD::gFexGlobalRoIContainer* gScalarENoiseCutContainer, uint32_t tobWord, int scale1, int scale2) const override ;
71
72 virtual StatusCode fillgScalarERmsEDM(xAOD::gFexGlobalRoIContainer* gScalarERmsContainer, uint32_t tobWord, int scale1, int scale2) const override ;
73
74
76 private:
77
78
79 ToolHandle<IgFEXSim> m_gFEXSimTool {this, "gFEXSimTool", "LVL1::gFEXSim", "Tool that creates the gFEX Simulation"};
80
81 SG::ReadHandleKey<LVL1::gTowerContainer> m_gTowerContainerSGKey {this, "MyGTowers", "gTowerContainer", "Input container for gTowers"};
82 SG::ReadHandleKey<TrigConf::L1Menu> m_l1MenuKey{this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu","Name of the L1Menu object to read configuration from"};
83
84 SG::WriteHandleKey< xAOD::gFexJetRoIContainer > m_gFexRhoOutKey {this,"Key_gFexRhoOutputContainer","L1_gFexRhoRoI","Output gFexRho (energy density) container"};
85 SG::WriteHandleKey< xAOD::gFexJetRoIContainer > m_gFexBlockOutKey {this,"Key_gFexSRJetOutputContainer","L1_gFexSRJetRoI","Output gFexBlock (small-R jet) container"};
86 SG::WriteHandleKey< xAOD::gFexJetRoIContainer > m_gFexJetOutKey {this,"Key_gFexLRJetOutputContainer","L1_gFexLRJetRoI","Output gFexJet (large-R jet) container"};
87
88 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarEJwojOutKey {this,"Key_gScalarEJwojOutputContainer","L1_gScalarEJwoj","Output Scalar MET and SumET (from Jets without Jets algo) container"};
89 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsJwojOutKey {this,"Key_gMETComponentsJwojOutputContainer","L1_gMETComponentsJwoj","Output total MET components (from Jets without Jets algo) container"};
90 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMHTComponentsJwojOutKey {this,"Key_gMHTComponentsJwojOutputContainer","L1_gMHTComponentsJwoj","Output hard MET components (from Jets without Jets algo) container"};
91 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMSTComponentsJwojOutKey {this,"Key_gMSTComponentsJwojOutputContainer","L1_gMSTComponentsJwoj","Output soft MET components (from Jets without Jets algo) container"};
92
93 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsNoiseCutOutKey {this,"Key_gMETComponentsNoiseCutOutputContainer","L1_gMETComponentsNoiseCut","Output total MET components (from Noise Cut algo) container"};
94 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsRmsOutKey {this,"Key_gMETComponentsRmsOutputContainer","L1_gMETComponentsRms","Output total MET components (from RMS algo) container"};
95 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarENoiseCutOutKey {this,"Key_gScalarENoiseCutOutputContainer","L1_gScalarENoiseCut","Output Scalar MET and SumET (from Noise Cut algo) container"};
96 SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarERmsOutKey {this,"Key_gScalarERmsOutputContainer","L1_gScalarERms","Output Scalar MET and SumET (from RMS algo) container"};
97
98 };
99
100} // end of namespace
101
102
103#endif
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define scale2
#define scale1
The gFEXSysSim class defines the structure of the gFEX system Its purpose is:
Definition gFEXSysSim.h:38
virtual StatusCode fillgMSTComponentsJwojEDM(xAOD::gFexGlobalRoIContainer *gMSTComponentsJwojContainer, uint32_t tobWord, int scale1, int scale2) const override
virtual StatusCode fillgMHTComponentsJwojEDM(xAOD::gFexGlobalRoIContainer *gMHTComponentsJwojContainer, uint32_t tobWord, int scale1, int scale2) const override
virtual StatusCode fillgMETComponentsJwojEDM(xAOD::gFexGlobalRoIContainer *gMETComponentsJwojContainer, uint32_t tobWord, int scale1, int scale2) const override
virtual StatusCode fillgRhoEDM(xAOD::gFexJetRoIContainer *gRhoContainer, uint32_t tobWord, int scale) const override
Create and fill a new gFexJetRoI object, and return a pointer to it.
SG::ReadHandleKey< TrigConf::L1Menu > m_l1MenuKey
Definition gFEXSysSim.h:82
SG::ReadHandleKey< LVL1::gTowerContainer > m_gTowerContainerSGKey
Definition gFEXSysSim.h:81
SG::WriteHandleKey< xAOD::gFexJetRoIContainer > m_gFexJetOutKey
Definition gFEXSysSim.h:86
virtual StatusCode initialize() override
standard Athena-Algorithm method
virtual StatusCode fillgScalarERmsEDM(xAOD::gFexGlobalRoIContainer *gScalarERmsContainer, uint32_t tobWord, int scale1, int scale2) const override
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsJwojOutKey
Definition gFEXSysSim.h:89
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsNoiseCutOutKey
Definition gFEXSysSim.h:93
virtual StatusCode fillgScalarEJwojEDM(xAOD::gFexGlobalRoIContainer *gScalarEJwojContainer, uint32_t tobWord, int scale1, int scale2) const override
SG::WriteHandleKey< xAOD::gFexJetRoIContainer > m_gFexRhoOutKey
Definition gFEXSysSim.h:84
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMHTComponentsJwojOutKey
Definition gFEXSysSim.h:90
virtual StatusCode fillgMETComponentsNoiseCutEDM(xAOD::gFexGlobalRoIContainer *gMETComponentsNoiseCutContainer, uint32_t tobWord, int scale1, int scale2) const override
virtual StatusCode fillgMETComponentsRmsEDM(xAOD::gFexGlobalRoIContainer *gMETComponentsRmsContainer, uint32_t tobWord, int scale1, int scale2) const override
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarEJwojOutKey
Definition gFEXSysSim.h:88
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarERmsOutKey
Definition gFEXSysSim.h:96
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMETComponentsRmsOutKey
Definition gFEXSysSim.h:94
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gScalarENoiseCutOutKey
Definition gFEXSysSim.h:95
virtual StatusCode fillgScalarENoiseCutEDM(xAOD::gFexGlobalRoIContainer *gScalarENoiseCutContainer, uint32_t tobWord, int scale1, int scale2) const override
virtual StatusCode fillgJetEDM(xAOD::gFexJetRoIContainer *gJetContainer, uint32_t tobWord, int scale) const override
virtual StatusCode fillgBlockEDM(xAOD::gFexJetRoIContainer *gBlockContainer, uint32_t tobWord, int scale) const override
SG::WriteHandleKey< xAOD::gFexGlobalRoIContainer > m_gMSTComponentsJwojOutKey
Definition gFEXSysSim.h:91
SG::WriteHandleKey< xAOD::gFexJetRoIContainer > m_gFexBlockOutKey
Definition gFEXSysSim.h:85
virtual StatusCode execute(const EventContext &ctx, gFEXOutputCollection *gFEXOutputs) const override
virtual int calcTowerID(int eta, int phi, int nphi, int mod) const override
ToolHandle< IgFEXSim > m_gFEXSimTool
Internal data.
Definition gFEXSysSim.h:79
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.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
gFexGlobalRoIContainer_v1 gFexGlobalRoIContainer
gFexJetRoIContainer_v1 gFexJetRoIContainer