ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloSim
src
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
24
#include "
AthenaBaseComps/AthAlgorithm.h
"
25
#include "GaudiKernel/ServiceHandle.h"
26
#include "GaudiKernel/ToolHandle.h"
27
28
#include "
AthContainers/DataVector.h
"
29
30
#include "
TrigConfData/L1Menu.h
"
31
32
#include "
TrigT1CaloEvent/CMXCPTob.h
"
33
#include "
TrigT1CaloEvent/CPCMXTopoData.h
"
34
#include "
TrigT1CaloEvent/CMXCPHits.h
"
35
36
// Outputs to CTP
37
#include "
TrigT1Interfaces/EmTauCTP.h
"
38
#include "
TrigT1Interfaces/JetCTP.h
"
39
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
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
54
typedef
DataVector<LVL1::CPMCMXData>
t_cpmDataContainer
;
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
(
const
EventContext& ctx) ;
73
74
private
:
76
// void storeCTPData();
78
// void storeTopoTOBs();
80
// void storeReadoutObjects();
81
82
private
:
83
85
SG::WriteHandleKey<DataVector<CMXCPHits>
>
m_CMXCPHitsLocation
{
this
,
"CMXCPHitsLocation"
,
TrigT1CaloDefs::CMXCPHitsLocation
};
87
SG::WriteHandleKey<DataVector<CMXCPTob>
>
m_CMXCPTobLocation
{
this
,
"CMXCPTobLocation"
,
TrigT1CaloDefs::CMXCPTobLocation
};
89
SG::WriteHandleKey<DataVector<CPCMXTopoData>
>
m_TopoOutputLocation
{
this
,
"TopoOutputLocation"
,
TrigT1CaloDefs::EmTauTopoTobLocation
};
90
91
SG::WriteHandleKey<EmTauCTP>
m_CTPOutputKey
{
this
,
"CTPOutputLocation"
,
TrigT1CaloDefs::EmTauCTPLocation
,
"Output to CTP"
};
92
93
95
SG::ReadHandleKey<DataVector<LVL1::CPMCMXData>
>
m_CPMCMXDataLocation
{
this
,
"CPMCMXDataLocation"
,
TrigT1CaloDefs::CPMCMXDataLocation
};
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
AthAlgorithm.h
CPCMXTopoData.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
EmTauCTP.h
JetCTP.h
L1Menu.h
TrigT1CaloDefs.h
CMXCPHits.h
CMXCPTob.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
LVL1::CPCMX::t_cpmDataContainer
DataVector< LVL1::CPMCMXData > t_cpmDataContainer
Definition
CPCMX.h:54
LVL1::CPCMX::m_CTPOutputKey
SG::WriteHandleKey< EmTauCTP > m_CTPOutputKey
Definition
CPCMX.h:91
LVL1::CPCMX::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
CPCMX.cxx:82
LVL1::CPCMX::CPCMX
CPCMX(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CPCMX.cxx:55
LVL1::CPCMX::m_CMXCPTobLocation
SG::WriteHandleKey< DataVector< CMXCPTob > > m_CMXCPTobLocation
Where to store the CMXCPTobs (for CMX readout simulation).
Definition
CPCMX.h:87
LVL1::CPCMX::m_CPMCMXDataLocation
SG::ReadHandleKey< DataVector< LVL1::CPMCMXData > > m_CPMCMXDataLocation
Location of input data in StoreGate.
Definition
CPCMX.h:95
LVL1::CPCMX::m_TopoOutputLocation
SG::WriteHandleKey< DataVector< CPCMXTopoData > > m_TopoOutputLocation
Locations of real-time outputs in StoreGate.
Definition
CPCMX.h:89
LVL1::CPCMX::m_L1MenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_L1MenuKey
Definition
CPCMX.h:97
LVL1::CPCMX::s_SourceLocal
static const int s_SourceLocal
Topo format parameters.
Definition
CPCMX.h:100
LVL1::CPCMX::s_SourceTotal
static const int s_SourceTotal
Definition
CPCMX.h:101
LVL1::CPCMX::m_CMXCPHitsLocation
SG::WriteHandleKey< DataVector< CMXCPHits > > m_CMXCPHitsLocation
Store CTP SLink data objects in the TES.
Definition
CPCMX.h:85
LVL1::CPCMX::initialize
StatusCode initialize()
Definition
CPCMX.cxx:63
LVL1::CPMCMXData
The CPMCMXData object contains the data transferred from the CPM to one of the CMXes (EM or Tau) in t...
Definition
CPMCMXData.h:25
LVL1::TrigT1CaloDefs::EmTauTopoTobLocation
static const std::string EmTauTopoTobLocation
Definition
TrigT1CaloDefs.h:86
LVL1::TrigT1CaloDefs::CPMCMXDataLocation
static const std::string CPMCMXDataLocation
Definition
TrigT1CaloDefs.h:43
LVL1::TrigT1CaloDefs::CMXCPHitsLocation
static const std::string CMXCPHitsLocation
Definition
TrigT1CaloDefs.h:59
LVL1::TrigT1CaloDefs::EmTauCTPLocation
static const std::string EmTauCTPLocation
Definition
TrigT1CaloDefs.h:77
LVL1::TrigT1CaloDefs::CMXCPTobLocation
static const std::string CMXCPTobLocation
Definition
TrigT1CaloDefs.h:58
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0