ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1ZDC
src
TrigT1Run3ZDC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
14
15
#ifndef TRIG_T1_RUN_3_ZDC_H
16
#define TRIG_T1_RUN_3_ZDC_H
17
18
19
#include "
AthContainers/DataVector.h
"
20
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
21
#include "GaudiKernel/ServiceHandle.h"
22
#include "GaudiKernel/ToolHandle.h"
23
#include "
PathResolver/PathResolver.h
"
24
#include "
StoreGate/ReadDecorHandle.h
"
25
#include "
StoreGate/ReadDecorHandleKey.h
"
26
#include "
StoreGate/ReadHandleKey.h
"
27
#include "
StoreGate/WriteHandleKey.h
"
28
29
// Input Containers
30
#include "
ZdcByteStream/ZdcLucrodDataContainer.h
"
31
#include "
ZdcConditions/ZdcLucrodMapRun3.h
"
32
#include "
ZdcIdentifier/ZdcID.h
"
33
#include "
xAODForward/ZdcModuleContainer.h
"
34
35
// Outputs to CTP
36
#include "
TrigT1Interfaces/TrigT1CaloDefs.h
"
37
#include "
TrigT1Interfaces/ZdcCTP.h
"
38
#include "
ZdcUtils/ZDCTriggerSim.h
"
39
#include "nlohmann/json.hpp"
40
41
#include <string>
42
#include <memory>
43
44
45
namespace
LVL1
{
47
class
TrigT1Run3ZDC
:
public
AthReentrantAlgorithm
{
48
49
public
:
50
// This is a standard algorithm constructor
51
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
52
53
// These are the functions inherited from Algorithm
54
virtual
StatusCode
initialize
()
override
;
55
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
56
57
private
:
58
/* Input handles */
59
SG::ReadDecorHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleCalibEnergyKey
{
60
this
,
"ZdcModuleCalibEnergyKey"
,
"ZdcModules.CalibEnergy"
,
61
"ReadHandleKey for Zdc CalibEnergy AuxData"
};
62
63
// Access Bytestream data from Lucrod
64
const
ZdcID
*
m_zdcId
{};
65
66
SG::ReadHandleKey<ZdcLucrodDataContainer>
m_zldContainerName
{
67
this
,
"ZdcLucrodDataContainerKey"
,
TrigT1CaloDefs::ZdcLucrodDataContainer
,
68
"Read Handle key for ZdcLucrodDataContainer"
};
69
70
/* Output handles */
71
SG::WriteHandleKey<ZdcCTP>
m_zdcCTPLocation
{
this
,
"ZdcCTPLocation"
,
72
TrigT1CaloDefs::ZdcCTPLocation
,
73
"Write handle key for ZdcCTP"
};
74
75
/* properties */
76
Gaudi::Property<std::string>
m_lutFile
{
77
this
,
"filepath_LUT"
,
"TrigT1ZDC/zdcRun3T1LUT_v1_30_05_2023.json"
,
78
"path to LUT file"
};
79
Gaudi::Property<unsigned int>
m_minSampleAna
{
80
this
,
"MinSampleAna"
, 7,
"First Sample in ZDC LUCROD Analysis window"
};
81
Gaudi::Property<unsigned int>
m_maxSampleAna
{
82
this
,
"MaxSampleAna"
,154,
"Last Sample in ZDC LUCROD Analysis window"
};
83
Gaudi::Property<unsigned int>
m_negHG2ndDerivThresh
{
84
this
,
"NegHG2ndDerivThresh"
, 45,
85
"Negative 2nd Derivative Threshold for High Gain LUCROD Channel"
};
86
Gaudi::Property<unsigned int>
m_negLG2ndDerivThresh
{
87
this
,
"NegLG2ndDerivThresh"
, 15,
88
"Negative 2nd Derivative Threshold for Low Gain LUCROD Channel"
};
89
Gaudi::Property<unsigned int>
m_baselineDelta
{
90
this
,
"BaselineDelta"
, 3,
91
"Parameter to take out average offset from raw Flash ADC values"
};
92
96
std::shared_ptr<ZDCTriggerSimFADC>
m_triggerSimHGPtr
;
97
std::shared_ptr<ZDCTriggerSimFADC>
m_triggerSimLGPtr
;
98
102
std::shared_ptr<ZDCTriggerSim::FADCInputs>
m_hgFADC_ptr
;
103
std::shared_ptr<ZDCTriggerSim::FADCInputs>
m_lgFADC_ptr
;
104
};
105
}
// namespace LVL1
106
107
#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
ZDCTriggerSim.h
A tool to make L1 decision using LUTs.
ZdcCTP.h
ZdcID.h
ZdcLucrodDataContainer.h
ZdcLucrodMapRun3.h
ZdcModuleContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LVL1::TrigT1CaloDefs::ZdcCTPLocation
static const std::string ZdcCTPLocation
Definition
TrigT1CaloDefs.h:80
LVL1::TrigT1CaloDefs::ZdcLucrodDataContainer
static const std::string ZdcLucrodDataContainer
Definition
TrigT1CaloDefs.h:41
LVL1::TrigT1Run3ZDC
level 1 ZDC trigger simulation
Definition
TrigT1Run3ZDC.h:47
LVL1::TrigT1Run3ZDC::m_maxSampleAna
Gaudi::Property< unsigned int > m_maxSampleAna
Definition
TrigT1Run3ZDC.h:81
LVL1::TrigT1Run3ZDC::m_negLG2ndDerivThresh
Gaudi::Property< unsigned int > m_negLG2ndDerivThresh
Definition
TrigT1Run3ZDC.h:86
LVL1::TrigT1Run3ZDC::m_triggerSimLGPtr
std::shared_ptr< ZDCTriggerSimFADC > m_triggerSimLGPtr
Definition
TrigT1Run3ZDC.h:97
LVL1::TrigT1Run3ZDC::m_zldContainerName
SG::ReadHandleKey< ZdcLucrodDataContainer > m_zldContainerName
Definition
TrigT1Run3ZDC.h:66
LVL1::TrigT1Run3ZDC::initialize
virtual StatusCode initialize() override
Definition
TrigT1Run3ZDC.cxx:24
LVL1::TrigT1Run3ZDC::m_minSampleAna
Gaudi::Property< unsigned int > m_minSampleAna
Definition
TrigT1Run3ZDC.h:79
LVL1::TrigT1Run3ZDC::m_zdcCTPLocation
SG::WriteHandleKey< ZdcCTP > m_zdcCTPLocation
Definition
TrigT1Run3ZDC.h:71
LVL1::TrigT1Run3ZDC::m_triggerSimHGPtr
std::shared_ptr< ZDCTriggerSimFADC > m_triggerSimHGPtr
Two data member to hold the ZDCTrigger Object that computes the LUT logic: shared ptr to ensure clean...
Definition
TrigT1Run3ZDC.h:96
LVL1::TrigT1Run3ZDC::m_lutFile
Gaudi::Property< std::string > m_lutFile
Definition
TrigT1Run3ZDC.h:76
LVL1::TrigT1Run3ZDC::m_hgFADC_ptr
std::shared_ptr< ZDCTriggerSim::FADCInputs > m_hgFADC_ptr
A data member to hold the ZDCTrigger Object that stores flash ADC input values: shared ptr to ensure ...
Definition
TrigT1Run3ZDC.h:102
LVL1::TrigT1Run3ZDC::m_negHG2ndDerivThresh
Gaudi::Property< unsigned int > m_negHG2ndDerivThresh
Definition
TrigT1Run3ZDC.h:83
LVL1::TrigT1Run3ZDC::m_zdcId
const ZdcID * m_zdcId
Definition
TrigT1Run3ZDC.h:64
LVL1::TrigT1Run3ZDC::m_zdcModuleCalibEnergyKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleCalibEnergyKey
Definition
TrigT1Run3ZDC.h:59
LVL1::TrigT1Run3ZDC::m_baselineDelta
Gaudi::Property< unsigned int > m_baselineDelta
Definition
TrigT1Run3ZDC.h:89
LVL1::TrigT1Run3ZDC::m_lgFADC_ptr
std::shared_ptr< ZDCTriggerSim::FADCInputs > m_lgFADC_ptr
Definition
TrigT1Run3ZDC.h:103
LVL1::TrigT1Run3ZDC::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrigT1Run3ZDC.cxx:115
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
ZdcID
Definition
ZdcID.h:25
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
Generated on
for ATLAS Offline Software by
1.17.0