ATLAS Offline Software
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
25 #include "GaudiKernel/ServiceHandle.h"
26 #include "GaudiKernel/ToolHandle.h"
27 
29 
30 // LVL1 Calo Trigger
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 
67 
68  private:
70  void storeModuleRoIs();
72  void storeBackplaneTOBs();
73 
76 
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
LVL1::JEMJetSim::m_JetCMXData
DataVector< JetCMXData > * m_JetCMXData
Backplane data objects: CPM outputs to CMX.
Definition: JEMJetSim.h:86
xAOD::JEMTobRoI
JEMTobRoI_v1 JEMTobRoI
Define the latest version of the JEMTobRoI class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JEMTobRoI.h:17
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:39
LVL1::JEMJetSim::m_JEMTobRoIOutputKey
SG::WriteHandleKey< DataVector< JEMTobRoI > > m_JEMTobRoIOutputKey
Locations of outputs in StoreGate.
Definition: JEMJetSim.h:92
LVL1::JEMJetSim::JEMJetSim
JEMJetSim(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JEMJetSim.cxx:47
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JEMJetSim::initialize
StatusCode initialize()
Definition: JEMJetSim.cxx:60
AthAlgorithm.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::JEMJetSim::m_JetTool
ToolHandle< LVL1::IL1JEMJetTools > m_JetTool
The essentials - data access, configuration, tools.
Definition: JEMJetSim.h:96
LVL1::JEMJetSim::storeBackplaneTOBs
void storeBackplaneTOBs()
Store module outputs in TES as inputs to CMX simulation.
Definition: JEMJetSim.cxx:149
LVL1::TrigT1CaloDefs::JetCMXDataLocation
static const std::string JetCMXDataLocation
Definition: TrigT1CaloDefs.h:44
LVL1::JEMJetSim::storeModuleRoIs
void storeModuleRoIs()
Store TOB RoI objects in the TES.
Definition: JEMJetSim.cxx:174
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
AthAlgorithm
Definition: AthAlgorithm.h:47
IL1JEMJetTools.h
TrigConf::name
Definition: HLTChainList.h:35
LVL1::TrigT1CaloDefs::JetElementLocation
static const std::string JetElementLocation
Definition: TrigT1CaloDefs.h:39
LVL1::JEMJetSim::m_allTOBs
DataVector< JEMTobRoI > * m_allTOBs
TOB RoIs for RoIB input and DAQ output simulation.
Definition: JEMJetSim.h:83
LVL1::JEMJetSim::execute
StatusCode execute()
Definition: JEMJetSim.cxx:76
TrigT1CaloDefs.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1::JEMJetSim::m_JetCMXDataOutputKey
SG::WriteHandleKey< DataVector< JetCMXData > > m_JetCMXDataOutputKey
Definition: JEMJetSim.h:93
LVL1::JEMJetSim::m_JetElementInputKey
SG::ReadHandleKey< xAOD::JetElementContainer > m_JetElementInputKey
Where to find the JetElements.
Definition: JEMJetSim.h:89