ATLAS Offline Software
Loading...
Searching...
No Matches
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
71 StatusCode initialize() ;
72 StatusCode execute() ;
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
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
DataVector< LVL1::CPMCMXData > t_cpmDataContainer
Definition CPCMX.h:54
SG::WriteHandleKey< EmTauCTP > m_CTPOutputKey
Definition CPCMX.h:91
CPCMX(const std::string &name, ISvcLocator *pSvcLocator)
Definition CPCMX.cxx:55
StatusCode execute()
Definition CPCMX.cxx:82
SG::WriteHandleKey< DataVector< CMXCPTob > > m_CMXCPTobLocation
Where to store the CMXCPTobs (for CMX readout simulation)
Definition CPCMX.h:87
SG::ReadHandleKey< DataVector< LVL1::CPMCMXData > > m_CPMCMXDataLocation
Location of input data in StoreGate.
Definition CPCMX.h:95
SG::WriteHandleKey< DataVector< CPCMXTopoData > > m_TopoOutputLocation
Locations of real-time outputs in StoreGate.
Definition CPCMX.h:89
SG::ReadHandleKey< TrigConf::L1Menu > m_L1MenuKey
Definition CPCMX.h:97
static const int s_SourceLocal
Topo format parameters.
Definition CPCMX.h:100
static const int s_SourceTotal
Definition CPCMX.h:101
SG::WriteHandleKey< DataVector< CMXCPHits > > m_CMXCPHitsLocation
Store CTP SLink data objects in the TES.
Definition CPCMX.h:85
StatusCode initialize()
Definition CPCMX.cxx:63
The CPMCMXData object contains the data transferred from the CPM to one of the CMXes (EM or Tau) in t...
Definition CPMCMXData.h:25
static const std::string EmTauTopoTobLocation
static const std::string CPMCMXDataLocation
static const std::string CMXCPHitsLocation
static const std::string EmTauCTPLocation
static const std::string CMXCPTobLocation
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...