ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloSim
src
Run2JetElementMaker.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
// Run2JetElementMaker class descriptionn
7
// ================================================
8
9
10
11
#ifndef RUN2JETELEMENTMAKER_H
12
#define RUN2JETELEMENTMAKER_H
13
14
// STL
15
#include <string>
16
#include <vector>
17
18
// Athena/Gaudi
19
#include "
AthenaBaseComps/AthAlgorithm.h
"
20
#include "GaudiKernel/ServiceHandle.h"
21
#include "
AthContainers/DataVector.h
"
22
#include "GaudiKernel/ToolHandle.h"
23
#include "
xAODTrigL1Calo/TriggerTowerContainer.h
"
24
#include "
xAODTrigL1Calo/JetElementContainer.h
"
25
#include "
xAODTrigL1Calo/JetElementAuxContainer.h
"
26
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
27
28
//LVL1 Calo trigger includes
29
#include "
TrigT1CaloToolInterfaces/IL1JetElementTools.h
"
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
// Run2JetElementMaker 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
*/
53
class
Run2JetElementMaker
:
public
AthAlgorithm
54
{
55
typedef
xAOD::JetElementContainer
JECollection
;
56
typedef
xAOD::JetElementAuxContainer
JEAuxCollection
;
57
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
Run2JetElementMaker
(
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::IL1JetElementTools>
m_JetElementTool
;
79
80
SG::ReadHandleKey<xAOD::TriggerTowerContainer>
m_triggerTowerKey
{
this
,
"TriggerTowerLocation"
,
TrigT1CaloDefs::xAODTriggerTowerLocation
};
81
SG::WriteHandleKey<JECollection>
m_jetElementKey
{
this
,
"JetElementLocation"
,
TrigT1CaloDefs::JetElementLocation
};
82
83
};
84
85
}
// end of namespace bracket
86
#endif
AthAlgorithm.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IL1JetElementTools.h
JetElementAuxContainer.h
JetElementContainer.h
TrigT1CaloDefs.h
TriggerTowerContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LVL1::Run2JetElementMaker::execute
StatusCode execute(const EventContext &ctx)
Definition
Run2JetElementMaker.cxx:46
LVL1::Run2JetElementMaker::JECollection
xAOD::JetElementContainer JECollection
Definition
Run2JetElementMaker.h:55
LVL1::Run2JetElementMaker::initialize
StatusCode initialize()
the initialise() method is called at the start of processing, so we set up any histograms etc.
Definition
Run2JetElementMaker.cxx:28
LVL1::Run2JetElementMaker::m_JetElementTool
ToolHandle< LVL1::IL1JetElementTools > m_JetElementTool
Definition
Run2JetElementMaker.h:78
LVL1::Run2JetElementMaker::m_jetElementKey
SG::WriteHandleKey< JECollection > m_jetElementKey
Definition
Run2JetElementMaker.h:81
LVL1::Run2JetElementMaker::m_triggerTowerKey
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_triggerTowerKey
Definition
Run2JetElementMaker.h:80
LVL1::Run2JetElementMaker::Run2JetElementMaker
Run2JetElementMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition
Run2JetElementMaker.cxx:19
LVL1::Run2JetElementMaker::JEAuxCollection
xAOD::JetElementAuxContainer JEAuxCollection
Definition
Run2JetElementMaker.h:56
LVL1::TrigT1CaloDefs::JetElementLocation
static const std::string JetElementLocation
Definition
TrigT1CaloDefs.h:39
LVL1::TrigT1CaloDefs::xAODTriggerTowerLocation
static const std::string xAODTriggerTowerLocation
Definition
TrigT1CaloDefs.h:36
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::JetElementContainer
JetElementContainer_v2 JetElementContainer
Define the latest version of the JetElement container.
Definition
JetElementContainer.h:15
xAOD::JetElementAuxContainer
JetElementAuxContainer_v2 JetElementAuxContainer
Define the latest version of the JetElement auxiliary container.
Definition
JetElementAuxContainer.h:14
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0