ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1ZDC
src
TrigT1Run2ZDC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
10
11
#ifndef TRIG_T1_RUN_2_ZDC_H
12
#define TRIG_T1_RUN_2_ZDC_H
13
14
15
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
16
#include "GaudiKernel/ServiceHandle.h"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
AthContainers/DataVector.h
"
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
StoreGate/ReadDecorHandle.h
"
21
#include "
StoreGate/ReadDecorHandleKey.h
"
22
#include "
StoreGate/WriteHandleKey.h
"
23
#include "
PathResolver/PathResolver.h
"
24
25
// Input Containers
26
#include "
xAODForward/ZdcModuleContainer.h
"
27
28
// Outputs to CTP
29
#include "
TrigT1Interfaces/ZdcCTP.h
"
30
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
31
32
#include "
TrigT1Run3ZDC.h
"
33
#include "nlohmann/json.hpp"
34
35
#include <string>
36
#include <memory>
37
38
namespace
LVL1
{
40
class
TrigT1Run2ZDC
:
public
AthReentrantAlgorithm
{
41
42
public
:
43
44
// This is a standard algorithm constructor
45
TrigT1Run2ZDC
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
46
47
// These are the functions inherited from Algorithm
48
virtual
StatusCode
initialize
()
override
;
49
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
50
51
private
:
52
/* Input handles */
53
SG::ReadHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleKey
{
54
this
,
"ZdcModuleLocation"
,
TrigT1CaloDefs::xAODZdcModuleLocation
,
55
"Read handle key for ZdcModuleContainer"
};
56
57
SG::ReadDecorHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleCalibEnergyKey
58
{
this
,
"ZdcModuleCalibEnergyKey"
,
"ZdcModules.CalibEnergy"
,
"ReadHandleKey for Zdc CalibEnergy AuxData"
};
59
60
/* Output handles */
61
SG::WriteHandleKey<ZdcCTP>
m_zdcCTPLocation
{
62
this
,
"ZdcCTPLocation"
,
TrigT1CaloDefs::ZdcCTPLocation
,
63
"Write handle key for ZdcCTP"
};
64
65
/* properties */
66
Gaudi::Property<std::string>
m_lutFile
{
this
,
"filepath_LUT"
,
""
,
"path to LUT file"
};
67
Gaudi::Property<float>
m_energyToADCScaleFactor
{
this
,
"EnergyADCScale"
, 0.4,
"Energy [GeV] / ADC conversion factor"
};
68
70
std::shared_ptr<ZDCTriggerSim::ModuleAmplInputsFloat>
m_modInputs_p
;
71
73
std::shared_ptr<ZDCTriggerSimModuleAmpls>
m_simTrig
;
74
};
75
}
76
77
#endif
AthReentrantAlgorithm.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
PathResolver.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ReadDecorHandle.h
Handle class for reading a decoration on an object.
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
TrigT1Run3ZDC.h
ZdcCTP.h
ZdcModuleContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LVL1::TrigT1CaloDefs::xAODZdcModuleLocation
static const std::string xAODZdcModuleLocation
Definition
TrigT1CaloDefs.h:40
LVL1::TrigT1CaloDefs::ZdcCTPLocation
static const std::string ZdcCTPLocation
Definition
TrigT1CaloDefs.h:80
LVL1::TrigT1Run2ZDC::m_zdcCTPLocation
SG::WriteHandleKey< ZdcCTP > m_zdcCTPLocation
Definition
TrigT1Run2ZDC.h:61
LVL1::TrigT1Run2ZDC::TrigT1Run2ZDC
TrigT1Run2ZDC(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigT1Run2ZDC.cxx:21
LVL1::TrigT1Run2ZDC::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrigT1Run2ZDC.cxx:71
LVL1::TrigT1Run2ZDC::initialize
virtual StatusCode initialize() override
Definition
TrigT1Run2ZDC.cxx:28
LVL1::TrigT1Run2ZDC::m_energyToADCScaleFactor
Gaudi::Property< float > m_energyToADCScaleFactor
Definition
TrigT1Run2ZDC.h:67
LVL1::TrigT1Run2ZDC::m_lutFile
Gaudi::Property< std::string > m_lutFile
Definition
TrigT1Run2ZDC.h:66
LVL1::TrigT1Run2ZDC::m_zdcModuleCalibEnergyKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleCalibEnergyKey
Definition
TrigT1Run2ZDC.h:58
LVL1::TrigT1Run2ZDC::m_simTrig
std::shared_ptr< ZDCTriggerSimModuleAmpls > m_simTrig
A data member to hold the ZDCTrigger Object that computes the LUT logic: shared ptr to ensure cleanup...
Definition
TrigT1Run2ZDC.h:73
LVL1::TrigT1Run2ZDC::m_modInputs_p
std::shared_ptr< ZDCTriggerSim::ModuleAmplInputsFloat > m_modInputs_p
A data member to hold the ZDCTrigger Object that stores input floats: shared ptr to ensure cleanup.
Definition
TrigT1Run2ZDC.h:70
LVL1::TrigT1Run2ZDC::m_zdcModuleKey
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleKey
Definition
TrigT1Run2ZDC.h:53
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
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
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0