ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11#ifndef LARMONITORING_LARCOSMICSMONALG_H
12#define LARMONITORING_LARCOSMICSMONALG_H
13
16
20#include "CaloDetDescr/CaloDetDescrElement.h"
35
36class LArEM_ID;
37class 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
Definition of CaloDetDescrManager.
Definition of CaloDetDescriptor.
CaloPhiRange class declaration.
Header file to be included by clients of the Monitored infrastructure.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
LArBadChannelMask m_bcMask
Handle to bad-channel mask.
Gaudi::Property< std::vector< std::string > > m_SubDet
const LArFCAL_ID * m_LArFCAL_IDHelper
const LArOnlineID * m_LArOnlineIDHelper
SG::ReadHandleKey< LArDigitContainer > m_LArDigitContainerKey
Handle to digits.
const LArHEC_ID * m_LArHEC_IDHelper
Gaudi::Property< std::vector< std::string > > m_problemsToMask
virtual StatusCode fillHistograms(const EventContext &ctx) const override
Called each event.
const LArEM_ID * m_LArEM_IDHelper
Gaudi::Property< float > m_muonADCthreshold_EM_endcap
Gaudi::Property< float > m_muonADCthreshold_EM_barrel
Gaudi::Property< float > m_muonADCthreshold_FCAL
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
SG::ReadCondHandleKey< ILArPedestal > m_larPedestalKey
Handle to pedestal.
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Gaudi::Property< std::string > m_CosmicsMonGroupName
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< float > m_muonADCthreshold_HEC
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()