ATLAS Offline Software
CscRdoValMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CscRdoValMonAlg_H
6 #define CscRdoValMonAlg_H
7 
10 
11 #include "GaudiKernel/ServiceHandle.h"
12 #include "GaudiKernel/ToolHandle.h"
13 
17 
19 {
20 
21 public:
22  CscRdoValMonAlg (const std::string & name, ISvcLocator* pSvcLocator);
23  virtual ~CscRdoValMonAlg() = default;
24  virtual StatusCode initialize() override;
25  virtual StatusCode fillHistograms(const EventContext& ctx) const override;
26 
27 private:
28  Gaudi::Property<size_t> m_cscNoiseCut{this, "cscNoiseCut", 50};
29  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
30  ToolHandle<Muon::ICSC_RDO_Decoder> m_cscRdoDecoderTool{this,"CscRDODecoder","Muon::CscRDO_Decoder","Muon::CscRDO_Decoder"};
31  SG::ReadHandleKey<CscRawDataContainer> m_cscRdoKey{this,"CSCRawDataKey","CSCRDO","CSC RDO"};
32 
33 };
34 
35 #endif
ICSC_RDO_Decoder.h
CscRdoValMonAlg::~CscRdoValMonAlg
virtual ~CscRdoValMonAlg()=default
CscRdoValMonAlg
Definition: CscRdoValMonAlg.h:19
CscRawDataContainer.h
CscRdoValMonAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: CscRdoValMonAlg.h:29
SG::ReadHandleKey< CscRawDataContainer >
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
CscRdoValMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: CscRdoValMonAlg.cxx:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
CscRdoValMonAlg::m_cscRdoDecoderTool
ToolHandle< Muon::ICSC_RDO_Decoder > m_cscRdoDecoderTool
Definition: CscRdoValMonAlg.h:30
CscRdoValMonAlg::m_cscRdoKey
SG::ReadHandleKey< CscRawDataContainer > m_cscRdoKey
Definition: CscRdoValMonAlg.h:31
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CscRdoValMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: CscRdoValMonAlg.cxx:20
CscRdoValMonAlg::m_cscNoiseCut
Gaudi::Property< size_t > m_cscNoiseCut
Definition: CscRdoValMonAlg.h:28
CscRdoValMonAlg::CscRdoValMonAlg
CscRdoValMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CscRdoValMonAlg.cxx:13
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >