ATLAS Offline Software
CPCMX.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  CPCMX.h - description
7  -------------------
8  begin : Mon Jul 28 2014
9  email : Alan.Watson@CERN.CH
10  ***************************************************************************/
11 
12  /***************************************************************************
13  * *
14  * *
15  ***************************************************************************/
16  #ifndef CPCMX_H
17  #define CPCMX_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 #include "TrigConfData/L1Menu.h"
31 
35 
36 // Outputs to CTP
40 
41  namespace LVL1 {
42 
43  //using namespace TrigConf;
44 
45  class CPMCMXData;
46 
47  //Doxygen Class definition below:
51  class CPCMX : public AthAlgorithm
52  {
53 
55 
56  public:
57 
58  //-------------------------
59  // Constructors/Destructors
60  //
61  // Athena requires that the constructor takes certain arguments
62  // (and passes them directly to the constructor of the base class)
63  //-------------------------
64 
65  CPCMX( const std::string& name, ISvcLocator* pSvcLocator ) ;
66 
67  //------------------------------------------------------
68  // Methods used by Athena to run the algorithm
69  //------------------------------------------------------
70 
73 
74  private:
76 // void storeCTPData();
78 // void storeTopoTOBs();
80 // void storeReadoutObjects();
81 
82  private:
83 
90 
91  SG::WriteHandleKey<EmTauCTP> m_CTPOutputKey { this, "CTPOutputLocation", TrigT1CaloDefs::EmTauCTPLocation, "Output to CTP" };
92 
93 
96 
97  SG::ReadHandleKey<TrigConf::L1Menu> m_L1MenuKey{ this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "L1 Menu" };
98 
100  static const int s_SourceLocal = 3;
101  static const int s_SourceTotal = 4;
102 
103 };
104 
105  } // end of namespace bracket
106 
107 
108  #endif
109 
110 
111 
112 
113 
114 
115 
116 
117 
118 
119 
120 
LVL1::CPCMX::t_cpmDataContainer
DataVector< LVL1::CPMCMXData > t_cpmDataContainer
Definition: CPCMX.h:62
LVL1::CPCMX::m_CMXCPTobLocation
SG::WriteHandleKey< DataVector< CMXCPTob > > m_CMXCPTobLocation
Where to store the CMXCPTobs (for CMX readout simulation)
Definition: CPCMX.h:95
CPCMXTopoData.h
LVL1::CPCMX::execute
StatusCode execute()
Definition: CPCMX.cxx:82
LVL1::TrigT1CaloDefs::EmTauCTPLocation
static const std::string EmTauCTPLocation
Definition: TrigT1CaloDefs.h:76
EmTauCTP.h
LVL1::TrigT1CaloDefs::CMXCPTobLocation
static const std::string CMXCPTobLocation
Definition: TrigT1CaloDefs.h:57
LVL1::CPCMX::m_CPMCMXDataLocation
SG::ReadHandleKey< DataVector< LVL1::CPMCMXData > > m_CPMCMXDataLocation
Location of input data in StoreGate.
Definition: CPCMX.h:103
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
JetCTP.h
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::CPCMX::initialize
StatusCode initialize()
Definition: CPCMX.cxx:63
LVL1::CPCMX::s_SourceLocal
static const int s_SourceLocal
Topo format parameters.
Definition: CPCMX.h:108
LVL1::CPCMX::m_TopoOutputLocation
SG::WriteHandleKey< DataVector< CPCMXTopoData > > m_TopoOutputLocation
Locations of real-time outputs in StoreGate.
Definition: CPCMX.h:97
LVL1::CPCMX::s_SourceTotal
static const int s_SourceTotal
Definition: CPCMX.h:109
LVL1::TrigT1CaloDefs::CPMCMXDataLocation
static const std::string CPMCMXDataLocation
Definition: TrigT1CaloDefs.h:42
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthAlgorithm
Definition: AthAlgorithm.h:47
LVL1::CPCMX::m_L1MenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_L1MenuKey
Definition: CPCMX.h:105
TrigConf::name
Definition: HLTChainList.h:35
LVL1::CPCMX::CPCMX
CPCMX(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CPCMX.cxx:55
CMXCPTob.h
TrigT1CaloDefs.h
LVL1::CPCMX::m_CMXCPHitsLocation
SG::WriteHandleKey< DataVector< CMXCPHits > > m_CMXCPHitsLocation
Store CTP SLink data objects in the TES.
Definition: CPCMX.h:93
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1::TrigT1CaloDefs::EmTauTopoTobLocation
static const std::string EmTauTopoTobLocation
Definition: TrigT1CaloDefs.h:85
CMXCPHits.h
L1Menu.h
LVL1::CPCMX::m_CTPOutputKey
SG::WriteHandleKey< EmTauCTP > m_CTPOutputKey
Definition: CPCMX.h:99
LVL1::TrigT1CaloDefs::CMXCPHitsLocation
static const std::string CMXCPHitsLocation
Definition: TrigT1CaloDefs.h:58