ATLAS Offline Software
Loading...
Searching...
No Matches
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 -------------------
8begin : Wed Mar 12 2014
9email : 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
25#include "GaudiKernel/ServiceHandle.h"
26#include "GaudiKernel/ToolHandle.h"
27
29
30// LVL1 Calo Trigger
33
34namespace 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() ;
67
68 private:
70 void storeModuleRoIs();
72 void storeBackplaneTOBs();
73
76
79
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
An STL vector of pointers that by default owns its pointed-to elements.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Derived DataVector<T>.
Definition DataVector.h:795
SG::ReadHandleKey< xAOD::JetElementContainer > m_JetElementInputKey
Where to find the JetElements.
Definition JEMJetSim.h:81
StatusCode initialize()
Definition JEMJetSim.cxx:60
SG::WriteHandleKey< DataVector< JEMTobRoI > > m_JEMTobRoIOutputKey
Locations of outputs in StoreGate.
Definition JEMJetSim.h:84
DataVector< JetCMXData > * m_JetCMXData
Backplane data objects: CPM outputs to CMX.
Definition JEMJetSim.h:78
StatusCode execute()
Definition JEMJetSim.cxx:76
ToolHandle< LVL1::IL1JEMJetTools > m_JetTool
The essentials - data access, configuration, tools.
Definition JEMJetSim.h:88
void storeBackplaneTOBs()
Store module outputs in TES as inputs to CMX simulation.
SG::WriteHandleKey< DataVector< JetCMXData > > m_JetCMXDataOutputKey
Definition JEMJetSim.h:85
DataVector< JEMTobRoI > * m_allTOBs
TOB RoIs for RoIB input and DAQ output simulation.
Definition JEMJetSim.h:75
JEMJetSim(const std::string &name, ISvcLocator *pSvcLocator)
Definition JEMJetSim.cxx:47
void storeModuleRoIs()
Store TOB RoI objects in the TES.
The JetCMXData object contains the data transferred from the CPM to one of the Jet CMX in the crate.
Definition JetCMXData.h:25
static const std::string JetCMXDataLocation
static const std::string JetElementLocation
static const std::string JEMTobRoILocation
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...