ATLAS Offline Software
Loading...
Searching...
No Matches
LArDSPThresholdFillInline.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARDSPTHRESHOLDSFILLINGINLINE_H
6#define LARDSPTHRESHOLDSFILLINGINLINE_H
7
9#include "GaudiKernel/ToolHandle.h"
17
18class LArOnlineID;
19
21 public:
22 using AthReentrantAlgorithm::AthReentrantAlgorithm;
24 virtual StatusCode initialize() override;
25 virtual StatusCode execute(const EventContext&) const override {return StatusCode::SUCCESS;}
26 virtual StatusCode stop() override;
27
28 private:
29 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
30 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{this,"CaloDetDescrManager","CaloDetDescrManager","SG Key for CaloDetDescrManager in the Condition Store" };
31
32 const LArOnlineID* m_onlineID = nullptr;
33
34 StringProperty m_nameOfSet { this, "NameOfSet", "" };
35 StringProperty m_key { this, "Key", "DSPThresholds" };
36 StringProperty m_mode { this, "mode", "fixed",
37 "Select how to set thresholds. Allowed values are 'fixed','group' and 'noise'" };
38
39 // For mode 'group'
40 StringArrayProperty m_cellGroupStr { this, "ThresholdsPerCellGroup", {} };
41
42 // For mode 'fixed'
43 FloatProperty m_tqThrsh { this, "tQThreshold", 250 };
44 FloatProperty m_samplesThrsh { this, "samplesThreshold", 1000 };
45
46 // For mode 'Noise'
47 FloatProperty m_sigmaNoiseSamples {this, "sigmaNoiseSamples", 0 };
48 FloatProperty m_sigmaNoiseQt {this, "sigmaNoiseQt", 0 };
49 BooleanProperty m_usePileupNoiseSamples {this, "usePileupNoiseSamples", false };
50 BooleanProperty m_usePileupNoiseQt {this, "usePileupNoiseQt", false };
51
52 // For channel masking
53 BooleanProperty m_maskBadChannels { this, "MaskBadChannels", false };
54 FloatProperty m_maskedtqThrsh { this, "MaskedtQThreshold", static_cast<float>(0x7fffffff) };
55 FloatProperty m_maskedsamplesThrsh { this, "MaskedsamplesThreshold", static_cast<float>(0x7fffffff) };
56
57 BooleanProperty m_dump { this, "Dump", false };
58 StringProperty m_outFileName { this, "OutFile", "out.txt" };
59 BooleanProperty m_fill { this, "Fill", true };
60
62 { this, "TotalNoiseKey", "totalNoise", "SG key for total noise" };
64 { this, "ElecNoiseKey", "electronicNoise", "SG key for electronic noise" };
65
68 SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"};
69 Gaudi::Property<std::vector<std::string> > m_problemsToMask{this,"ProblemsToMask",{}, "Bad-Channel categories to mask"};
70 Gaudi::Property<float> m_scaleIW{this,"ScaleIW",0.,"if >0 scale EMEC IW, HEC thresholds with this factor"};
71
72
76
78
80};
81
82#endif
Definition of CaloDetDescrManager.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< float > m_scaleIW
virtual ~LArDSPThresholdFillInline()
SG::ReadCondHandleKey< CaloNoise > m_totalNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
LArBadChannelMask m_bcMask
Handle to bad-channel mask.
Gaudi::Property< std::vector< std::string > > m_problemsToMask
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
virtual StatusCode execute(const EventContext &) const override
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual StatusCode stop() override
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey