ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloSim
src
Run2CPMTowerMaker.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
// Run2CPMTowerMaker class descriptionn
7
// ================================================
8
9
10
11
#ifndef RUN2CPMTOWERMAKER_H
12
#define RUN2CPMTOWERMAKER_H
13
14
// STL
15
#include <string>
16
17
// Athena/Gaudi
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "GaudiKernel/ToolHandle.h"
20
#include "
StoreGate/ReadHandleKey.h
"
21
#include "
StoreGate/WriteHandleKey.h
"
22
#include "
xAODTrigL1Calo/CPMTowerContainer.h
"
23
#include "
xAODTrigL1Calo/CPMTowerAuxContainer.h
"
24
#include "
xAODTrigL1Calo/TriggerTowerContainer.h
"
25
26
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
27
28
#include "
TrigT1CaloToolInterfaces/IL1CPMTowerTools.h
"
29
30
31
32
//********************************************
33
//Default for parameters of this algorithm
34
//These can be overridden by job options.
35
//Descriptions are given in the class declaration
36
//********************************************
37
38
namespace
LVL1
{
39
40
// Run2CPMTowerMaker class declaration
41
/*
42
An "Athena algorithm" is something which gets scheduled and controlled
43
by the framework In its simplest definition it is something which
44
- gets called for each event
45
- can get anything it wants out of the Transient Event Store"
46
- can put anything it makes into the store
47
It must inherit from the AthAlgorithm base class
48
*/
54
class
Run2CPMTowerMaker
:
public
AthAlgorithm
55
{
56
typedef
xAOD::CPMTowerContainer
CPMTCollection
;
57
typedef
xAOD::CPMTowerAuxContainer
CPMTAuxCollection
;
58
public
:
59
60
//-------------------------
61
// Constructors/Destructors
62
//
63
// Athena requires that the constructor takes certain arguments
64
// (and passes them directly to the constructor of the base class)
65
//-------------------------
66
67
Run2CPMTowerMaker
(
const
std::string&
name
, ISvcLocator* pSvcLocator ) ;
68
69
//------------------------------------------------------
70
// Methods used by Athena to run the algorithm
71
//------------------------------------------------------
72
73
StatusCode
initialize
() ;
74
StatusCode
execute
(
const
EventContext& ctx) ;
75
76
private
:
77
78
ToolHandle<LVL1::IL1CPMTowerTools>
m_CPMTowerTool
;
79
81
SG::ReadHandleKey<xAOD::TriggerTowerContainer>
m_triggerTowerKey
{
this
,
"TriggerTowerLocation"
,
TrigT1CaloDefs::xAODTriggerTowerLocation
};
82
SG::WriteHandleKey<CPMTCollection>
m_cpmTowerKey
{
this
,
"CPMTowerLocation"
,
TrigT1CaloDefs::CPMTowerLocation
};
83
84
85
};
86
87
}
// end of namespace bracket
88
#endif
AthAlgorithm.h
CPMTowerAuxContainer.h
CPMTowerContainer.h
IL1CPMTowerTools.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigT1CaloDefs.h
TriggerTowerContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LVL1::Run2CPMTowerMaker::m_cpmTowerKey
SG::WriteHandleKey< CPMTCollection > m_cpmTowerKey
Definition
Run2CPMTowerMaker.h:82
LVL1::Run2CPMTowerMaker::CPMTCollection
xAOD::CPMTowerContainer CPMTCollection
Definition
Run2CPMTowerMaker.h:56
LVL1::Run2CPMTowerMaker::execute
StatusCode execute(const EventContext &ctx)
Definition
Run2CPMTowerMaker.cxx:49
LVL1::Run2CPMTowerMaker::Run2CPMTowerMaker
Run2CPMTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
Run2CPMTowerMaker.cxx:22
LVL1::Run2CPMTowerMaker::CPMTAuxCollection
xAOD::CPMTowerAuxContainer CPMTAuxCollection
Definition
Run2CPMTowerMaker.h:57
LVL1::Run2CPMTowerMaker::initialize
StatusCode initialize()
the initialise() method is called at the start of processing, so we set up any histograms etc.
Definition
Run2CPMTowerMaker.cxx:29
LVL1::Run2CPMTowerMaker::m_CPMTowerTool
ToolHandle< LVL1::IL1CPMTowerTools > m_CPMTowerTool
Definition
Run2CPMTowerMaker.h:78
LVL1::Run2CPMTowerMaker::m_triggerTowerKey
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
locations within the TES to store collections of JEs
Definition
Run2CPMTowerMaker.h:81
LVL1::TrigT1CaloDefs::xAODTriggerTowerLocation
static const std::string xAODTriggerTowerLocation
Definition
TrigT1CaloDefs.h:36
LVL1::TrigT1CaloDefs::CPMTowerLocation
static const std::string CPMTowerLocation
Definition
TrigT1CaloDefs.h:38
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
xAOD::CPMTowerContainer
CPMTowerContainer_v2 CPMTowerContainer
Define the latest version of the CPMHits container.
Definition
CPMTowerContainer.h:15
xAOD::CPMTowerAuxContainer
CPMTowerAuxContainer_v2 CPMTowerAuxContainer
Define the latest version of the CPMHits auxiliary container.
Definition
CPMTowerAuxContainer.h:14
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0