ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloSim
src
JEMJetSim.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
JEMJetSim.h - description
7
-------------------
8
begin : Wed Mar 12 2014
9
email : Alan.Watson@CERN.CH
10
***************************************************************************/
11
12
/***************************************************************************
13
* *
14
* *
15
***************************************************************************/
16
#ifndef JEMJetSim_H
17
#define JEMJetSim_H
18
19
// STL
20
#include <string>
21
#include <vector>
22
23
// Athena/Gaudi
24
#include "
AthenaBaseComps/AthAlgorithm.h
"
25
#include "GaudiKernel/ServiceHandle.h"
26
#include "GaudiKernel/ToolHandle.h"
27
28
#include "
AthContainers/DataVector.h
"
29
30
// LVL1 Calo Trigger
31
#include "
TrigT1CaloToolInterfaces/IL1JEMJetTools.h
"
32
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
33
34
namespace
LVL1
{
35
36
//using namespace TrigConf;
37
38
class
JetCMXData
;
39
class
JEMTobRoI
;
40
41
42
//Doxygen Class definition below:
46
class
JEMJetSim
:
public
AthAlgorithm
47
{
48
49
public
:
50
51
//-------------------------
52
// Constructors/Destructors
53
//
54
// Athena requires that the constructor takes certain arguments
55
// (and passes them directly to the constructor of the base class)
56
//-------------------------
57
58
JEMJetSim
(
const
std::string&
name
, ISvcLocator* pSvcLocator ) ;
59
60
61
//------------------------------------------------------
62
// Methods used by Athena to run the algorithm
63
//------------------------------------------------------
64
65
StatusCode
initialize
() ;
66
StatusCode
execute
(
const
EventContext& ctx) ;
67
68
private
:
70
void
storeModuleRoIs
(
const
EventContext& ctx);
72
void
storeBackplaneTOBs
(
const
EventContext& ctx);
73
75
DataVector<JEMTobRoI>
*
m_allTOBs
;
76
78
DataVector<JetCMXData>
*
m_JetCMXData
;
79
81
SG::ReadHandleKey<xAOD::JetElementContainer>
m_JetElementInputKey
{
this
,
"JetElementLocation"
,
TrigT1CaloDefs::JetElementLocation
,
"Input JetElement container"
};
82
84
SG::WriteHandleKey<DataVector<JEMTobRoI>
>
m_JEMTobRoIOutputKey
{
this
,
"JEMTOBRoILocation"
,
TrigT1CaloDefs::JEMTobRoILocation
,
"Output Jet ROI container"
};
85
SG::WriteHandleKey<DataVector<JetCMXData>
>
m_JetCMXDataOutputKey
{
this
,
"JetCMXDataLocation"
,
TrigT1CaloDefs::JetCMXDataLocation
,
"Output Jet CMX data container"
};
86
88
ToolHandle<LVL1::IL1JEMJetTools>
m_JetTool
;
89
90
};
91
92
}
// end of namespace bracket
93
94
95
#endif
AthAlgorithm.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IL1JEMJetTools.h
TrigT1CaloDefs.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
LVL1::JEMJetSim::m_JetElementInputKey
SG::ReadHandleKey< xAOD::JetElementContainer > m_JetElementInputKey
Where to find the JetElements.
Definition
JEMJetSim.h:81
LVL1::JEMJetSim::initialize
StatusCode initialize()
Definition
JEMJetSim.cxx:60
LVL1::JEMJetSim::m_JEMTobRoIOutputKey
SG::WriteHandleKey< DataVector< JEMTobRoI > > m_JEMTobRoIOutputKey
Locations of outputs in StoreGate.
Definition
JEMJetSim.h:84
LVL1::JEMJetSim::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
JEMJetSim.cxx:76
LVL1::JEMJetSim::storeBackplaneTOBs
void storeBackplaneTOBs(const EventContext &ctx)
Store module outputs in TES as inputs to CMX simulation.
Definition
JEMJetSim.cxx:149
LVL1::JEMJetSim::storeModuleRoIs
void storeModuleRoIs(const EventContext &ctx)
Store TOB RoI objects in the TES.
Definition
JEMJetSim.cxx:173
LVL1::JEMJetSim::m_JetCMXData
DataVector< JetCMXData > * m_JetCMXData
Backplane data objects: CPM outputs to CMX.
Definition
JEMJetSim.h:78
LVL1::JEMJetSim::m_JetTool
ToolHandle< LVL1::IL1JEMJetTools > m_JetTool
The essentials - data access, configuration, tools.
Definition
JEMJetSim.h:88
LVL1::JEMJetSim::m_JetCMXDataOutputKey
SG::WriteHandleKey< DataVector< JetCMXData > > m_JetCMXDataOutputKey
Definition
JEMJetSim.h:85
LVL1::JEMJetSim::m_allTOBs
DataVector< JEMTobRoI > * m_allTOBs
TOB RoIs for RoIB input and DAQ output simulation.
Definition
JEMJetSim.h:75
LVL1::JEMJetSim::JEMJetSim
JEMJetSim(const std::string &name, ISvcLocator *pSvcLocator)
Definition
JEMJetSim.cxx:47
LVL1::JEMTobRoI
JEM RoI data.
Definition
Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMTobRoI.h:19
LVL1::JetCMXData
The JetCMXData object contains the data transferred from the CPM to one of the Jet CMX in the crate.
Definition
JetCMXData.h:25
LVL1::TrigT1CaloDefs::JetCMXDataLocation
static const std::string JetCMXDataLocation
Definition
TrigT1CaloDefs.h:44
LVL1::TrigT1CaloDefs::JetElementLocation
static const std::string JetElementLocation
Definition
TrigT1CaloDefs.h:39
LVL1::TrigT1CaloDefs::JEMTobRoILocation
static const std::string JEMTobRoILocation
Definition
TrigT1CaloDefs.h:64
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
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0