ATLAS Offline Software
LArDSPThresholdFillInline.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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 
18 class LArOnlineID;
19 
21  public:
22  LArDSPThresholdFillInline(const std::string& name, ISvcLocator* pSvcLocator);
24  virtual StatusCode initialize() override;
25  virtual StatusCode execute() 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 
33 
34  std::string m_nameOfSet;
35  std::string m_key;
36  std::string m_mode;
37  std::vector<std::string> m_cellGroupStr;
40  float m_sigmaNoiseSamples = 0.0F, m_sigmaNoiseQt = 0.0F;
44  bool m_fill;
45 
47  { this, "TotalNoiseKey", "totalNoise", "SG key for total noise" };
49  { this, "ElecNoiseKey", "electronicNoise", "SG key for electronic noise" };
50 
53  SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"};
54  Gaudi::Property<std::vector<std::string> > m_problemsToMask{this,"ProblemsToMask",{}, "Bad-Channel categories to mask"};
55  Gaudi::Property<float> m_scaleIW{this,"ScaleIW",0.,"if >0 scale EMEC IW and FCAL thresholds with this factor"};
56 
57 
58  enum mode_t{
60  };
61 
63 
65 };
66 
67 #endif
LArDSPThresholdFillInline::m_dump
bool m_dump
Definition: LArDSPThresholdFillInline.h:42
LArDSPThresholdFillInline::m_elecNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
Definition: LArDSPThresholdFillInline.h:49
LArDSPThresholdFillInline::m_problemsToMask
Gaudi::Property< std::vector< std::string > > m_problemsToMask
Definition: LArDSPThresholdFillInline.h:54
LArDSPThresholdFillInline::m_nameOfSet
std::string m_nameOfSet
Definition: LArDSPThresholdFillInline.h:34
LArDSPThresholdFillInline::m_sigmaNoiseSamples
float m_sigmaNoiseSamples
Definition: LArDSPThresholdFillInline.h:40
LArDSPThresholdFillInline::m_tqThrsh
float m_tqThrsh
Definition: LArDSPThresholdFillInline.h:38
LArDSPThresholdFillInline::m_usePileupNoiseSamples
bool m_usePileupNoiseSamples
Definition: LArDSPThresholdFillInline.h:41
LArDSPThresholdFillInline::m_inFileName
std::string m_inFileName
Definition: LArDSPThresholdFillInline.h:43
LArDSPThresholdFillInline::m_mode
std::string m_mode
Definition: LArDSPThresholdFillInline.h:36
LArDSPThresholdFillInline::LArDSPThresholdFillInline
LArDSPThresholdFillInline(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArDSPThresholdFillInline.cxx:25
CaloCellGroupList
Definition: CaloCellGroup.h:59
LArDSPThresholdFillInline::m_scaleIW
Gaudi::Property< float > m_scaleIW
Definition: LArDSPThresholdFillInline.h:55
LArDSPThresholdFillInline::m_workmode
mode_t m_workmode
Definition: LArDSPThresholdFillInline.h:62
LArDSPThresholdFillInline::~LArDSPThresholdFillInline
virtual ~LArDSPThresholdFillInline()
Definition: LArDSPThresholdFillInline.cxx:60
LArDSPThresholdFillInline::m_outFileName
std::string m_outFileName
Definition: LArDSPThresholdFillInline.h:43
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
AthAlgorithm.h
LArBadChannelCont.h
LArDSPThresholdFillInline::stop
virtual StatusCode stop() override
Definition: LArDSPThresholdFillInline.cxx:117
LArOnOffIdMapping.h
LArDSPThresholdFillInline::m_fill
bool m_fill
Definition: LArDSPThresholdFillInline.h:44
LArDSPThresholdFillInline::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArDSPThresholdFillInline.h:30
LArDSPThresholdFillInline
Definition: LArDSPThresholdFillInline.h:20
LArDSPThresholdFillInline::m_maskBadChannels
bool m_maskBadChannels
Definition: LArDSPThresholdFillInline.h:42
LArDSPThresholdFillInline::NOISE
@ NOISE
Definition: LArDSPThresholdFillInline.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArDSPThresholdFillInline::m_key
std::string m_key
Definition: LArDSPThresholdFillInline.h:35
LArDSPThresholdFillInline::mode_t
mode_t
Definition: LArDSPThresholdFillInline.h:58
LArDSPThresholdFillInline::m_sigmaNoiseQt
float m_sigmaNoiseQt
Definition: LArDSPThresholdFillInline.h:40
LArDSPThresholdFillInline::execute
virtual StatusCode execute() override
Definition: LArDSPThresholdFillInline.h:25
LArDSPThresholdFillInline::m_samplesThrsh
float m_samplesThrsh
Definition: LArDSPThresholdFillInline.h:38
LArDSPThresholdFillInline::GROUP
@ GROUP
Definition: LArDSPThresholdFillInline.h:59
AthAlgorithm
Definition: AthAlgorithm.h:47
LArDSPThresholdFillInline::m_maskedsamplesThrsh
float m_maskedsamplesThrsh
Definition: LArDSPThresholdFillInline.h:39
ReadCondHandleKey.h
LArDSPThresholdFillInline::m_cellGroupStr
std::vector< std::string > m_cellGroupStr
Definition: LArDSPThresholdFillInline.h:37
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloNoise.h
LArDSPThresholdFillInline::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Definition: LArDSPThresholdFillInline.h:53
LArOnlineID
Definition: LArOnlineID.h:20
SG::ReadCondHandleKey< LArOnOffIdMapping >
CaloCellGroup.h
LArDSPThresholdFillInline::initialize
virtual StatusCode initialize() override
Definition: LArDSPThresholdFillInline.cxx:63
LArDSPThresholdFillInline::m_bcMask
LArBadChannelMask m_bcMask
Handle to bad-channel mask.
Definition: LArDSPThresholdFillInline.h:52
LArDSPThresholdFillInline::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArDSPThresholdFillInline.h:29
LArDSPThresholdFillInline::m_thrPerCell
CaloCellGroupList m_thrPerCell
Definition: LArDSPThresholdFillInline.h:64
LArDSPThresholdFillInline::FIXED
@ FIXED
Definition: LArDSPThresholdFillInline.h:59
LArDSPThresholdFillInline::m_maskedtqThrsh
float m_maskedtqThrsh
Definition: LArDSPThresholdFillInline.h:39
LArBadChannelMask.h
LArDSPThresholdFillInline::m_usePileupNoiseQt
bool m_usePileupNoiseQt
Definition: LArDSPThresholdFillInline.h:41
LArDSPThresholdFillInline::m_totalNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_totalNoiseKey
Definition: LArDSPThresholdFillInline.h:47
LArBadChannelMask
Definition: LArBadChannelMask.h:18
LArDSPThresholdFillInline::m_onlineID
const LArOnlineID * m_onlineID
Definition: LArDSPThresholdFillInline.h:32