ATLAS Offline Software
Loading...
Searching...
No Matches
TrigT1Run2ZDC.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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#include <string>
15#include <vector>
16
18#include "GaudiKernel/ServiceHandle.h"
19#include "GaudiKernel/ToolHandle.h"
26
27// Input Containers
29
30// Outputs to CTP
33
34#include "TrigT1Run3ZDC.h"
35#include "nlohmann/json.hpp"
36
37namespace LVL1 {
40
41 public:
42
43 // This is a standard algorithm constructor
44 TrigT1Run2ZDC (const std::string& name, ISvcLocator* pSvcLocator);
45
46 // These are the functions inherited from Algorithm
47 virtual StatusCode initialize() override;
48 virtual StatusCode execute(const EventContext& ctx) const override;
49
50 private :
51 /* Input handles */
53 this, "ZdcModuleLocation", TrigT1CaloDefs::xAODZdcModuleLocation,
54 "Read handle key for ZdcModuleContainer"};
55
57 {this, "ZdcModuleCalibEnergyKey", "ZdcModules.CalibEnergy", "ReadHandleKey for Zdc CalibEnergy AuxData"};
58
59 /* Output handles */
61 this, "ZdcCTPLocation", TrigT1CaloDefs::ZdcCTPLocation,
62 "Write handle key for ZdcCTP"};
63
64 /* properties */
65 Gaudi::Property<std::string> m_lutFile{this, "filepath_LUT", "", "path to LUT file"};
66 Gaudi::Property<float> m_energyToADCScaleFactor{this, "EnergyADCScale", 0.4, "Energy [GeV] / ADC conversion factor"};
67
69 std::shared_ptr<ZDCTriggerSim::ModuleAmplInputsFloat> m_modInputs_p;
70
72 std::shared_ptr<ZDCTriggerSimModuleAmpls> m_simTrig;
73 };
74}
75
76#endif
An STL vector of pointers that by default owns its pointed-to elements.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Handle class for reading a decoration on an object.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
static const std::string xAODZdcModuleLocation
static const std::string ZdcCTPLocation
SG::WriteHandleKey< ZdcCTP > m_zdcCTPLocation
TrigT1Run2ZDC(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
Gaudi::Property< float > m_energyToADCScaleFactor
Gaudi::Property< std::string > m_lutFile
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleCalibEnergyKey
std::shared_ptr< ZDCTriggerSimModuleAmpls > m_simTrig
A data member to hold the ZDCTrigger Object that computes the LUT logic: shared ptr to ensure cleanup...
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.
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
#define private