ATLAS Offline Software
LArCosmicsMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef LARMONITORING_LARCOSMICSMONALG_H
12 #define LARMONITORING_LARCOSMICSMONALG_H
13 
16 
20 #include "CaloDetDescr/CaloDetDescrElement.h"
26 #include "LArRawEvent/LArDigit.h"
35 
36 class LArEM_ID;
37 class LArOnlineID;
38 
39 
40 
41 
43 {
44  public:
45  LArCosmicsMonAlg( const std::string& name, ISvcLocator* pSvcLocator );
46 
48  virtual ~LArCosmicsMonAlg();
49 
51  virtual StatusCode initialize() override;
52 
53 
55  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
56 
57 
58  private:
59 
60  // services
65 
66 
68  SG::ReadHandleKey<LArDigitContainer> m_LArDigitContainerKey{this,"LArDigitContainerKey","FREE","SG key of LArDigitContainer read from Bytestream"};
69 
71  SG::ReadCondHandleKey<ILArPedestal> m_larPedestalKey{this,"LArPedestalKey","LArPedestal","SG key of LArPedestal CDO"};
72 
73  //** Handle to cabling */
74  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "CablingKey", "LArOnOffIdMap","Cabling key"};
75 
78  SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"};
79  Gaudi::Property<std::vector<std::string> > m_problemsToMask{this,"ProblemsToMask",{}, "Bad-Channel categories to mask"};
80 
81  SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey { this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" };
82 
83  //properties
84  Gaudi::Property<float> m_muonADCthreshold_EM_barrel {this, "MuonADCthreshold_EM_barrel", 30};
85  Gaudi::Property<float> m_muonADCthreshold_EM_endcap {this, "MuonADCthreshold_EM_endcap", 40};
86  Gaudi::Property<float> m_muonADCthreshold_HEC {this, "MuonADCthreshold_HEC", 40};
87  Gaudi::Property<float> m_muonADCthreshold_FCAL {this, "MuonADCthreshold_FCAL", 40};
88 
89  Gaudi::Property<std::string> m_CosmicsMonGroupName {this,"CosmicsMonGroupName","CosmicsMon"};
90  Gaudi::Property< std::vector<std::string> > m_SubDet {this, "SubDet", {"EM","HEC","FCal"}};
91 
92 };
93 
94 #endif
LArCosmicsMonAlg::m_SubDet
Gaudi::Property< std::vector< std::string > > m_SubDet
Definition: LArCosmicsMonAlg.h:90
LArCosmicsMonAlg::m_LArOnlineIDHelper
const LArOnlineID * m_LArOnlineIDHelper
Definition: LArCosmicsMonAlg.h:61
LArCosmicsMonAlg::LArCosmicsMonAlg
LArCosmicsMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArCosmicsMonAlg.cxx:27
LArCosmicsMonAlg
Definition: LArCosmicsMonAlg.py:1
LArCosmicsMonAlg::m_LArDigitContainerKey
SG::ReadHandleKey< LArDigitContainer > m_LArDigitContainerKey
Handle to digits.
Definition: LArCosmicsMonAlg.h:68
LArCosmicsMonAlg::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Definition: LArCosmicsMonAlg.h:78
LArCosmicsMonAlg::m_muonADCthreshold_EM_barrel
Gaudi::Property< float > m_muonADCthreshold_EM_barrel
Definition: LArCosmicsMonAlg.h:84
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
LArCosmicsMonAlg::~LArCosmicsMonAlg
virtual ~LArCosmicsMonAlg()
Default destructor.
Definition: LArCosmicsMonAlg.cxx:35
SG::ReadHandleKey< LArDigitContainer >
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
CaloDetDescriptor.h
Definition of CaloDetDescriptor.
LArBadChannelCont.h
LArOnOffIdMapping.h
LArDigit.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
LArCosmicsMonAlg::m_muonADCthreshold_FCAL
Gaudi::Property< float > m_muonADCthreshold_FCAL
Definition: LArCosmicsMonAlg.h:87
LArCosmicsMonAlg::initialize
virtual StatusCode initialize() override
Overwrite dummy method from AlgTool.
Definition: LArCosmicsMonAlg.cxx:41
CaloPhiRange.h
CaloPhiRange class declaration.
LArCosmicsMonAlg::m_bcMask
LArBadChannelMask m_bcMask
Handle to bad-channel mask.
Definition: LArCosmicsMonAlg.h:77
LArCosmicsMonAlg::m_muonADCthreshold_EM_endcap
Gaudi::Property< float > m_muonADCthreshold_EM_endcap
Definition: LArCosmicsMonAlg.h:85
LArCosmicsMonAlg::m_muonADCthreshold_HEC
Gaudi::Property< float > m_muonADCthreshold_HEC
Definition: LArCosmicsMonAlg.h:86
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadCondHandleKey.h
LArRawChannel.h
HWIdentifier.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArOnlineID
Definition: LArOnlineID.h:20
LArDigitContainer.h
LArCosmicsMonAlg::m_problemsToMask
Gaudi::Property< std::vector< std::string > > m_problemsToMask
Definition: LArCosmicsMonAlg.h:79
LArCosmicsMonAlg::m_larPedestalKey
SG::ReadCondHandleKey< ILArPedestal > m_larPedestalKey
Handle to pedestal.
Definition: LArCosmicsMonAlg.h:71
SG::ReadCondHandleKey< ILArPedestal >
LArCosmicsMonAlg::m_LArHEC_IDHelper
const LArHEC_ID * m_LArHEC_IDHelper
Definition: LArCosmicsMonAlg.h:63
ILArPedestal.h
LArCosmicsMonAlg::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArCosmicsMonAlg.h:81
LArCosmicsMonAlg::m_CosmicsMonGroupName
Gaudi::Property< std::string > m_CosmicsMonGroupName
Definition: LArCosmicsMonAlg.h:89
CaloIdManager.h
LArCosmicsMonAlg::m_LArFCAL_IDHelper
const LArFCAL_ID * m_LArFCAL_IDHelper
Definition: LArCosmicsMonAlg.h:64
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
CaloGain.h
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
LArCosmicsMonAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArCosmicsMonAlg.h:74
LArBadChannelMask.h
LArCosmicsMonAlg::m_LArEM_IDHelper
const LArEM_ID * m_LArEM_IDHelper
Definition: LArCosmicsMonAlg.h:62
LArCosmicsMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
Called each event.
Definition: LArCosmicsMonAlg.cxx:88
LArRawChannelContainer.h
LArOnlineID.h
LArBadChannelMask
Definition: LArBadChannelMask.h:18