ATLAS Offline Software
Loading...
Searching...
No Matches
LArNNRawChannelBuilder.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2024-2025 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef LARROD_LARNNRAWCHANNELBUILDER_H
6#define LARROD_LARNNRAWCHANNELBUILDER_H
7
8
13
16
22
26
27
28
29class LArOnlineID;
30class CaloCell_ID;
31
32
34
35public:
36using AthReentrantAlgorithm::AthReentrantAlgorithm;
37
38StatusCode initialize() override;
39StatusCode execute(const EventContext& ctx) const override;
40
41
42private:
43//Event input:
45 "SG Key of LArDigitContaiiner"};
46//Event output:
47SG::WriteHandleKey<LArRawChannelContainer>m_rawChannelKey{this, "LArRawChannelKey", "LArRawChannels",
48 "SG key of the output LArRawChannelContainer"};
49//Conditions input:
50SG::ReadCondHandleKey<ILArPedestal>m_pedestalKey{this, "PedestalKey", "LArPedestal", "SG Key of Pedestal conditions object"};
51SG::ReadCondHandleKey<LArADC2MeV>m_adc2MeVKey{this, "ADC2MeVKey", "LArADC2MeV", "SG Key of ADC2MeV conditions object"};
52SG::ReadCondHandleKey<LArOnOffIdMapping>m_cablingKey{this, "CablingKey", "LArOnOffIdMap", "SG Key of LArOnOffIdMapping object"};
53SG::ReadCondHandleKey<ILArOFC> m_ofcKey{this,"OFCKey","LArOFC","SG Key of OFC conditions object"};
54SG::ReadCondHandleKey<ILArShape> m_shapeKey{this,"ShapeKey","LArShape","SG Key of Shape conditions object"};
55SG::ReadCondHandleKey<LArDSPThresholdsComplete> m_run1DSPThresholdsKey{this, "Run1DSPThresholdsKey","", "SG Key for thresholds to compute time and quality, run 1"};
56SG::ReadCondHandleKey<AthenaAttributeList> m_run2DSPThresholdsKey{this, "Run2DSPThresholdsKey","", "SG Key for thresholds to compute time and quality, run 2"};
57SG::ReadCondHandleKey<CondAttrListCollection> m_nnClustersDb{this, "nnClustersDbFolder","/LAR/IdentifierOfl/OnnxMap","Folder name for the NN clustering map"};
58ServiceHandle<AthOnnx::IOnnxRuntimeSvc> m_onnxRuntimeSvc{this, "OnnxRuntimeSvc", "AthOnnx::OnnxRuntimeSvc/OnnxRuntimeSvc", "The Onnx runtime service"};
59
60//The following matters only in the MC case, when we have a 32 sample shapes
61Gaudi::Property<int>m_firstSample{this, "firstSample", 0, "first of the 32 sampels of the MC shape to be used"};
62
63//Identifier helper
64const LArOnlineID* m_onlineId = nullptr;
65const CaloCell_ID* m_calocellID = nullptr;
66
67
68//This flag decides, wheter to use DB or constant threshold
69Gaudi::Property<bool> m_useDBFortQ{this,"useDB",true,"Use DB for cut on t,Q"};
70
71};
72
73
74#endif
A LArRawConditionsContainer holding thresholds used by the DSP.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
SG::ReadCondHandleKey< CondAttrListCollection > m_nnClustersDb
SG::ReadCondHandleKey< LArDSPThresholdsComplete > m_run1DSPThresholdsKey
SG::WriteHandleKey< LArRawChannelContainer > m_rawChannelKey
SG::ReadCondHandleKey< AthenaAttributeList > m_run2DSPThresholdsKey
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< bool > m_useDBFortQ
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2MeVKey
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
const CaloCell_ID * m_calocellID
SG::ReadHandleKey< LArDigitContainer > m_digitKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode initialize() override
Gaudi::Property< int > m_firstSample
SG::ReadCondHandleKey< ILArShape > m_shapeKey
const LArOnlineID * m_onlineId
ServiceHandle< AthOnnx::IOnnxRuntimeSvc > m_onnxRuntimeSvc
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.