ATLAS Offline Software
JetCMX.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  JetCMX.h - description
7  -------------------
8  begin : Mon Jul 28 2014
9  email : Alan.Watson@CERN.CH
10  ***************************************************************************/
11 
12  /***************************************************************************
13  * *
14  * *
15  ***************************************************************************/
16  #ifndef JetCMX_H
17  #define JetCMX_H
18 
19  // STL
20  #include <string>
21  #include <vector>
22 
23  // Athena/Gaudi
25  #include "GaudiKernel/ServiceHandle.h"
26  #include "GaudiKernel/ToolHandle.h"
28  #include "StoreGate/ReadHandleKey.h"
30 
31  #include "TrigConfData/L1Menu.h"
32 
33  // Input/output types
34  #include "TrigT1Interfaces/JetCTP.h"
40 
41  namespace LVL1 {
42 
43  //Doxygen Class definition below:
47  class JetCMX : public AthReentrantAlgorithm
48  {
49 
54 
55  public:
56 
57  //-------------------------
58  // Constructors/Destructors
59  //
60  // Athena requires that the constructor takes certain arguments
61  // (and passes them directly to the constructor of the base class)
62  //-------------------------
63 
64  JetCMX( const std::string& name, ISvcLocator* pSvcLocator ) ;
65 
66  //------------------------------------------------------
67  // Methods used by Athena to run the algorithm
68  //------------------------------------------------------
69 
70  virtual StatusCode initialize() override;
71  virtual StatusCode execute(const EventContext& ctx) const override;
72 
73  private:
74 
75  SG::ReadHandleKey<TrigConf::L1Menu> m_L1MenuKey{ this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "L1 Menu" };
76 
77  /* Input handles */
79  this, "JetCMXDataLocation", TrigT1CaloDefs::JetCMXDataLocation,
80  "Read handle key for JetCMXData collection"};
81 
82  /* Output handles */
84  this, "CMXJetHitsLocation", TrigT1CaloDefs::CMXJetHitsLocation,
85  "Write handle key for CMXJetHits collection"};
87  this, "CMXJetTobLocation", TrigT1CaloDefs::CMXJetTobLocation,
88  "Write handle key for CMXJetTob collection"};
90  this, "TopoOutputLocation", TrigT1CaloDefs::JetTopoTobLocation,
91  "Write handle key for JetCMXTopoData collection"};
93  this, "CTPOutputLocation", TrigT1CaloDefs::JetCTPLocation,
94  "Write handle key for JetCTP object"};
95 };
96 
97  } // end of namespace bracket
98 
99 
100  #endif
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 
111 
112 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LVL1::JetCMX::m_CTPOutputLocation
SG::WriteHandleKey< JetCTP > m_CTPOutputLocation
Definition: JetCMX.h:108
LVL1::TrigT1CaloDefs::CMXJetTobLocation
static const std::string CMXJetTobLocation
Definition: TrigT1CaloDefs.h:55
LVL1::TrigT1CaloDefs::CMXJetHitsLocation
static const std::string CMXJetHitsLocation
Definition: TrigT1CaloDefs.h:56
CMXJetTob_ClassDEF.h
SG::ReadHandleKey< TrigConf::L1Menu >
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JetCMX::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: JetCMX.cxx:63
JetCTP.h
LVL1::JetCMX::JetCMXDataCollection
DataVector< LVL1::JetCMXData > JetCMXDataCollection
Definition: JetCMX.h:69
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CMXJetHits_ClassDEF.h
LVL1::JetCMX::m_TopoOutputLocation
SG::WriteHandleKey< JetCMXTopoDataCollection > m_TopoOutputLocation
Definition: JetCMX.h:105
LVL1::JetCMX::JetCMX
JetCMX(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JetCMX.cxx:41
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
LVL1::JetCMX::JetCMXTopoDataCollection
DataVector< JetCMXTopoData > JetCMXTopoDataCollection
Definition: JetCMX.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::JetCMX::initialize
virtual StatusCode initialize() override
Definition: JetCMX.cxx:48
LVL1::JetCMX::m_CMXJetTobLocation
SG::WriteHandleKey< CMXJetTobCollection > m_CMXJetTobLocation
Definition: JetCMX.h:102
LVL1::TrigT1CaloDefs::JetCMXDataLocation
static const std::string JetCMXDataLocation
Definition: TrigT1CaloDefs.h:44
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
JetCMXData_ClassDEF.h
TrigConf::name
Definition: HLTChainList.h:35
LVL1::TrigT1CaloDefs::JetTopoTobLocation
static const std::string JetTopoTobLocation
Definition: TrigT1CaloDefs.h:87
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
LVL1::JetCMX::CMXJetTobCollection
DataVector< CMXJetTob > CMXJetTobCollection
Definition: JetCMX.h:67
LVL1::TrigT1CaloDefs::JetCTPLocation
static const std::string JetCTPLocation
Definition: TrigT1CaloDefs.h:78
TrigT1CaloDefs.h
LVL1::JetCMX::m_JetCMXDataLocation
SG::ReadHandleKey< JetCMXDataCollection > m_JetCMXDataLocation
Definition: JetCMX.h:94
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1::JetCMX::CMXJetHitsCollection
DataVector< CMXJetHits > CMXJetHitsCollection
Definition: JetCMX.h:66
LVL1::JetCMX::m_CMXJetHitsLocation
SG::WriteHandleKey< CMXJetHitsCollection > m_CMXJetHitsLocation
Definition: JetCMX.h:99
L1Menu.h
LVL1::JetCMX::m_L1MenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_L1MenuKey
Definition: JetCMX.h:91
JetCMXTopoData_ClassDEF.h